decrement offset - return reference to itself
previous position
Definition at line 91 of file stridedstepper.cc.
References aff::Strided::first(), aff::Strided::last(), less(), Mcarry, Mcurrent, Mindex, aff::Strided::Mmax_dimen, Mshape, Mvalid, and aff::Strided::stride().
Referenced by steppers().
Tsubscript Mcurrent
hold current position offset to memory
const Tsubscript & first(const Tsubscript &i) const
first index of dimension
const Tsize & stride(const Tsubscript &i) const
stride of dimension
static const Tdim Mmax_dimen
instantiate static member (otherwise the linker won't find it)
TIndexVec Mindex
hold current index vector
TSizeVec Mcarry
hold carry values
ptrdiff_t Tsubscript
Type to hold an array's subscript value.
bool less() const
returns true if there are more elements in decr-direction
const Tshape & Mshape
hold reference to shape
const Tsubscript & last(const Tsubscript &i) const
last index of dimension