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

Basic array moduleBy including aff/array.h you will get access to the following modules: More...

Classes

class  aff::ConstArray< T >
 Array base classThis is a multidimensional (array) container that uses a strided memory layout (Fortran shape) and counted references to data in global memory. For examples see the various test programs. More...
 
class  aff::Array< T >
 Full multi-dimensional array functionality.This is the full array class template. It adds no additional functionality to its base class aff::ConstArray. But it provied acess to all member functions of the base, also to functions that allow data modification. More...
 
#define AFF_OPERATORS_CLASS   aff::Array
 Array operators are defined through the macro mechanism in operators.h and Container operators. More...
 
#define AFF_OPERATORS_CONSTCLASS   aff::ConstArray
 Array operators are defined through the macro mechanism in operators.h and Container operators. More...
 

Detailed Description

Basic array module

By including aff/array.h you will get access to the following modules:

  1. aff::Array is the main array interface (see example tests/arraytest.cc).
  2. aff::Strided is the shape of a strided Fortran array and defines the memory layout of aff::Array objects (see example tests/shapetest.cc).
  3. aff::SharedHeap is the representation used by aff::Array. It holds the data in memory and provides an interface to it. This interface may be passed separately from the array object (see also The concept of represented memory and example tests/reprtest.cc).
  4. aff::SimpleRigidArray is a linear array with size fixed at compile-time. There are several inline functions defined for operations with this array class (see example tests/simplearraytest.cc).
  5. aff::Exception is the exception base class used in the library.
  6. aff::AllocException is the exception that indicated a failed memory allocation(see also Error handling module).

It additionally offers the following type definitions:

  1. aff::Tsubscript is the type of subscripts to arrays (positive and negative).
  2. aff::Tsize is the type of size values (non-negative).
  3. aff::Tdim is the type of the dimension index (small, non-negative).

Helpers are available in Extensions for array module.

Todo:

Place ingroup definitions in source code

Provide additional groups for Series and SimpleRigidArray