Barycentric Series.Get Chebyshev 2Interpolator Method
Calculates the Chebyshev interpolating polynomial
of the second kind of the specified degree over
the given interval for the specified function.
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A BarycentricSeries that interpolates function over the interval from lowerBound to upperBound through the Chebyshev points of the second kind of degree degree.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static BarycentricSeries GetChebyshev2Interpolator(
Func<double, double> function,
double lowerBound,
double upperBound,
int degree
)
Parameters
- function Func<Double, Double>
- A delegate that represents the function to interpolate.
- lowerBound Double
- The lower bound of the interval.
- upperBound Double
- The upper bound of the interval.
- degree Int32
- The desired degree of the interpolating polynomial.
Return Value
BarycentricSeriesA BarycentricSeries that interpolates function over the interval from lowerBound to upperBound through the Chebyshev points of the second kind of degree degree.
Exceptions
Argument | The interval has zero length. |
Argument | function is null. |
Argument | degree is less than zero. |