GiNaCRA  0.6.4
GiNaC::ex_is_lessdeg Struct Reference

Prototypal ordering on expressions which are terms. More...

#include <constants.h>

Inheritance diagram for GiNaC::ex_is_lessdeg:
Collaboration diagram for GiNaC::ex_is_lessdeg:

Data Structures

struct  get_degree

Public Member Functions

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

Prototypal ordering on expressions which are terms.

Definition at line 109 of file constants.h.


Constructor & Destructor Documentation

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

Definition at line 114 of file constants.h.


Member Function Documentation

list<int> GiNaC::ex_is_lessdeg::exponents ( const ex &  p,
const vector< symbol > &  variables 
) const [inline]
bool GiNaC::ex_is_lessdeg::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 in GiNaC::ex_is_less_degrevlex, and GiNaC::ex_is_less_deggrlex.

Definition at line 123 of file constants.h.


Field Documentation


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