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