Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SmithNormalForm Class Reference

#include <SmithNormalForm.h>

List of all members.

Public Methods

 SmithNormalForm (Integer **theMatrix, int rows, int cols)
bool continueComputation ()
int getTorsionFreeRank () const
VectorOf<Integer> getTorsionInvariants () const

Private Methods

Integer abs (const Integer &a) const
Integer sign (const Integer &a) const
Integer GCD (Integer a, Integer b) const

Private Attributes

Integer** matrix
int height
int width
VectorOf<Integer> theInvariants
int rankOfFreePart
int i
int j
VectorOf<Integer> resultTemp
bool done


Constructor & Destructor Documentation

SmithNormalForm::SmithNormalForm ( Integer ** theMatrix,
int rows,
int cols )
 


Member Function Documentation

bool SmithNormalForm::continueComputation ( )
 

int SmithNormalForm::getTorsionFreeRank ( ) const
 

VectorOf<Integer> SmithNormalForm::getTorsionInvariants ( ) const
 

Integer SmithNormalForm::abs ( const Integer & a ) const [inline, private]
 

Definition at line 109 of file SmithNormalForm.h.

Integer SmithNormalForm::sign ( const Integer & a ) const [inline, private]
 

Definition at line 111 of file SmithNormalForm.h.

Integer SmithNormalForm::GCD ( Integer a,
Integer b ) const [private]
 


Member Data Documentation

Integer** SmithNormalForm::matrix [private]
 

Definition at line 85 of file SmithNormalForm.h.

int SmithNormalForm::height [private]
 

Definition at line 88 of file SmithNormalForm.h.

int SmithNormalForm::width [private]
 

Definition at line 88 of file SmithNormalForm.h.

VectorOf<Integer> SmithNormalForm::theInvariants [private]
 

Definition at line 92 of file SmithNormalForm.h.

int SmithNormalForm::rankOfFreePart [private]
 

Definition at line 93 of file SmithNormalForm.h.

int SmithNormalForm::i [private]
 

Definition at line 97 of file SmithNormalForm.h.

int SmithNormalForm::j [private]
 

Definition at line 97 of file SmithNormalForm.h.

VectorOf<Integer> SmithNormalForm::resultTemp [private]
 

Definition at line 99 of file SmithNormalForm.h.

bool SmithNormalForm::done [private]
 

Definition at line 101 of file SmithNormalForm.h.


The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:50:07 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001