An operator. Bediener is German for operator. More...
#include <qExpr.h>
Public Member Functions | |
bediener (ibis::math::OPERADOR op) | |
virtual bediener * | dup () const |
Make a duplicate copy of the term. | |
virtual double | eval () const |
Evaluate an operator. | |
OPERADOR | getOperator () const |
virtual void | print (std::ostream &out) const |
Print a human readable version of the expression. | |
virtual void | printFull (std::ostream &out) const |
Same as print. | |
virtual term * | reduce () |
Shorten the expression by evaluating the constants. | |
virtual TERM_TYPE | termType () const |
Friends | |
void | ibis::qExpr::simplify (ibis::qExpr *&) |
An operator. Bediener is German for operator.
ibis::math::term * ibis::math::bediener::reduce | ( | ) | [virtual] |
Shorten the expression by evaluating the constants.
Return a new pointer if the expression is changed, otherwise return the pointer this.
Reimplemented from ibis::math::term.
References ibis::math::term::dup(), ibis::math::term::eval(), ibis::qExpr::getLeft(), ibis::qExpr::getRight(), ibis::gVerbose, ibis::math::term::reduce(), and ibis::util::reorder().
![]() |