#include <BALL/MATHS/function.h>
Public Member Functions | |
Constructors and destructor | |
Addition () | |
Addition (const Addition< First, Second, DataType > &addition) | |
virtual | ~Addition () |
Assignment | |
Addition< First, Second, DataType > & | operator= (const Addition< First, Second, DataType > &addition) |
Predicates | |
bool | operator== (const Addition< First, Second, DataType > &addition) const |
Function realization | |
BALL_INLINE DataType | operator() (const DataType &x) const |
Accessors | |
void | setFirst (const First &first) |
First & | getFirst () |
const First & | getFirst () const |
void | setSecond (const Second &second) |
Second & | getSecond () |
const Second & | getSecond () const |
Protected Attributes | |
First | first_ |
Second | second_ |
Addition class.
Definition at line 158 of file function.h.
BALL_INLINE BALL::Addition< First, Second, DataType >::Addition | ( | ) | [inline] |
Default constructor
Definition at line 1137 of file function.h.
BALL_INLINE BALL::Addition< First, Second, DataType >::Addition | ( | const Addition< First, Second, DataType > & | addition | ) | [inline] |
Copy constructor
Definition at line 1146 of file function.h.
BALL_INLINE BALL::Addition< First, Second, DataType >::~Addition | ( | ) | [inline, virtual] |
Destructor
Definition at line 1155 of file function.h.
const First& BALL::Addition< First, Second, DataType >::getFirst | ( | ) | const [inline] |
Get the first argument of the addition (const version).
Definition at line 243 of file function.h.
First& BALL::Addition< First, Second, DataType >::getFirst | ( | ) | [inline] |
get the first argument of the addition
Definition at line 235 of file function.h.
const Second& BALL::Addition< First, Second, DataType >::getSecond | ( | ) | const [inline] |
Get the second argument of the addition (const version).
Definition at line 268 of file function.h.
Second& BALL::Addition< First, Second, DataType >::getSecond | ( | ) | [inline] |
get the second argument of the addition
Definition at line 260 of file function.h.
BALL_INLINE DataType BALL::Addition< First, Second, DataType >::operator() | ( | const DataType & | x | ) | const [inline] |
Evaluation of this subterm
x | the point where to evaluate |
Definition at line 213 of file function.h.
BALL_INLINE Addition< First, Second, DataType > & BALL::Addition< First, Second, DataType >::operator= | ( | const Addition< First, Second, DataType > & | addition | ) | [inline] |
Assignment operator
Definition at line 1162 of file function.h.
BALL_INLINE bool BALL::Addition< First, Second, DataType >::operator== | ( | const Addition< First, Second, DataType > & | addition | ) | const [inline] |
Equality operator
Definition at line 1172 of file function.h.
void BALL::Addition< First, Second, DataType >::setFirst | ( | const First & | first | ) | [inline] |
set the first argument of the addition
Definition at line 226 of file function.h.
void BALL::Addition< First, Second, DataType >::setSecond | ( | const Second & | second | ) | [inline] |
set the second argument of the addition
Definition at line 251 of file function.h.
First BALL::Addition< First, Second, DataType >::first_ [protected] |
Definition at line 280 of file function.h.
Second BALL::Addition< First, Second, DataType >::second_ [protected] |
Definition at line 284 of file function.h.