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