Click or drag to resize

PolynomialIntegratorIntegrate Method

Integrates the given polynomial within the given interval.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public double Integrate(
	OneVariableFunction function,
	double a,
	double b
)

Parameters

function  OneVariableFunction
The polynomial to integrate.
a  Double
The lower bound.
b  Double
The upper bound.

Return Value

Double
The exact area under the given polynomial within the current interval.

Implements

IIntegratorIntegrate(OneVariableFunction, Double, Double)
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if passed a non-polynomial function object.
Remarks
The interval is assumed to be closed.
See Also