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