#include <BALL/MATHS/function.h>
Public Member Functions | |
Constructors and destructor | |
Product () | |
Product (const Product &product) | |
virtual | ~Product () |
Assignment | |
Product< First, Second, DataType > & | operator= (const Product< First, Second, DataType > &product) |
Predicates | |
bool | operator== (const Product< First, Second, DataType > &product) 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 () |
Protected Attributes | |
First | first_ |
Second | second_ |
Multiplication class.
Definition at line 412 of file function.h.
BALL_INLINE BALL::Product< First, Second, DataType >::Product | ( | ) | [inline] |
Default constructor
Definition at line 1225 of file function.h.
BALL_INLINE BALL::Product< First, Second, DataType >::Product | ( | const Product< First, Second, DataType > & | product | ) | [inline] |
Copy constructor
Definition at line 1234 of file function.h.
BALL_INLINE BALL::Product< First, Second, DataType >::~Product | ( | ) | [inline, virtual] |
Destructor
Definition at line 1243 of file function.h.
const First& BALL::Product< First, Second, DataType >::getFirst | ( | ) | const [inline] |
Get the first argument of the product (const version).
Definition at line 498 of file function.h.
First& BALL::Product< First, Second, DataType >::getFirst | ( | ) | [inline] |
get the first argument of the product
Definition at line 489 of file function.h.
Second& BALL::Product< First, Second, DataType >::getSecond | ( | ) | [inline] |
get the second argument of the product
Definition at line 516 of file function.h.
BALL_INLINE DataType BALL::Product< First, Second, DataType >::operator() | ( | const DataType & | x | ) | const [inline] |
Evaluation of this subterm
x | the point where to evaluate |
Definition at line 467 of file function.h.
BALL_INLINE Product< First, Second, DataType > & BALL::Product< First, Second, DataType >::operator= | ( | const Product< First, Second, DataType > & | product | ) | [inline] |
Assignment operator
Definition at line 1250 of file function.h.
BALL_INLINE bool BALL::Product< First, Second, DataType >::operator== | ( | const Product< First, Second, DataType > & | product | ) | const [inline] |
Equality operator
Definition at line 1260 of file function.h.
void BALL::Product< First, Second, DataType >::setFirst | ( | const First & | first | ) | [inline] |
set the first argument of the product
Definition at line 480 of file function.h.
void BALL::Product< First, Second, DataType >::setSecond | ( | const Second & | second | ) | [inline] |
set the second argument of the product
second | the second argument |
Definition at line 507 of file function.h.
First BALL::Product< First, Second, DataType >::first_ [protected] |
Definition at line 528 of file function.h.
Second BALL::Product< First, Second, DataType >::second_ [protected] |
Definition at line 532 of file function.h.