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

◆ operator()() [3/3]

template<class C >
Subarray& aff::util::Subarray< C >::operator() ( const Tsubscript first,
const Tsubscript last 
)
inline

set first and last index of this dimension

Definition at line 112 of file subarray.h.

References aff::util::Subarray< C >::check_dim(), aff::util::Subarray< C >::Mdim, and aff::util::Subarray< C >::Mshape.

114  {
115  this->check_dim();
116  Mshape.shrink(Mdim, first, last);
117  ++Mdim;
118  return(*this);
119  }
Tshape Mshape
Shape to process.
Definition: subarray.h:142
Tdim Mdim
Dimension to specify.
Definition: subarray.h:146
void check_dim() const
check dimensions
Definition: subarray.h:136
Here is the call graph for this function: