mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
Kronecker
mir
ndslice
ndfield
struct
Kronecker (
alias
fun
NdFields
...
)
if
(
NdFields
.
length
> 1 &&
allSatisfy
!(
templateOr
!(
hasShape
,
hasLength
),
NdFields
[1..$])
) {
NdFields
_fields
;
auto
lightConst
();
auto
lightImmutable
();
size_t
length
();
size_t
[
N
]
shape
();
size_t
elementCount
();
auto ref
opIndex
(size_t[N] indices);
}
Members
Functions
elementCount
size_t
elementCount
()
length
size_t
length
()
lightConst
auto
lightConst
()
lightImmutable
auto
lightImmutable
()
opIndex
auto ref
opIndex
(size_t[N] indices)
shape
size_t
[
N
]
shape
()
Variables
_fields
NdFields
_fields
;
Meta
Source
See Implementation
mir
ndslice
ndfield
structs
Cartesian
Kronecker