Cubic Spline.Get Interval Polynomial Method
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Get | Returns a polynomial that represents the cubic spline at the specified point. |
Get | 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.
public Polynomial GetIntervalPolynomial(
double x
)
Parameters
- x Double
- A real number.
Return Value
PolynomialA Polynomial object.
GetIntervalPolynomial(Int32, Boolean)
Returns a polynomial that represents the cubic spline on the specified interval.
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
PolynomialA Polynomial object.