#include <vnl_simpson_integral.h>
Public Member Functions | |
vnl_simpson_integral () | |
double | integral (vnl_integrant_fnct *f, double a, double b, long n) |
a and b are integral limits respectively. | |
void | set_fnct (vnl_integrant_fnct *f) |
Static Protected Attributes | |
static vnl_integrant_fnct * | pfnct_ = 0 |
Static Private Member Functions | |
static double | int_fnct_ (double *x) |
used to extract integrand functions of the vnl_integrant_fnct. |
Definition at line 10 of file vnl_simpson_integral.h.
vnl_simpson_integral::vnl_simpson_integral | ( | ) | [inline] |
Definition at line 18 of file vnl_simpson_integral.h.
double vnl_simpson_integral::int_fnct_ | ( | double * | x | ) | [static, private] |
used to extract integrand functions of the vnl_integrant_fnct.
Definition at line 4 of file vnl_simpson_integral.cxx.
double vnl_simpson_integral::integral | ( | vnl_integrant_fnct * | f, |
double | a, | ||
double | b, | ||
long | n | ||
) |
a and b are integral limits respectively.
n is the number of intervals used in integral. The actual subinterval used is 2* num_intervals_
Definition at line 9 of file vnl_simpson_integral.cxx.
void vnl_definite_integral::set_fnct | ( | vnl_integrant_fnct * | f | ) | [inline, inherited] |
Definition at line 19 of file vnl_definite_integral.h.
vnl_integrant_fnct * vnl_definite_integral::pfnct_ = 0 [static, protected, inherited] |
Definition at line 14 of file vnl_definite_integral.h.