The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Kronecker.length
mir
ndslice
ndfield
Kronecker
struct
Kronecker
(alias fun, NdFields...)
scope const @
property
size_t
length
(
size_t
d
= 0
)
(
)
if
(
NdFields.length
> 1 &&
allSatisfy
!(
templateOr
!(
hasShape
,
hasLength
),
NdFields
[1..$])
)
Meta
Source
See Implementation
mir
ndslice
ndfield
Kronecker
functions
elementCount
length
lightConst
lightImmutable
opIndex
shape
variables
_fields