#include <vnl_adaptsimpson_integral.h>
|
| double | adaptivesimpson (double(*f)(double *), double a, double b, double eps, int level, int level_max) |
| | real computation. More...
|
| |
|
| static double | int_fnct_ (double *x) |
| | used to wrap the function class to an ordinary function. More...
|
| |
Definition at line 11 of file vnl_adaptsimpson_integral.h.
◆ vnl_adaptsimpson_integral()
| vnl_adaptsimpson_integral::vnl_adaptsimpson_integral |
( |
int |
depth = 32 | ) |
|
|
inline |
◆ adaptivesimpson()
| double vnl_adaptsimpson_integral::adaptivesimpson |
( |
double(*)(double *) |
f, |
|
|
double |
a, |
|
|
double |
b, |
|
|
double |
eps, |
|
|
int |
level, |
|
|
int |
level_max |
|
) |
| |
|
protected |
◆ int_fnct_()
| double vnl_adaptsimpson_integral::int_fnct_ |
( |
double * |
x | ) |
|
|
staticprivate |
◆ integral()
| double vnl_adaptsimpson_integral::integral |
( |
vnl_integrant_fnct * |
f, |
|
|
double |
a, |
|
|
double |
b, |
|
|
double |
accuracy |
|
) |
| |
a and b are integral limits respectively.
n is the number of intervals used in integral. accuracy is the accuracy you want to achieve. Normally accuracy > 1e-11)
Definition at line 10 of file vnl_adaptsimpson_integral.cxx.
◆ set_fnct()
◆ depth_
| int vnl_adaptsimpson_integral::depth_ |
|
protected |
◆ pfnct_
The documentation for this class was generated from the following files: