Namespaces

Types

Type SimpsonRule

Namespace MathNet.Numerics.Integration.Algorithms

Approximation algorithm for definite integrals by Simpson's rule.

Methods

Public static methods

double IntegrateThreePoint(Func<double, double> f, double intervalBegin, double intervalEnd)

Direct 3-point approximation of the definite integral in the provided interval by Simpson's rule.
Parameters
return double Approximation of the finite integral in the given interval.
Func<double, double> f The analytic smooth function to integrate.
double intervalBegin Where the interval starts, inclusive and finite.
double intervalEnd Where the interval stops, inclusive and finite.