Hence this class is suited as a general matrix class for various objects. Several constructors are available. The constructor without parameters allocates no memory. Another constructor takes the number of rows and columns in the matrix as parameters and allocates memory for the corresponding matrix representation. Finally, a copy-constructor is available.
Most member functions are self-explanatory.
New member functions are described below. The function assumes that the base of the rows and columns are 1. A few additional examples on matrix formats are given here. Example of a data file with much additional information such as indices for each matrix entry. This file is in ascii format.