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

◆ tofirst()

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

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

Definition at line 96 of file stridedstepper.h.

References aff::Strided::first(), aff::Strided::first_offset(), Mcurrent, Mindex, Mshape, and Mvalid.

Referenced by aff::Array< T >::operator=().

97  {
100  Mvalid=true;
101  return(*this);
102  }
Tsubscript Mcurrent
hold current position offset to memory
const Tsubscript & first(const Tsubscript &i) const
first index of dimension
Definition: strided.h:194
TIndexVec Mindex
hold current index vector
Tsubscript first_offset() const
first mapped position
Definition: strided.h:188
const Tshape & Mshape
hold reference to shape
Here is the call graph for this function:
Here is the caller graph for this function: