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