mir-core — Libmir Archive
← Libmir Archive
Dlang.org
shape
mir
primitives
@
property
@
optmath
auto
shape
(
Range
)
(
scope
const
auto
ref
Range
range
)
if
(
hasLength
!
Range
||
hasShape
!
Range
)
Examples
static
assert
([
2
,
2
,
2
].
shape
== [
3
]);
mir
primitives
functions
anyEmpty
back
elementCount
empty
front
length
popBack
popBackExactly
popBackN
popFront
popFrontExactly
popFrontN
save
shape
walkLength
templates
DeepElementType
DimensionCount
ElementType
isInfinite
variables
hasLength
hasShape
isInputRange
isOutputRange