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

◆ Series() [3/6]

template<class T>
aff::Series< T >::Series ( const Tsubscript first,
const Tsubscript last 
)
inline

construct from index range limits

Definition at line 321 of file series.h.

References aff::LinearShape::first(), aff::LinearShape::last(), aff::LinearShape::memory_size(), and aff::Series< T >::Mrepresentation.

322  {
323  Tshape newshape(first, last, 0);
324  Mrepresentation=Trepresentation(newshape.memory_size());
325  Tbase::operator=(Tbase(newshape, Mrepresentation));
326  }
aff::LinearShape Tshape
Type of shape.
Definition: series.h:279
aff::SharedHeap< T > Trepresentation
Type of representation.
Definition: series.h:283
const Tsubscript & first() const
return first legal index
Definition: linearshape.h:105
ConstSeries< T > Tbase
base is container of const (see specialization below)
Definition: series.h:275
Trepresentation Mrepresentation
my (mutable) memory representation
Definition: series.h:393
const Tsubscript & last() const
return last legal index
Definition: linearshape.h:107
Here is the call graph for this function: