AFF --- A container for numbers (array) by Friederich and Forbriger.

◆ tolast()

StridedStepper& aff::util::StridedStepper::tolast ( )
inline

set current element index to the last - return reference to itself

Definition at line 104 of file stridedstepper.h.

References aff::Strided::last(), aff::Strided::last_offset(), Mcurrent, Mindex, Mshape, and Mvalid.

Referenced by steppers().

105  {
106  Mindex=Mshape.last();
108  Mvalid=true;
109  return(*this);
110  }
Tsubscript Mcurrent
hold current position offset to memory
Tsubscript last_offset() const
last mapped position
Definition: strided.h:191
TIndexVec Mindex
hold current index vector
const Tshape & Mshape
hold reference to shape
const Tsubscript & last(const Tsubscript &i) const
last index of dimension
Definition: strided.h:197
Here is the call graph for this function:
Here is the caller graph for this function: