Public Member Functions | Static Protected Attributes | Static Private Member Functions
vnl_simpson_integral Class Reference

#include <vnl_simpson_integral.h>

Inheritance diagram for vnl_simpson_integral:
Inheritance graph
[legend]

List of all members.

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_fnctpfnct_ = 0

Static Private Member Functions

static double int_fnct_ (double *x)
 used to extract integrand functions of the vnl_integrant_fnct.

Detailed Description

Definition at line 10 of file vnl_simpson_integral.h.


Constructor & Destructor Documentation

vnl_simpson_integral::vnl_simpson_integral ( ) [inline]

Definition at line 18 of file vnl_simpson_integral.h.


Member Function Documentation

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.


Member Data Documentation

vnl_integrant_fnct * vnl_definite_integral::pfnct_ = 0 [static, protected, inherited]

Definition at line 14 of file vnl_definite_integral.h.


The documentation for this class was generated from the following files: