Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

OneInvariantFactor Class Template Reference

#include <one-invariant-factor.h>

List of all members.


Detailed Description

template<class _Ring, class _LastInvariantFactor, class _Compose, class _RandomMatrix>
class LinBox::OneInvariantFactor< _Ring, _LastInvariantFactor, _Compose, _RandomMatrix >

Limited doc so far.


Public Types

typedef _LastInvariantFactor LastInvariantFactor
typedef _Ring Ring
typedef _Compose Compose
typedef _RandomMatrix RandomMatrix
typedef Ring::Element Integer

Public Methods

 OneInvariantFactor (const Ring &_r=Ring(), const LastInvariantFactor &_lif=LastInvariantFactor(), const Compose &_compose=Compose(), const RandomMatrix &_randomMatrix=RandomMatrix(), int _threshold=DEFAULTOIFTHRESHOLD)
void setThreshold (int _threshold)
int getThreshold () const
void setCrossover (double t)
double getCrossover () const
LastInvariantFactor & getLastInvariantFactor ()
const LastInvariantFactor & getLastInvariantFactor () const
template<class IMatrix, class Vector> Integer & oneInvariantFactor (Integer &oif, const IMatrix &A, int i, Vector &PrimeL) const
 Compute the i-th invariant factor of A, ignoring those factors of prime in PrimeL list. It implements EGV++ (by bds), the adaptive algorithm of EGV and EGV+.

template<class IMatrix> Integer & oneInvariantFactor (Integer &oif, const IMatrix &A, int i) const
 Compute the i-th invariant factor of A. It implements the adaptive algorithm of EGV and EGV+.

template<class IMatrix, class Vector> Integer & oneInvariantFactor_Bonus (Integer &oif, Integer &bonus, const IMatrix &A, int i, Vector &PrimeL) const
 Compute the i-th invariant factor of A with bonus, ignoring those factors of prime in PrimeL list. It implements EGV++ (by bds), the adaptive algorithm of EGV and EGV+.

template<class IMatrix> Integer & oneInvariantFactor_Bonus (Integer &oif, Integer &bonus, const IMatrix &A, int i) const
 Compute the i-th invariant factor of A. It implements the adaptive algorithm of EGV and EGV+.


Protected Attributes

Ring r
LastInvariantFactor lif
Compose compose
RandomMatrix randomMatrix
int threshold
double crossover


Member Typedef Documentation

typedef _Compose Compose
 

typedef Ring::Element Integer
 

typedef _LastInvariantFactor LastInvariantFactor
 

typedef _RandomMatrix RandomMatrix
 

typedef _Ring Ring
 


Constructor & Destructor Documentation

OneInvariantFactor (  const Ring &    _r = Ring(),
const LastInvariantFactor &    _lif = LastInvariantFactor(),
const Compose &    _compose = Compose(),
const RandomMatrix &    _randomMatrix = RandomMatrix(),
int    _threshold = DEFAULTOIFTHRESHOLD
)  [inline]
 


Member Function Documentation

double getCrossover (    )  const [inline]
 

const LastInvariantFactor& getLastInvariantFactor (    )  const [inline]
 

LastInvariantFactor& getLastInvariantFactor (    )  [inline]
 

int getThreshold (    )  const [inline]
 

Integer& oneInvariantFactor (  Integer &    oif,
const IMatrix &    A,
int    i
)  const [inline]
 

Compute the i-th invariant factor of A. It implements the adaptive algorithm of EGV and EGV+.

Integer& oneInvariantFactor (  Integer &    oif,
const IMatrix &    A,
int    i,
Vector &    PrimeL
)  const [inline]
 

Compute the i-th invariant factor of A, ignoring those factors of prime in PrimeL list. It implements EGV++ (by bds), the adaptive algorithm of EGV and EGV+.

Integer& oneInvariantFactor_Bonus (  Integer &    oif,
Integer &    bonus,
const IMatrix &    A,
int    i
)  const [inline]
 

Compute the i-th invariant factor of A. It implements the adaptive algorithm of EGV and EGV+.

Integer& oneInvariantFactor_Bonus (  Integer &    oif,
Integer &    bonus,
const IMatrix &    A,
int    i,
Vector &    PrimeL
)  const [inline]
 

Compute the i-th invariant factor of A with bonus, ignoring those factors of prime in PrimeL list. It implements EGV++ (by bds), the adaptive algorithm of EGV and EGV+.

void setCrossover (  double    t )  [inline]
 

void setThreshold (  int    _threshold )  [inline]
 


Member Data Documentation

Compose compose [protected]
 

double crossover [protected]
 

LastInvariantFactor lif [protected]
 

Ring r [protected]
 

RandomMatrix randomMatrix [protected]
 

int threshold [protected]
 


Generated on Mon Jun 20 09:16:58 2005 for linbox by doxygen1.2.18