GiNaCRA  0.6.4
GiNaC::expair_is_lesseq< monomialOrdering > Struct Template Reference

Prototypal ordering on pairs of expressions which represent terms. More...

#include <constants.h>

Inheritance diagram for GiNaC::expair_is_lesseq< monomialOrdering >:
Collaboration diagram for GiNaC::expair_is_lesseq< monomialOrdering >:

Public Member Functions

 expair_is_lesseq (const vector< symbol > &variables)
bool operator() (const pair< ex, ex > &a, const pair< ex, ex > &b) const
 Compares two expressions lexicographically by their string representations.

Data Fields

vector< symbol > variables

Detailed Description

template<class monomialOrdering>
struct GiNaC::expair_is_lesseq< monomialOrdering >

Prototypal ordering on pairs of expressions which represent terms.

Definition at line 247 of file constants.h.


Constructor & Destructor Documentation

template<class monomialOrdering >
GiNaC::expair_is_lesseq< monomialOrdering >::expair_is_lesseq ( const vector< symbol > &  variables) [inline]

Definition at line 252 of file constants.h.


Member Function Documentation

template<class monomialOrdering >
bool GiNaC::expair_is_lesseq< monomialOrdering >::operator() ( const pair< ex, ex > &  a,
const pair< ex, 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

Definition at line 261 of file constants.h.

References GiNaC::expair_is_lesseq< monomialOrdering >::variables.


Field Documentation

template<class monomialOrdering >
vector<symbol> GiNaC::expair_is_lesseq< monomialOrdering >::variables

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