CoCoALib-0.9905 date: 23 May 2007


CoCoA::GPair Class Reference

#include <TmpGPair.H>

Collaboration diagram for CoCoA::GPair:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GPair (GPoly &p, unsigned int i)
 GPair (GPoly &p, GPoly &q, unsigned int i, unsigned int j)
 GPair (const GPoly *p, const GPoly *q, unsigned int i, unsigned int j)
 ~GPair ()
void myComplete (void)
 fills to the GPair the field myOrdPoly and myWDeg (=deg(myOrdPoly))
bool operator< (const GPair &gp) const
 based on (w/std)deg + IsSpecial + PPOrdering
const GPolymyFirstGPoly () const
const GPolymySecondGPoly () const
unsigned int myFirstIndex () const
unsigned int mySecondIndex () const
bool IamCoprime () const
bool IsSpecial () const
bool BCriterion_OK (const PPWithMask &) const
bool operator== (const GPair &) const

Private Attributes

const GPolymyFirstGPolyValue
 f
const GPolymySecondGPolyValue
 g
PPWithMask myLCMwMask
 lcm(lpp(f),lpp(g)), stored with DivMask
RingElem myOrdPoly
 pairs will be ordered according to this polynomial (now = lcm)
bool IamCoprimeFlag
 are lpp(f) and lpp(g) coprime?
unsigned int myFirstIndexValue
 for stats purposes only
unsigned int mySecondIndexValue
 for stats purposes only
degree myWDeg
 degree of myLCM, hence of the pair, it being homog.
unsigned int myComponent
 LPP(f) and LPP(g) have the same component, this one.
std::size_t myStdDeg
 standard degree of myLCM. Used only if GradingDim ==0
std::size_t mySugar
 standard sugar of the pair. Used only if GradingDim ==0
degree myWSugar
 w sugar of the pair. Used if GradingDim !=0 and the input is not homogeneous

Friends

ConstRefPPMonoidElem LCM (const GPair &)
const PPWithMaskLCMwMask (const GPair &)
ConstRefRingElem OrdPoly (const GPair &)
unsigned int GPairComponent (const GPair &GP)
const degreewdeg (const GPair &GP)
std::size_t StdDeg (const GPair &GP)
std::size_t sugar (const GPair &GP)
degree wsugar (const GPair &GP)
std::ostream & operator<< (std::ostream &, const GPair &)
const ringCoeffRing (const GPair &P)
const SparsePolyRingowner (const GPair &P)
const GRingInfoGetGRingInfo (const GPair &P)

Detailed Description

Definition at line 39 of file TmpGPair.H.


Constructor & Destructor Documentation

CoCoA::GPair::GPair GPoly p,
unsigned int  i
 

CoCoA::GPair::GPair GPoly p,
GPoly q,
unsigned int  i,
unsigned int  j
 

CoCoA::GPair::GPair const GPoly p,
const GPoly q,
unsigned int  i,
unsigned int  j
 

CoCoA::GPair::~GPair  )  [inline]
 

Definition at line 48 of file TmpGPair.H.


Member Function Documentation

void CoCoA::GPair::myComplete void   ) 
 

fills to the GPair the field myOrdPoly and myWDeg (=deg(myOrdPoly))

bool CoCoA::GPair::operator< const GPair gp  )  const
 

based on (w/std)deg + IsSpecial + PPOrdering

const GPoly& CoCoA::GPair::myFirstGPoly  )  const [inline]
 

Definition at line 53 of file TmpGPair.H.

References myFirstGPolyValue.

const GPoly& CoCoA::GPair::mySecondGPoly  )  const [inline]
 

Definition at line 54 of file TmpGPair.H.

References mySecondGPolyValue.

unsigned int CoCoA::GPair::myFirstIndex  )  const [inline]
 

Definition at line 59 of file TmpGPair.H.

References myFirstIndexValue.

unsigned int CoCoA::GPair::mySecondIndex  )  const [inline]
 

Definition at line 60 of file TmpGPair.H.

References mySecondIndexValue.

Referenced by IsSpecial().

bool CoCoA::GPair::IamCoprime  )  const [inline]
 

Definition at line 61 of file TmpGPair.H.

References IamCoprimeFlag.

bool CoCoA::GPair::IsSpecial  )  const [inline]
 

Definition at line 62 of file TmpGPair.H.

References mySecondIndex().

bool CoCoA::GPair::BCriterion_OK const PPWithMask  )  const
 

bool CoCoA::GPair::operator== const GPair  )  const
 


Friends And Related Function Documentation

ConstRefPPMonoidElem LCM const GPair gp  )  [friend]
 

Definition at line 126 of file TmpGPair.H.

const PPWithMask& LCMwMask const GPair gp  )  [friend]
 

Definition at line 132 of file TmpGPair.H.

ConstRefRingElem OrdPoly const GPair gp  )  [friend]
 

Definition at line 138 of file TmpGPair.H.

unsigned int GPairComponent const GPair GP  )  [friend]
 

Definition at line 69 of file TmpGPair.H.

const degree& wdeg const GPair GP  )  [friend]
 

Definition at line 70 of file TmpGPair.H.

std::size_t StdDeg const GPair GP  )  [friend]
 

Definition at line 71 of file TmpGPair.H.

std::size_t sugar const GPair GP  )  [friend]
 

Definition at line 72 of file TmpGPair.H.

degree wsugar const GPair GP  )  [friend]
 

Definition at line 73 of file TmpGPair.H.

std::ostream& operator<< std::ostream &  ,
const GPair
[friend]
 

const ring& CoeffRing const GPair P  )  [friend]
 

const SparsePolyRing& owner const GPair P  )  [friend]
 

const GRingInfo& GetGRingInfo const GPair P  )  [friend]
 

Definition at line 77 of file TmpGPair.H.


Member Data Documentation

const GPoly* CoCoA::GPair::myFirstGPolyValue [private]
 

f

Definition at line 77 of file TmpGPair.H.

Referenced by myFirstGPoly().

const GPoly* CoCoA::GPair::mySecondGPolyValue [private]
 

g

Definition at line 81 of file TmpGPair.H.

Referenced by mySecondGPoly().

PPWithMask CoCoA::GPair::myLCMwMask [private]
 

lcm(lpp(f),lpp(g)), stored with DivMask

Definition at line 82 of file TmpGPair.H.

Referenced by CoCoA::LCM(), and CoCoA::LCMwMask().

RingElem CoCoA::GPair::myOrdPoly [private]
 

pairs will be ordered according to this polynomial (now = lcm)

Definition at line 83 of file TmpGPair.H.

Referenced by CoCoA::OrdPoly().

bool CoCoA::GPair::IamCoprimeFlag [private]
 

are lpp(f) and lpp(g) coprime?

Definition at line 84 of file TmpGPair.H.

Referenced by IamCoprime().

unsigned int CoCoA::GPair::myFirstIndexValue [private]
 

for stats purposes only

Definition at line 85 of file TmpGPair.H.

Referenced by myFirstIndex().

unsigned int CoCoA::GPair::mySecondIndexValue [private]
 

for stats purposes only

Definition at line 86 of file TmpGPair.H.

Referenced by mySecondIndex().

degree CoCoA::GPair::myWDeg [private]
 

degree of myLCM, hence of the pair, it being homog.

Definition at line 87 of file TmpGPair.H.

unsigned int CoCoA::GPair::myComponent [private]
 

LPP(f) and LPP(g) have the same component, this one.

Definition at line 88 of file TmpGPair.H.

std::size_t CoCoA::GPair::myStdDeg [private]
 

standard degree of myLCM. Used only if GradingDim ==0

Definition at line 89 of file TmpGPair.H.

std::size_t CoCoA::GPair::mySugar [private]
 

standard sugar of the pair. Used only if GradingDim ==0

Definition at line 90 of file TmpGPair.H.

degree CoCoA::GPair::myWSugar [private]
 

w sugar of the pair. Used if GradingDim !=0 and the input is not homogeneous

Definition at line 91 of file TmpGPair.H.


The documentation for this class was generated from the following file:
Generated on Wed May 23 13:44:57 2007 for CoCoALib by  doxygen 1.4.6