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

◆ offset() [1/5]

Tsubscript aff::Strided::offset ( const TIndexVec index) const
inline

full dimensionality access

Definition at line 220 of file strided.h.

Referenced by calculate_base(), collapse(), aff::anonymous_namespace{dump.cc}::dump_map_helper(), first_offset(), last_offset(), aff::ConstArray< T >::operator()(), aff::Array< T >::operator()(), shift(), and shrink().

221  { return(inline_innerproduct(index,Mstride)+Mbase[Mmax_dimen-1]); }
TIndexVec Mbase
Definition: strided.h:289
static const Tdim Mmax_dimen
instantiate static member (otherwise the linker won&#39;t find it)
Definition: strided.h:123
TSizeVec Mstride
Definition: strided.h:286
T inline_innerproduct(const SimpleRigidArray< T, N > &A, const SimpleRigidArray< T, N > &B)
Returns inner product.
Definition: simplearray.h:206
Here is the caller graph for this function: