#include <numericalIntegrator.h>

Public Member Functions |
|
|
Constructors and destructor.
|
|
| NumericalIntegrator () | |
| Default constructor. |
|
| NumericalIntegrator (const NumericalIntegrator &nint) | |
| Copy constructor. |
|
| virtual | ~NumericalIntegrator () |
| Destructor. |
|
|
Assignment
|
|
| NumericalIntegrator & | operator= (const NumericalIntegrator &nint) |
| Assignment operator. |
|
|
Predicates
|
|
| bool | operator== (const NumericalIntegrator &nint) const |
| Equality operator. |
|
|
Accessors
|
|
| void | setFunction (const Function &function) |
| set the function to be integrated
|
|
| const Function & | getFunction () const |
| Get the function to be integrated
(const version). |
|
| Function & | getFunction () |
| Get the function to be integrated
(const version). |
|
| DataType | getValue (const DataType &x) const |
| Get the value of the function at
position x . |
|
| DataType | integrate (const DataType &from, const DataType &to) const |
| Integrate the function numerically.
|
|
Protected Attributes |
|
| Function | function_ |
| Function& BALL::NumericalIntegrator< Function, DataType >::getFunction | ( | ) |
Get the function to be integrated (const version).
| const Function& BALL::NumericalIntegrator< Function, DataType >::getFunction | ( | ) | const |
Get the function to be integrated (const version).
| DataType BALL::NumericalIntegrator< Function, DataType >::getValue | ( | const DataType & | x | ) | const |
Get the value of the function at position x .
| x | the position at which function is
to be evaluated |
function at x| DataType BALL::NumericalIntegrator< Function, DataType >::integrate | ( | const DataType & | from, | |
| const DataType & | to | |||
| ) | const |
Integrate the function numerically.
| from | lower limit of the integration | |
| to | upper limit of the integration |
| void BALL::NumericalIntegrator< Function, DataType >::setFunction | ( | const Function & | function | ) |
set the function to be integrated
| the | function to be assigned |
1.5.8