#include <function.h>
Public Member Functions |
|
|
Constructors and destructor
|
|
| CubicFunction () | |
| Default constructor. |
|
| CubicFunction (const CubicFunction &cubic) | |
| Copy constructor. |
|
| virtual | ~CubicFunction () |
| Destructor. |
|
|
Assignment
|
|
|
CubicFunction<
Function, DataType > & |
operator= (const CubicFunction< Function, DataType > &cubic) |
| Assignment operator. |
|
|
Predicates
|
|
| bool | operator== (const CubicFunction< Function, DataType > &cubic) 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
cubic |
|
| const Function & | getFunction () const |
| get the function argument of the
cubic |
|
Protected Attributes |
|
| Function | function_ |
| const Function& BALL::CubicFunction< Function, DataType >::getFunction | ( | ) | const |
get the function argument of the cubic
| DataType BALL::CubicFunction< Function, DataType >::operator() | ( | const DataType & | x | ) | const |
Evaluation of this subterm.
| x | the point where to evaluate |
1.5.8