GiNaCRA  0.6.4
GiNaC::ex_is_less_deggrlex Struct Reference

Graded lexicographic ordering on expressions which are terms. More...

#include <constants.h>

Inheritance diagram for GiNaC::ex_is_less_deggrlex:
Collaboration diagram for GiNaC::ex_is_less_deggrlex:

Public Member Functions

 ex_is_less_deggrlex (const vector< symbol > &variables)
bool operator() (const ex &a, const ex &b) const
 Compares two expressions lexicographically by their string representations.
list< int > exponents (const ex &p, const vector< symbol > &variables) const

Data Fields

vector< symbol > variables

Detailed Description

Graded lexicographic ordering on expressions which are terms.

Definition at line 156 of file constants.h.


Constructor & Destructor Documentation

GiNaC::ex_is_less_deggrlex::ex_is_less_deggrlex ( const vector< symbol > &  variables) [inline]

Definition at line 159 of file constants.h.


Member Function Documentation

list<int> GiNaC::ex_is_lessdeg::exponents ( const ex &  p,
const vector< symbol > &  variables 
) const [inline, inherited]

Definition at line 143 of file constants.h.

Referenced by operator()(), and GiNaC::ex_is_less_degrevlex::operator()().

bool GiNaC::ex_is_less_deggrlex::operator() ( const ex &  a,
const ex &  b 
) const [inline]

Compares two expressions lexicographically by their string representations.

Parameters:
a
b
Returns:
true in case a is less or equal to b

Reimplemented from GiNaC::ex_is_lessdeg.

Definition at line 168 of file constants.h.

References GiNaC::ex_is_lessdeg::exponents(), and GiNaC::ex_is_lessdeg::variables.


Field Documentation

vector<symbol> GiNaC::ex_is_lessdeg::variables [inherited]

Definition at line 112 of file constants.h.

Referenced by operator()(), and GiNaC::ex_is_less_degrevlex::operator()().


The documentation for this struct was generated from the following file: