#include <Array.h>
S | type of array elements. |
Definition at line 300 of file Array.h.
Public Member Functions | |
int | getIndexBase (int j) const |
int | getSize (int j) const |
Array2D (int n_1, int n_2, int b_1=0, int b_2=0) | |
~Array2D () | |
const S & | operator() (int i, int j) const |
S & | operator() (int i, int j) |
S * | operator[] (int i) |
std::ostream & | printSelf (std::ostream &os) const |
Protected Attributes | |
int | b1 |
int | b2 |
int | n1 |
int | n2 |
S ** | dptr |
|
|
|
|
|
Index base in dimension j. |
|
Number of array elements in dimension j. |
|
Subscripting with indices based on the index bases. |
|
Subscripting with indices based on the index bases. |
|
Pointer to row i. This allows subscripting as X[i][j] with absolute (zero based) indices i,j. |
|
|
|
Index bases in dimension 1,2,3 |
|
Index bases in dimension 1,2,3 |
|
Number of elements in dimension 1,2,3. |
|
Number of elements in dimension 1,2,3. |
|
Data array. |