|
Public Types |
typedef _Ring | Ring |
typedef _Solver | Solver |
typedef Ring::Element | Integer |
Public Methods |
| LastInvariantFactor (const Solver &_solver=Solver(), const Ring &_r=Ring(), int _threshold=DEFAULTLIFTHRESHOLD) |
void | setThreshold (int _threshold) |
int | getThreshold () const |
const Solver & | getSolver () const |
void | setSolver (const Solver &s) |
template<class IMatrix, class Vector> Integer & | lastInvariantFactor (Integer &lif, const IMatrix &A, const Vector &PrimeL) const |
| Compute the last invariant factor of an integer matrix, by solving linear system, ignoring these factors of primes in list PrimeL.
|
template<class IMatrix, class Vector> Integer & | lastInvariantFactor_Bonus (Integer &lif, Integer &bonus, const IMatrix &A, const Vector &PrimeL) const |
| Compute the last invariant factor of an integer matrix, by solving linear system, ignoring these factors of primes in list PrimeL Implement the bonus in ref{....}.
|
template<class IMatrix> Integer & | lastInvariantFactor (Integer &lif, const IMatrix &A) const |
| Compute the last invariant factor.
|
template<class IMatrix> Integer & | lastInvariantFactor_Bonus (Integer &lif, Integer &bonus, const IMatrix &A) const |
| Compute the last invariant factor with bonus.
|
Protected Attributes |
Ring | r |
Solver | solver |
int | threshold |