Use the Gauss-Legendre formula to perform integration. More...
#include <itkFEMUtility.h>
Public Member Functions | |
double | Integrate (double(*f)(double), double a, double b, int n=3) |
Static Public Attributes | |
static const double | one |
static const double | two |
static const double | w [110] |
static const double | z [110] |
static const double | zero |
Use the Gauss-Legendre formula to perform integration.
Numerical integration (Gauss-Legendre formula). Integrates function f(x) from x=a to x=b in n points.
Definition at line 39 of file itkFEMUtility.h.
double itk::fem::GaussIntegrate::Integrate | ( | double(*)(double) | f, | |
double | a, | |||
double | b, | |||
int | n = 3 | |||
) |
const double itk::fem::GaussIntegrate::one [static] |
Definition at line 42 of file itkFEMUtility.h.
const double itk::fem::GaussIntegrate::two [static] |
Definition at line 43 of file itkFEMUtility.h.
const double itk::fem::GaussIntegrate::w[110] [static] |
Definition at line 45 of file itkFEMUtility.h.
const double itk::fem::GaussIntegrate::z[110] [static] |
Definition at line 44 of file itkFEMUtility.h.
const double itk::fem::GaussIntegrate::zero [static] |
Definition at line 41 of file itkFEMUtility.h.