Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members
Array.h File Reference
Barebones array classes in dimension 1,2,3. Provides subscripting from arbitrary index base to enable indexing with indices which are natural for the intended application. If denotes the size of the array in dimension j then indexing from base means that the subscripting operator uses indices
in dimension j. The array elements are of type S and the default constructor for S is used to determine the size of these elements. On construction the array elements are initialized with the integer 0. Consequently 0 must be convertible to type S. This is useful if the array is populated with pointers where 0 signifies the null pointer.
To turn on subscript checking for out of range error #define SUBSCRIPT_CHECK. Note that this can slow down code using subscripting in innermost nested loops by a factor of ten or more.
|S ||type of array elements.|
Definition in file Array.h.
Go to the source code of this file.
| typedef Array1D<unsigned long> UnsignedLongArray1D
| typedef Array2D<unsigned long> UnsignedLongArray2D
Generated on Mon Sep 22 02:16:32 2003 for Libor-Library by