SimpsonRuleIntegrateComposite Method |
Composite N-point approximation of the definite integral in the provided interval by Simpson's rule.
Namespace: Altaxo.Calc.IntegrationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double IntegrateComposite(
Func<double, double> f,
double intervalBegin,
double intervalEnd,
int numberOfPartitions
)
Parameters
- f FuncDouble, Double
- The analytic smooth function to integrate.
- intervalBegin Double
- Where the interval starts, inclusive and finite.
- intervalEnd Double
- Where the interval stops, inclusive and finite.
- numberOfPartitions Int32
- Even number of composite subdivision partitions.
Return Value
DoubleApproximation of the finite integral in the given interval.
See Also