CubicSpline.GetIntervalPolynomial Method

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

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