GiNaCRA  0.6.4
GiNaCRA::MonomMRCompare Class Reference

A class for comparing MultivariateMonomials according to a given function. More...

#include <MultivariatePolynomialMR.h>

Collaboration diagram for GiNaCRA::MonomMRCompare:

Public Member Functions

 MonomMRCompare ()
 MonomMRCompare (const MonomOrderingFc ordering)
bool SetMonomOrdering (const MonomOrderingFc ordering)
MonomOrderingFc GetMonomOrdering () const
bool operator() (const MultivariateMonomialMR &m1, const MultivariateMonomialMR &m2)

Private Attributes

MonomOrderingFc mOrderFunc

Friends

bool operator!= (const MonomMRCompare &m1, const MonomMRCompare &m2)

Detailed Description

A class for comparing MultivariateMonomials according to a given function.

Author:
Sebastian Junges
Since:
2011-11-28

Definition at line 54 of file MultivariatePolynomialMR.h.


Constructor & Destructor Documentation

Definition at line 64 of file MultivariatePolynomialMR.h.

References mOrderFunc.


Member Function Documentation

bool GiNaCRA::MonomMRCompare::operator() ( const MultivariateMonomialMR m1,
const MultivariateMonomialMR m2 
) [inline]

Definition at line 87 of file MultivariatePolynomialMR.h.

References mOrderFunc.

Parameters:
ordering
Returns:
true if changed

Definition at line 74 of file MultivariatePolynomialMR.h.

References mOrderFunc.


Friends And Related Function Documentation

bool operator!= ( const MonomMRCompare m1,
const MonomMRCompare m2 
) [friend]

Definition at line 40 of file MultivariatePolynomialMR.cpp.


Field Documentation


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