mir-core ~master (2021-10-18T16:44:50Z)
Dub
Repo
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
]);
Meta
Source
See Implementation
mir
primitives
aliases
elementsCount
functions
anyEmpty
anyEmptyShape
back
elementCount
empty
front
length
popBack
popBackExactly
popBackN
popFront
popFrontExactly
popFrontN
save
shape
walkLength
templates
DeepElementType
DimensionCount
ElementType
isInfinite
variables
hasLength
hasShape
isInputRange
isOutputRange