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