#include <vnl_adaptsimpson_integral.h>
Inheritance diagram for vnl_adaptsimpson_integral:

Definition at line 10 of file vnl_adaptsimpson_integral.h.
Public Member Functions | |
| vnl_adaptsimpson_integral (int deepth=32) | |
| double | integral (vnl_integrant_fnct *f, double a, double b, double accuracy) |
| a and b are integral limits respectively. | |
| void | set_fnct (vnl_integrant_fnct *f) |
Protected Member Functions | |
| double | adaptivesimpson (double(*f)(double *), double a, double b, double eps, int level, int level_max) |
| real computation. | |
Protected Attributes | |
| int | deepth_ |
| maximum recursion deepth. | |
Static Protected Attributes | |
| static vnl_integrant_fnct * | pfnct_ |
Static Private Member Functions | |
| static double | int_fnct_ (double *x) |
| used to wrap the function class to an ordinary function. | |
| vnl_adaptsimpson_integral::vnl_adaptsimpson_integral | ( | int | deepth = 32 |
) | [inline] |
Definition at line 25 of file vnl_adaptsimpson_integral.h.
| double vnl_adaptsimpson_integral::int_fnct_ | ( | double * | x | ) | [static, private] |
used to wrap the function class to an ordinary function.
Definition at line 5 of file vnl_adaptsimpson_integral.cxx.
| double vnl_adaptsimpson_integral::adaptivesimpson | ( | double(*)(double *) | f, | |
| double | a, | |||
| double | b, | |||
| double | eps, | |||
| int | level, | |||
| int | level_max | |||
| ) | [protected] |
| 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. Norally accuracy > 1e-11)
Definition at line 10 of file vnl_adaptsimpson_integral.cxx.
| void vnl_definite_integral::set_fnct | ( | vnl_integrant_fnct * | f | ) | [inline, inherited] |
Definition at line 21 of file vnl_definite_integral.h.
int vnl_adaptsimpson_integral::deepth_ [protected] |
vnl_integrant_fnct * vnl_definite_integral::pfnct_ [static, protected, inherited] |
Definition at line 15 of file vnl_definite_integral.h.
1.5.1