Matrix Example
As the next example shows, using matrices is no more complicated than using vectors. Here we use class
RWGenMat<T> to define and print out the matrix
A:
#include <rw/math/genmat.h> // 1
#include <iostream.h>
int main()
{
RWGenMat<float> A("2x3[1 2 3 4 5 6]"); // 2
A(1,1) = 0; // 3
cout << A; // 4
}