Go to the previous, next section.

Matrices for Linear Algebra

The matrix class contains two matrices of type fract_matrix: one to store the elements of the matrix, and the other to store the LU decomposition of the matrix. The fract_matrix objects are represented as array of fract_vectors, where each vector stores a column of the matrix. Since the methods for the fract_matrix class are a proper subset of the methods available in matrix class, we only describe the matrix class here. Also, many of the operations implemented for the matrix and fract_matrix classes are also provided in the integer_matrix class. See section Matrix Library.

Go to the previous, next section.