Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

powerprod.H File Reference


Detailed Description

declaration of the classes handling power products. A power product is a monomial x^ay^bz^c... We treat these as a sequence of (nonnegative) integers giving the powers.

Definition in file powerprod.H.

#include "tables.H"
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <iomanip>
#include "alphabet.H"

Go to the source code of this file.

Classes

class  PowProd
 Powprod class: represents power products, that is things of the form X^aY^bZ^c... More...

Defines

#define LEX   1
 three orders on power products
#define LEXSV   101
#define DEGLEX   2
#define DEGLEXSV   102
#define DEGREVLEX   3
#define DEGREVLEXSV   103


Define Documentation

#define LEX   1
 

three orders on power products

there are at least three natural ways of odering powers products, usually called LEX, DEGLEX, and DEGREVLEX. The main program should set the order with PowProd::use_order(DEGLEX) for example. Otherwise LEX is assumed by default. IMPORTANT: if you create some polynomials after setting the order to, say, LEX, and if you then change the order to, say, DEGLEX, then you must NOT use these polynomials at all until the order is back to LEX. This is because polynomials rely on the order so as to sort out internally the power products that compose them. When you change the order, you have to start from scratch again, basically.

Definition at line 38 of file powerprod.H.

Referenced by PowProd::operator<().


Generated on Wed Jun 18 17:22:42 2008 for Pierre Guillot by  doxygen 1.3.9.1