#include <numericalIntegrator.h>
Inheritance diagram for NumericalIntegrator< Function, DataType >:
Public Member Functions | |
Constructors and destructor. | |
NumericalIntegrator () throw () | |
Default constructor. | |
NumericalIntegrator (const NumericalIntegrator &nint) throw () | |
Copy constructor. | |
virtual | ~NumericalIntegrator () throw () |
Destructor. | |
Assignment | |
NumericalIntegrator & | operator= (const NumericalIntegrator &nint) throw () |
Assignment operator. | |
Predicates | |
bool | operator== (const NumericalIntegrator &nint) const throw () |
Equality operator. | |
Accessors | |
void | setFunction (const Function &function) throw () |
set the function to be integrated | |
const Function & | getFunction () const throw () |
Get the function to be integrated (const version). | |
Function & | getFunction () throw () |
Get the function to be integrated (const version). | |
DataType | getValue (const DataType &x) const throw () |
Get the value of the function at position x . | |
DataType | integrate (const DataType &from, const DataType &to) const throw () |
Integrate the function numerically. | |
Protected Attributes | |
Function | function_ |
|
Get the function to be integrated (const version).
|
|
Get the function to be integrated (const version).
|
|
Get the value of the function at position x .
|
|
Integrate the function numerically.
|
|
set the function to be integrated
|