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

◆ operator()() [1/3]

Shaper& aff::Shaper::operator() ( const Tsubscript last)
inline

Other dimensions are defined by bracket operator.

Definition at line 101 of file shaper.h.

References AFF_assert, check_dim(), Mdim, Mfirst, Mlast, and Mmaxlast.

102  {
103  AFF_assert((last>=1), "ERROR (shaper): invalid limit");
104  check_dim();
105  Mfirst[Mdim]=1;
106  Mlast[Mdim]=last;
107  Mmaxlast[Mdim]=last;
108  Mdim++;
109  return(*this);
110  }
void check_dim() const
check dimensions
Definition: shaper.h:144
Tdim Mdim
next dimension to set
Definition: shaper.h:152
Tshape::TIndexVec Mfirst
limits
Definition: shaper.h:150
#define AFF_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:162
Tshape::TIndexVec Mmaxlast
Definition: shaper.h:150
Tshape::TIndexVec Mlast
Definition: shaper.h:150
Here is the call graph for this function: