GiNaCRA  0.6.4
GiNaC::ex_is_less_degrevlex Struct Reference

Lexicographic degree-reverse ordering on expressions which are terms. More...

#include <constants.h>

Inheritance diagram for GiNaC::ex_is_less_degrevlex:
Collaboration diagram for GiNaC::ex_is_less_degrevlex:

Public Member Functions

 ex_is_less_degrevlex (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

Lexicographic degree-reverse ordering on expressions which are terms.

Definition at line 186 of file constants.h.


Constructor & Destructor Documentation

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

Definition at line 189 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 GiNaC::ex_is_less_deggrlex::operator()(), and operator()().

bool GiNaC::ex_is_less_degrevlex::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 198 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 GiNaC::ex_is_less_deggrlex::operator()(), and operator()().


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