Two-argument standard functions. More...
#include <qExpr.h>
Public Member Functions | |
| virtual stdFunction2 * | dup () const |
| Make a duplicate copy of the term. | |
| virtual double | eval () const |
| Evaluate the 2-argument standard functions. | |
| 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. | |
| stdFunction2 (const char *name) | |
| stdFunction2 (const STDFUN2 ft) | |
| virtual TERM_TYPE | termType () const |
Two-argument standard functions.
| ibis::math::term * ibis::math::stdFunction2::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::eval(), and ibis::math::term::reduce().
|
| |