AFF --- A container for numbers (array) by Friederich and Forbriger.
HOWTO use this library

Contents of this page:

Constructing arrays

Arrays are most easy constructed by means of the aff::Shaper. If you want e.g. define an array A of element type int with Fortran layout, three dimensions and the index ranges [-2:2], [1:4], and [6:10] you have to code

using namespace aff;
Array<int> A(Shaper(-2,2)(4)(6,10));

The shaper is presented in aff/shaper.h.

Example code

Specific usage examples:

  • examples/arraytest.cc

The test programs may serve as examples for using this library:

Todo:
We need more text and examples.