The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
strided.strided
mir
ndslice
dynamic
strided
auto
strided
(Slice!(Iterator, N, kind) _slice, Repeat!(Dimensions.length, ptrdiff_t) factors)
template
strided
(Dimensions...)
@
fmamath
static if
(
allSatisfy!(isSize_t, Dimensions)
)
@
fmamath
auto
strided
(
Iterator
size_t
N
SliceKind
kind
)
(
Slice
!(
Iterator
,
N
,
kind
)
_slice
,
Repeat
!(
Dimensions.length
,
ptrdiff_t
)
factors
)
if
(
Dimensions.length
)
auto
strided
(Slice!(Iterator, N, kind) slice, ptrdiff_t factor)
Slice
!(
Iterator
,
N
,
Universal
)
strided
(Slice!(Iterator, N, kind) _slice, size_t dimension, ptrdiff_t factor)
Parameters
_slice
Slice
!(
Iterator
,
N
,
kind
)
input slice
factors
Repeat
!(
Dimensions
.
length
,
ptrdiff_t
)
list of step extension factors
Meta
Source
See Implementation
mir
ndslice
dynamic
strided
functions
strided