BALL
1.4.2
|
#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 | ( | ) |
Default constructor
Definition at line 985 of file function.h.
BALL_INLINE BALL::MutableConstant< DataType >::MutableConstant | ( | const MutableConstant< DataType > & | constant | ) |
Copy constructor
Definition at line 993 of file function.h.
BALL_INLINE BALL::MutableConstant< DataType >::MutableConstant | ( | DataType | constant | ) |
Detailed constructor
Definition at line 1000 of file function.h.
|
virtual |
Destructor
Definition at line 1007 of file function.h.
|
inline |
Get the constant argument of the constant
Definition at line 123 of file function.h.
|
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 | ) |
Assignment operator
Definition at line 1014 of file function.h.
BALL_INLINE bool BALL::MutableConstant< DataType >::operator== | ( | const MutableConstant< DataType > & | constant | ) | const |
Equality operator
Definition at line 1023 of file function.h.
|
inline |
Set the constant argument of the constant
Definition at line 115 of file function.h.
|
protected |
Definition at line 134 of file function.h.