The OpenD Programming Language

strided.strided

  1. auto strided(Slice!(Iterator, N, kind) _slice, Repeat!(Dimensions.length, ptrdiff_t) factors)
    template strided(Dimensions...)
    static if(allSatisfy!(isSize_t, Dimensions))
    strided
    (
    Iterator
    size_t N
    SliceKind kind
    )
    (
    Slice!(Iterator, N, kind) _slice
    ,
    Repeat!(Dimensions.length, ptrdiff_t) factors
    )
    if (
    Dimensions.length
    )
  2. auto strided(Slice!(Iterator, N, kind) slice, ptrdiff_t factor)
  3. 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