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

Extensions for array moduleThe library provides some additional modules. You need only include the header file of those modules that you really want to use in addition to the basic aff::Array functionality. These additional modules are: More...

Functions

template<class T >
aff::Series< T > aff::series_from_array (const aff::Array< T > &array)
 create a series container from an array container. More...
 
template<class T >
aff::ConstSeries< T > aff::series_from_array (const aff::ConstArray< T > &array)
 create a series container from an array container. More...
 
template<class T >
aff::Array< T > aff::array_from_series (const aff::Series< T > &array)
 create an array container from a series container. More...
 
template<class T >
aff::ConstArray< T > aff::array_from_series (const aff::ConstSeries< T > &array)
 create an array container from a series container. More...
 
bool aff::util::is_dense_1D_array (const aff::Strided &shape)
 check whether array shape describes a 1D array with dense layout in the memory. More...
 

Detailed Description

Extensions for array module

The library provides some additional modules. You need only include the header file of those modules that you really want to use in addition to the basic aff::Array functionality. These additional modules are:

  1. aff::Shaper presented in aff/shaper.h and used to pass Fortran layouts to array constructors (see example tests/shapetest.cc).
  2. aff::Series presented in aff/series.h which is used to interface linear sequences of data (like time series or Fourier coefficients).
  3. aff::Iterator presented in aff/iterator.h which is an iterator interface to containers like aff::Array or aff::Series (see example tests/helpertest.cc).
  4. aff::subarray presented in aff/subarray.h to conveniently create subarrays from aff::Array objects (see example tests/helpertest.cc).
  5. aff::slice presented in aff/slice.h to conveniently create slices from aff::Array objects (see example tests/helpertest.cc).
  6. aff::FortranArray and its associate aff::util::FortranShape are presented in aff/fortranshape.h. They calculate a Fortran 77 array layout (leading dimensions) from a given AFF array (see example tests/f77test.cc).
  7. aff::dump and its associates, presented in aff/dump.h. They are used to dump shape or contents of containers and are thus useful when debugging your code. See also Debug functions.
See also
Namespaces
Filenames
Todo:
Place ingroup definitions in source code