StaticArray2d#
-
template<int i0, int i1, int j0, int j1>
struct StaticArray2d# Simple templated struct for creating a 2-dimensional array with (optionally) non-zero lower bounds.
The bounds are determined at compile-time
Example:
StaticArray2d<-1, 1, -2, 2> array2d; array2d(1, -2) = 2.0;
- Template Parameters:
i0, i1 – Lower and upper bounds of the 1st dimension
j0, j1 – Lower and upper bounds of the 2nd dimension