Public Types | Public Member Functions

Fiber::LinearArray< T > Class Template Reference
[Multidimensional arrays whose values are direct products.]

A one-dimensional polynomial array of first order, i.e. More...

#include <DirectProductArray.hpp>

List of all members.

Public Types

Public Member Functions


Detailed Description

template<class T>
class Fiber::LinearArray< T >

A one-dimensional polynomial array of first order, i.e.

the coordinate expression is linear.

Examples:

uniform_scalar.cpp.


Constructor & Destructor Documentation

template<class T>
Fiber::LinearArray< T >::LinearArray ( const T &  C0,
const T &  C1,
index_t  max_idx,
const MemBase::Creator_t C 
) [inline]

Create a procedural array of aequidistant values.

To create an LinearArray<double> going from a=-3.4 to b=5.6 in a resolution of r=15 steps:

           LinearArray<double> foo(a, (b-a)/(r-1), r);