#include <function.h>
Public Member Functions |
|
Constructors and destructor
|
|
Subtraction () | |
Default constructor. |
|
Subtraction (const Subtraction &subtraction) | |
Copy constructor. |
|
virtual | ~Subtraction () |
Destructor. |
|
Assignment
|
|
Subtraction< First,
Second, DataType > & |
operator= (const Subtraction< First, Second, DataType > &subtraction) |
Assignment operator. |
|
Predicates
|
|
bool | operator== (const Subtraction< First, Second, DataType > &subtraction) const |
Equality operator. |
|
Function realization
|
|
DataType | operator() (const DataType &x) const |
Evaluation of this subterm. |
|
Accessors
|
|
void | setFirst (const First &first) |
set the first argument of the
subtraction |
|
First & | getFirst () |
get the first argument of the
subtraction |
|
void | setSecond (const Second &second) |
set the second argument of the
subtraction |
|
Second & | getSecond () |
get the second argument of the
subtraction |
|
Protected Attributes |
|
First | first_ |
Second | second_ |
First& BALL::Subtraction< First, Second, DataType >::getFirst | ( | ) |
get the first argument of the subtraction
Second& BALL::Subtraction< First, Second, DataType >::getSecond | ( | ) |
get the second argument of the subtraction
DataType BALL::Subtraction< First, Second, DataType >::operator() | ( | const DataType & | x | ) | const |
Evaluation of this subterm.
x | the point where to evaluate |