create a series container from an array container.
57 typename Tarray::Tshape shape(array.
shape());
59 "ERROR: array is not suitable to be converted to series");
60 typename Tseries::Trepresentation representation=array.
representation();
61 typename Tseries::Tshape seriesshape(shape.first(0),
63 shape.first_offset());
64 Tseries retval(seriesshape, representation);
const Trepresentation & representation() const
return full access representation
bool is_dense_1D_array(const aff::Strided &shape)
check whether array shape describes a 1D array with dense layout in the memory.
#define AFF_assert(C, M)
Check an assertion and report by throwing an exception.
Full multi-dimensional array functionality.This is the full array class template. It adds no addition...
A base class for time series and spectra.
const Tshape & shape() const
provide access to const shape