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