mir-algorithm — Libmir Archive
Libmir Archive
API Reference Index
mir-algorithm Guide
Dlang.org
Cartesian.elementCount
mir
ndslice
ndfield
Cartesian
Returns the total number of elements in the Cartesian product of the provided ndfields.
struct
Cartesian
(NdFields...)
@
safe
scope const @
property
size_t
elementCount
()
(
)
if
(
NdFields.length
> 1
)
mir
ndslice
ndfield
Cartesian
functions
elementCount
length
lightConst
lightImmutable
opIndex
shape
variables
_fields
Returns the total number of elements in the Cartesian product of the provided ndfields.