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

◆ Series() [6/6]

template<class T>
aff::Series< T >::Series ( const Trepresentation representation,
const Tsubscript shift = 0 
)
inline

construct from representation

Definition at line 340 of file series.h.

References aff::Series< T >::Mrepresentation, aff::Series< T >::representation(), aff::LinearShape::shift(), and aff::SharedHeap< T >::size().

342  {
343  Tshape newshape(shift, shift+representation.size()-1, 0);
345  Tbase::operator=(Tbase(newshape, Mrepresentation));
346  }
aff::LinearShape Tshape
Type of shape.
Definition: series.h:279
const Trepresentation & representation() const
expose representation
Definition: series.h:388
void shift(const Tsubscript &i)
shift effective index range by i
Definition: linearshape.h:159
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 Tsize & size() const
access to base class function
Definition: sharedheap.h:179
Here is the call graph for this function: