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

◆ LinearShape() [2/2]

aff::LinearShape::LinearShape ( const Tsubscript first,
const Tsubscript last,
const Tsubscript firstinrepr 
)
inline

constructor to use for full definition

Definition at line 96 of file linearshape.h.

References AFF_assert, and size().

98  :
99  Mfirst(first), Mlast(last), Mbase(first-firstinrepr)
100  {
101  AFF_assert((this->size()>=0),
102  "ERROR (LinearShape): inconsistent constructor arguments");
103  }
#define AFF_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:162
Tsize size() const
by size we mean the size defined by the shape
Definition: linearshape.h:113
const Tsubscript & first() const
return first legal index
Definition: linearshape.h:105
Tsize Mbase
base for access to representation
Definition: linearshape.h:168
Tsubscript Mlast
last valid index
Definition: linearshape.h:167
Tsubscript Mfirst
first valid index
Definition: linearshape.h:166
const Tsubscript & last() const
return last legal index
Definition: linearshape.h:107
Here is the call graph for this function: