An Array Example
Finally, here is an example showing how to use the array class to define and print a three-dimensional array of integers:
#include <rw/math/mtharray.h> // 1
#include <iostream.h>
int main()
{
RWMathArray<int> A; // 2
A.resize(3,3,3); // 3
A = 3; // 4
A(1,1,1) = 0; // 5
cout << A; // 6
}