#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.
Definition at line 265 of file function.h.
BALL_INLINE BALL::Subtraction< First, Second, DataType >::Subtraction | ( | ) | [inline] |
Default constructor
Definition at line 1070 of file function.h.
BALL_INLINE BALL::Subtraction< First, Second, DataType >::Subtraction | ( | const Subtraction< First, Second, DataType > & | subtraction | ) | [inline] |
Copy constructor
Definition at line 1078 of file function.h.
BALL_INLINE BALL::Subtraction< First, Second, DataType >::~Subtraction | ( | ) | [inline, virtual] |
Destructor
Definition at line 1086 of file function.h.
First& BALL::Subtraction< First, Second, DataType >::getFirst | ( | ) | [inline] |
get the first argument of the subtraction
Definition at line 335 of file function.h.
Second& BALL::Subtraction< First, Second, DataType >::getSecond | ( | ) | [inline] |
get the second argument of the subtraction
Definition at line 350 of file function.h.
BALL_INLINE DataType BALL::Subtraction< First, Second, DataType >::operator() | ( | const DataType & | x | ) | const [inline] |
Evaluation of this subterm
x | the point where to evaluate |
Definition at line 315 of file function.h.
BALL_INLINE Subtraction< First, Second, DataType > & BALL::Subtraction< First, Second, DataType >::operator= | ( | const Subtraction< First, Second, DataType > & | subtraction | ) | [inline] |
Assignment operator
Definition at line 1092 of file function.h.
BALL_INLINE bool BALL::Subtraction< First, Second, DataType >::operator== | ( | const Subtraction< First, Second, DataType > & | subtraction | ) | const [inline] |
Equality operator
Definition at line 1101 of file function.h.
void BALL::Subtraction< First, Second, DataType >::setFirst | ( | const First & | first | ) | [inline] |
set the first argument of the subtraction
Definition at line 327 of file function.h.
void BALL::Subtraction< First, Second, DataType >::setSecond | ( | const Second & | second | ) | [inline] |
set the second argument of the subtraction
Definition at line 342 of file function.h.
First BALL::Subtraction< First, Second, DataType >::first_ [protected] |
Definition at line 361 of file function.h.
Second BALL::Subtraction< First, Second, DataType >::second_ [protected] |
Definition at line 365 of file function.h.