Convenience class - a Direct Product array which uses linear expressions for each index dimension. More...
#include <DirectProductArray.hpp>
Convenience class - a Direct Product array which uses linear expressions for each index dimension.
It can be set up via convenient constructors as demonstrated in the following code segment, defining a 3D array starting at (1,1,1) with a spacing of (.1,.2,3) on 30x20x10 points:
MemCore::Ref<LinearDirectProductMemArray<Eagle::point3> > P( MIndex(30,20,10), Eagle::point3(1,1,1), Eagle::point3(.1,.2,.3);
Fiber::LinearDirectProductMemArray< T, DeltaT, MDIMS >::LinearDirectProductMemArray | ( | const index_t | dims[MDIMS], | |
const T & | base, | |||
const DeltaT & | delta, | |||
const MemBase::Creator_t & | C = MemCore::NullPtr() | |||
) | [inline] |
Constructor, initializes the Components members.
dims The dimensionality of the array base The origin of the data values delta The spacing of the data values