#include <BALL/MATHS/function.h>
Public Member Functions | |
Constructors and destructor | |
MutableConstant () | |
MutableConstant (const MutableConstant< DataType > &constant) | |
MutableConstant (DataType constant) | |
virtual | ~MutableConstant () |
Assignment | |
MutableConstant< DataType > & | operator= (const MutableConstant< DataType > &constant) |
Predicates | |
bool | operator== (const MutableConstant< DataType > &constant) const |
Function realization | |
BALL_INLINE DataType | operator() (const DataType &) const |
Accessors | |
void | setConstant (DataType constant) |
const DataType & | getConstant () const |
Protected Attributes | |
DataType | constant_ |
Constant function class. This class represents constants that are not known at compile time but must be set at running time.
Definition at line 49 of file function.h.
BALL_INLINE BALL::MutableConstant< DataType >::MutableConstant | ( | ) | [inline] |
Default constructor
Definition at line 985 of file function.h.
BALL_INLINE BALL::MutableConstant< DataType >::MutableConstant | ( | const MutableConstant< DataType > & | constant | ) | [inline] |
Copy constructor
Definition at line 993 of file function.h.
BALL_INLINE BALL::MutableConstant< DataType >::MutableConstant | ( | DataType | constant | ) | [inline] |
Detailed constructor
Definition at line 1000 of file function.h.
BALL_INLINE BALL::MutableConstant< DataType >::~MutableConstant | ( | ) | [inline, virtual] |
Destructor
Definition at line 1007 of file function.h.
const DataType& BALL::MutableConstant< DataType >::getConstant | ( | ) | const [inline] |
Get the constant argument of the constant
Definition at line 123 of file function.h.
BALL_INLINE DataType BALL::MutableConstant< DataType >::operator() | ( | const DataType & | ) | const [inline] |
Evaluation of this subterm
x | the point where to evaluate |
Definition at line 103 of file function.h.
BALL_INLINE MutableConstant< DataType > & BALL::MutableConstant< DataType >::operator= | ( | const MutableConstant< DataType > & | constant | ) | [inline] |
Assignment operator
Definition at line 1014 of file function.h.
BALL_INLINE bool BALL::MutableConstant< DataType >::operator== | ( | const MutableConstant< DataType > & | constant | ) | const [inline] |
Equality operator
Definition at line 1023 of file function.h.
void BALL::MutableConstant< DataType >::setConstant | ( | DataType | constant | ) | [inline] |
Set the constant argument of the constant
Definition at line 115 of file function.h.
DataType BALL::MutableConstant< DataType >::constant_ [protected] |
Definition at line 134 of file function.h.