The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Cartesian
mir
ndslice
ndfield
struct
Cartesian (
NdFields
...
)
if
(
NdFields
.
length
> 1
) {
NdFields
_fields
;
auto
lightConst
();
auto
lightImmutable
();
size_t
length
();
size_t
[
N
]
shape
();
size_t
elementCount
();
auto
opIndex
(size_t[N] indices);
}
Members
Functions
elementCount
size_t
elementCount
()
length
size_t
length
()
lightConst
auto
lightConst
()
lightImmutable
auto
lightImmutable
()
opIndex
auto
opIndex
(size_t[N] indices)
shape
size_t
[
N
]
shape
()
Variables
_fields
NdFields
_fields
;
Meta
Source
See Implementation
mir
ndslice
ndfield
structs
Cartesian
Kronecker