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

◆ Shaper() [1/3]

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

First dimension is defined by constructor.

Definition at line 72 of file shaper.h.

References AFF_assert, Mfirst, Mlast, and Mmaxlast.

72  :
73  Mfirst(1), Mlast(1), Mmaxlast(1), Mdim(1)
74  {
75  AFF_assert((last>=1), "ERROR (shaper): invalid limit");
76  Mfirst[0]=1;
77  Mlast[0]=last;
78  Mmaxlast[0]=last;
79  }
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