Public Member Functions
ibis::math::stdFunction1 Class Reference

One-argument standard functions. More...

#include <qExpr.h>

Inheritance diagram for ibis::math::stdFunction1:
ibis::math::term ibis::qExpr

List of all members.

Public Member Functions

virtual stdFunction1dup () const
 Make a duplicate copy of the term.
virtual double eval () const
 Evaluate one-argument standard functions from math.h.
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 termreduce ()
 Shorten the expression by evaluating the constants.
 stdFunction1 (const char *name)
 stdFunction1 (const STDFUN1 ft)
virtual TERM_TYPE termType () const

Detailed Description

One-argument standard functions.


Member Function Documentation

double ibis::math::stdFunction1::eval ( ) const [virtual]

Evaluate one-argument standard functions from math.h.

The functions modf and frexp take two argument, but only one is an input argument, only the return value of these functions are returned.

Implements ibis::math::term.

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(), ibis::qExpr::getLeft(), ibis::gVerbose, and ibis::math::term::reduce().


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

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive