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

◆ pointer()

template<class T>
const T* aff::ConstSeries< T >::pointer ( ) const
inline

pointer to first element

The shape guarantees that the memory layout is dense. This means that the elements of a series can be accessed like a C-style array through a pointer to the first element of the series. For this reason it is appropriate to provide direct access to the underlying memory block.

Definition at line 188 of file series.h.

References aff::LinearShape::first(), and aff::ConstSeries< T >::operator()().

189  { return &this->operator()(this->first()); }
const Tsubscript & first() const
return first legal index
Definition: linearshape.h:105
const T & operator()(const Tsubscript &i) const
Data read access.
Definition: series.h:177
Here is the call graph for this function: