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

◆ Series() [2/6]

template<class T>
aff::Series< T >::Series ( const Tsize size)
inline

construct for a given size

Definition at line 314 of file series.h.

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

315  {
316  Tshape newshape(0, size-1, 0);
317  Mrepresentation=Trepresentation(newshape.memory_size());
318  Tbase::operator=(Tbase(newshape, Mrepresentation));
319  }
aff::LinearShape Tshape
Type of shape.
Definition: series.h:279
aff::SharedHeap< T > Trepresentation
Type of representation.
Definition: series.h:283
Tsize size() const
by size we mean the size defined by the shape
Definition: linearshape.h:113
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
Here is the call graph for this function: