CubicSpline.GetIntervalPolynomial Method

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

GetIntervalPolynomial(Double) Returns a polynomial that represents the cubic spline at the specified point.
GetIntervalPolynomial(Int32, Boolean) Returns a polynomial that represents the cubic spline on the specified interval.

GetIntervalPolynomial(Double)

Returns a polynomial that represents the cubic spline at the specified point.
C#
public Polynomial GetIntervalPolynomial(
	double x
)

Parameters

x  Double
A real number.

Return Value

Polynomial
A Polynomial object.

GetIntervalPolynomial(Int32, Boolean)

Returns a polynomial that represents the cubic spline on the specified interval.
C#
public Polynomial GetIntervalPolynomial(
	int interval,
	bool centerOnLowerBound
)

Parameters

interval  Int32
A real number.
centerOnLowerBound  Boolean
Indicates whether the polynomial coefficients should be computed with the lower bound as the origin.

Return Value

Polynomial
A Polynomial object.

See Also