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

◆ setfirstindex()

template<class T>
void aff::LinearShape::setfirstindex
inlineinherited

set first index to first

Definition at line 145 of file linearshape.h.

146  {
147  AFF_assert(((first>=Mfirst)&&(first<=Mlast)),
148  "ERROR (LinearShape::setfirstindex): index value out of range");
149  Mfirst=first;
150  }
#define AFF_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:162
const Tsubscript & first() const
return first legal index
Definition: linearshape.h:105
Tsubscript Mlast
last valid index
Definition: linearshape.h:167
Tsubscript Mfirst
first valid index
Definition: linearshape.h:166