#include <function.h>
Public Member Functions | |
Constructors and destructor | |
| Reciprocal () throw () | |
| Default constructor. | |
| Reciprocal (const Reciprocal &reciprocal) throw () | |
| Copy constructor. | |
| virtual | ~Reciprocal () throw () |
| Destructor. | |
Assignment | |
| Reciprocal< Function, DataType > & | operator= (const Reciprocal< Function, DataType > &reciprocal) throw () |
| Assignment operator. | |
Predicates | |
| bool | operator== (const Reciprocal< Function, DataType > &reciprocal) const throw () |
| Equality operator. | |
Function realization | |
| DataType | operator() (const DataType &x) const throw (Exception::DivisionByZero) |
| Evaluation of this subterm. | |
Accessors | |
| void | setFunction (const Function &function) throw () |
| set the function argument of the reciprocal | |
| const Function & | getFunction () const throw () |
| get the function argument of the reciprocal | |
Protected Attributes | |
| Function | function_ |
|
|||||||||
|
get the function argument of the reciprocal
|
|
||||||||||
|
Evaluation of this subterm.
|