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

◆ Series() [4/6]

template<class T>
aff::Series< T >::Series ( const Tshape shape)
inline

construct from shape

Definition at line 328 of file series.h.

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

329  {
330  Tshape newshape(shape.first(), shape.last(), 0);
331  Mrepresentation=Trepresentation(newshape.memory_size());
332  this->Tbase::operator=(Tbase(newshape, Mrepresentation));
333  }
const Tshape & shape() const
provide access to const shape
Definition: series.h:241
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: