The per-axis atom counts and their product – the number of rows a fully dense realisation would have.
product_size(x)A ScaleProduct.
A list with axes (named integer, atoms per axis) and total
(double, their product).
product_size(scale_product(a = scale_example(), b = scale_example2()))
#> $axes
#> a b
#> 7 4
#>
#> $total
#> [1] 28
#>