#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.
Definition at line 874 of file function.h.
BALL_INLINE BALL::CubicFunction< Function, DataType >::CubicFunction | ( | ) | [inline] |
Default constructor
Definition at line 1354 of file function.h.
BALL_INLINE BALL::CubicFunction< Function, DataType >::CubicFunction | ( | const CubicFunction< Function, DataType > & | cubic | ) | [inline] |
Copy constructor
Definition at line 1362 of file function.h.
BALL_INLINE BALL::CubicFunction< Function, DataType >::~CubicFunction | ( | ) | [inline, virtual] |
Destructor
Definition at line 1370 of file function.h.
const Function& BALL::CubicFunction< Function, DataType >::getFunction | ( | ) | const [inline] |
get the function argument of the cubic
Definition at line 952 of file function.h.
BALL_INLINE DataType BALL::CubicFunction< Function, DataType >::operator() | ( | const DataType & | x | ) | const [inline] |
Evaluation of this subterm
x | the point where to evaluate |
Definition at line 929 of file function.h.
BALL_INLINE CubicFunction< Function, DataType > & BALL::CubicFunction< Function, DataType >::operator= | ( | const CubicFunction< Function, DataType > & | cubic | ) | [inline] |
Assignment operator
Definition at line 1377 of file function.h.
BALL_INLINE bool BALL::CubicFunction< Function, DataType >::operator== | ( | const CubicFunction< Function, DataType > & | cubic | ) | const [inline] |
Equality operator
Definition at line 1386 of file function.h.
void BALL::CubicFunction< Function, DataType >::setFunction | ( | const Function & | function | ) | [inline] |
set the function argument of the cubic
Definition at line 943 of file function.h.
Function BALL::CubicFunction< Function, DataType >::function_ [protected] |
Definition at line 964 of file function.h.