#include <BALL/MATHS/function.h>
Public Member Functions | |
Constructors and destructor | |
| CubicFunction () | |
| CubicFunction (const CubicFunction &cubic) | |
| virtual | ~CubicFunction () |
Assignment | |
| CubicFunction< Function, DataType > & | operator= (const CubicFunction< Function, DataType > &cubic) |
Predicates | |
| bool | operator== (const CubicFunction< Function, DataType > &cubic) const |
Function realization | |
| BALL_INLINE DataType | operator() (const DataType &x) const |
Accessors | |
| void | setFunction (const Function &function) |
| const Function & | getFunction () const |
Protected Attributes | |
| Function | function_ |
CubicFunction class.
| BALL_INLINE BALL::CubicFunction< Function, DataType >::CubicFunction | ( | ) | [inline] |
Default constructor
| BALL_INLINE BALL::CubicFunction< Function, DataType >::CubicFunction | ( | const CubicFunction< Function, DataType > & | cubic | ) | [inline] |
Copy constructor
| BALL_INLINE BALL::CubicFunction< Function, DataType >::~CubicFunction | ( | ) | [inline, virtual] |
Destructor
| const Function& BALL::CubicFunction< Function, DataType >::getFunction | ( | ) | const [inline] |
get the function argument of the cubic
| BALL_INLINE DataType BALL::CubicFunction< Function, DataType >::operator() | ( | const DataType & | x | ) | const [inline] |
Evaluation of this subterm
| x | the point where to evaluate |
| BALL_INLINE CubicFunction< Function, DataType > & BALL::CubicFunction< Function, DataType >::operator= | ( | const CubicFunction< Function, DataType > & | cubic | ) | [inline] |
Assignment operator
References BALL::CubicFunction< Function, DataType >::function_.
| BALL_INLINE bool BALL::CubicFunction< Function, DataType >::operator== | ( | const CubicFunction< Function, DataType > & | cubic | ) | const [inline] |
Equality operator
References BALL::CubicFunction< Function, DataType >::function_.
| void BALL::CubicFunction< Function, DataType >::setFunction | ( | const Function & | function | ) | [inline] |
set the function argument of the cubic
Function BALL::CubicFunction< Function, DataType >::function_ [protected] |