#include <BALL/MATHS/function.h>
Public Member Functions | |
Constructors and destructor | |
SquareFunction () | |
SquareFunction (const SquareFunction &square) | |
virtual | ~SquareFunction () |
Assignment | |
SquareFunction< Function, DataType > & | operator= (const SquareFunction< Function, DataType > &square) |
Predicates | |
bool | operator== (const SquareFunction< Function, DataType > &square) 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_ |
SquareFunction class.
Definition at line 774 of file function.h.
BALL_INLINE BALL::SquareFunction< Function, DataType >::SquareFunction | ( | ) | [inline] |
Default constructor
Definition at line 1313 of file function.h.
BALL_INLINE BALL::SquareFunction< Function, DataType >::SquareFunction | ( | const SquareFunction< Function, DataType > & | square | ) | [inline] |
Copy constructor
Definition at line 1321 of file function.h.
BALL_INLINE BALL::SquareFunction< Function, DataType >::~SquareFunction | ( | ) | [inline, virtual] |
Destructor
Definition at line 1329 of file function.h.
const Function& BALL::SquareFunction< Function, DataType >::getFunction | ( | ) | const [inline] |
get the function argument of the square
Definition at line 852 of file function.h.
BALL_INLINE DataType BALL::SquareFunction< Function, DataType >::operator() | ( | const DataType & | x | ) | const [inline] |
Evaluation of this subterm
x | the point where to evaluate |
Definition at line 829 of file function.h.
BALL_INLINE SquareFunction< Function, DataType > & BALL::SquareFunction< Function, DataType >::operator= | ( | const SquareFunction< Function, DataType > & | square | ) | [inline] |
Assignment operator
Definition at line 1336 of file function.h.
BALL_INLINE bool BALL::SquareFunction< Function, DataType >::operator== | ( | const SquareFunction< Function, DataType > & | square | ) | const [inline] |
Equality operator
Definition at line 1345 of file function.h.
void BALL::SquareFunction< Function, DataType >::setFunction | ( | const Function & | function | ) | [inline] |
set the function argument of the square
Definition at line 843 of file function.h.
Function BALL::SquareFunction< Function, DataType >::function_ [protected] |
Definition at line 865 of file function.h.