#include <nmatrixfield.h>
Inheritance diagram for regina::NMatrixField< T >:
Public Member Functions | |
NMatrixField (unsigned long rows, unsigned long cols) | |
Creates a new matrix of the given size. | |
NMatrixField (const NMatrix< T > &cloneMe) | |
Creates a new matrix that is a clone of the given matrix. | |
void | divRow (unsigned long row, T factor) |
Divides the given row by the given factor. | |
void | divCol (unsigned long column, T factor) |
Divides the given column by the given factor. | |
NMatrixField< T > * | diagonaliseRow () |
Diagonalises this matrix by applying only row operations. |
=
) operator.
An element t of type T can be written to an output stream out using the standard expression out << t
.
Type T provides binary operators +
, -
, *
and /
and unary operators +=
, *=
and /=
.
|
Creates a new matrix of the given size. All entries will be initialised using their default constructors.
|
|
Creates a new matrix that is a clone of the given matrix.
|
|
Diagonalises this matrix by applying only row operations. This matrix will be changed directly. Details of how the diagonalisation was done will be returned. Note that this matrix need not be invertible and need not even be square.
|
|
Divides the given column by the given factor. Note that factor is passed by value in case it is an element of the row to be changed.
|
|
Divides the given row by the given factor. Note that factor is passed by value in case it is an element of the row to be changed.
|