matrixops.h File Reference

Provides various complex matrix calculations. More...

#include "maths/nmatrixint.h"
#include <vector>

Namespaces

namespace  regina

Functions

void regina::smithNormalForm (NMatrixInt &matrix)
 Transforms the given integer matrix into Smith normal form.
void regina::smithNormalForm (NMatrixInt &matrix, NMatrixInt &rowSpaceBasis, NMatrixInt &rowSpaceBasisInv, NMatrixInt &colSpaceBasis, NMatrixInt &colSpaceBasisInv)
 A Smith normal form algorithm that also returns change of basis matrices.
void regina::columnEchelonForm (NMatrixInt &M, NMatrixInt &R, NMatrixInt &Ri, const std::vector< unsigned > &rowList)
 Transforms a given matrix into column echelon form with respect to a collection of rows.
std::auto_ptr< NMatrixInt > regina::preImageOfLattice (const NMatrixInt &hom, const std::vector< NLargeInteger > &sublattice)
 Given a homomorphism from Z^n to Z^k and a sublattice of Z^k, compute the preimage of this sublattice under this homomorphism.


Detailed Description

Provides various complex matrix calculations.

Todo:
Feature (long-term): Add a routine to find the rank of an integer matrix; use this to show the rank of the matching equations.

Copyright © 1999-2008, Ben Burton
This software is released under the GNU General Public License.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).