class MonDblDlex

Class of monomials

Public Fields

typedef COEFF COEFF_T
The type of the coefficients.

Public Methods

MonDblDlex::MonDblDlex(int Size)
Construction of the monomial 1 : of size Size, with zero exponents.
MonDblDlex::MonDblDlex(COEFF Cst)
Cosntructor of monomial from a scalar
MonDblDlex::MonDblDlex(COEFF C, int *Exposant)
Constructor
MonDblDlex::MonDblDlex(void)
Default constructor.
MonDblDlex::MonDblDlex(const MonDblDlex &m)
Copy constructor
inline void MonDblDlex::SetCoef(COEFF C)
Assignement of the coefficient.
MonDblDlex::~MonDblDlex(void)
Destructor. Do nothing.
MonDblDlex& operator+=(const MonDblDlex & m)
The addition on the monomials is just the addition of the coefficients.
int& operator[](int i)
Exponent of index i, starting from 0.

Protected Fields

COEFF Coef
The coefficient
int Degre
The degree of the monommial.
int* ListExp
The array of exponents.
int SizeM
The size of the exponent array.

Documentation

Class of monomials. The coefficients are of type COEFF=double. The order is the degree lexicographic order.
typedef COEFF COEFF_T
The type of the coefficients.

int& operator[](int i)
Exponent of index i, starting from 0.

MonDblDlex& operator+=(const MonDblDlex & m)
The addition on the monomials is just the addition of the coefficients.

COEFF Coef
The coefficient

int SizeM
The size of the exponent array.

int Degre
The degree of the monommial.

int* ListExp
The array of exponents.

MonDblDlex::MonDblDlex(void)
Default constructor.

MonDblDlex::MonDblDlex(const MonDblDlex &m)
Copy constructor

MonDblDlex::MonDblDlex(int Size)
Construction of the monomial 1 : of size Size, with zero exponents.

MonDblDlex::MonDblDlex(COEFF C, int *Exposant)
Constructor. Build a monomial from a coefficient and an array of exponent. The exponent 0 must be the size of the monomial. Ex: Mon(1.0,[2,0,1]) is x[2].

MonDblDlex::MonDblDlex(COEFF Cst)
Cosntructor of monomial from a scalar

inline void MonDblDlex::SetCoef(COEFF C)
Assignement of the coefficient.

MonDblDlex::~MonDblDlex(void)
Destructor. Do nothing.


This class has no child classes.

alphabetic index hierarchy of classes


Partially supported by FRISCO LTR 21.024
For more information

generated by doc++