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

◆ Strided() [2/4]

aff::Strided::Strided ( const TSizeVec sizes,
const Tsubscript first = 1,
const Tsubscript shift = 0 
)
inlineexplicit

construct do given size and first index

Parameters
sizesvector defining index range size for each dimension
firstdefines first index for each dimension
shiftdefines offset shift (i.e. first element accessed in memory representation)

Definition at line 146 of file strided.h.

References first(), setup_from_size(), and shift().

148  { setup_from_size(sizes, first, shift); }
const TIndexVec & first() const
return vector of first index values
Definition: strided.h:206
void setup_from_size(const TSizeVec &size, const Tsubscript &first=1, const Tsubscript &shift=0)
setup to given size and first index
Definition: strided.cc:75
Strided & shift(const Tdim &i, const Tsubscript &index)
shift
Definition: strided.cc:250
Here is the call graph for this function: