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

◆ Shaper() [2/3]

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

First dimension is defined by constructor.

Definition at line 81 of file shaper.h.

References AFF_assert, Mfirst, Mlast, and Mmaxlast.

81  :
82  Mfirst(1), Mlast(1), Mmaxlast(1), Mdim(1)
83  {
84  AFF_assert((last>=first), "ERROR (shaper): invalid index range");
85  Mfirst[0]=first;
86  Mlast[0]=last;
87  Mmaxlast[0]=last;
88  }
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