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

◆ operator()() [2/3]

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

set last index of this dimension

Definition at line 104 of file subarray.h.

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

105  {
106  this->check_dim();
107  Mshape.shrink(Mdim, last);
108  ++Mdim;
109  return(*this);
110  }
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: