Calculates the Chebyshev interpolating polynomial of the specified degree over the given interval for the specified function.

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

Syntax

Visual Basic (Declaration)
Public Shared Function GetInterpolatingPolynomial ( _
	function As RealFunction, _
	lowerBound As Double, _
	upperBound As Double, _
	degree As Integer _
) As ChebyshevSeries
C#
public static ChebyshevSeries GetInterpolatingPolynomial (
	RealFunction function,
	double lowerBound,
	double upperBound,
	int degree
)
Visual C++
public:
static ChebyshevSeries^ GetInterpolatingPolynomial (
	RealFunction^ function, 
	double lowerBound, 
	double upperBound, 
	int degree
)

Parameters

function
Extreme.Mathematics.RealFunction
A RealFunction delegate that specifies the function to interpolate.
lowerBound
System.Double
The lower bound of the interval.
upperBound
System.Double
The upper bound of the interval.
degree
System.Int32
The desired degree of the interpolating polynomial.

Return Value

A ChebyshevSeries object.

Remarks

The interpolating polynomial through the Chebyshev

Exceptions

ExceptionCondition
System.ArgumentExceptionThe interval has zero length.
System.ArgumentNullExceptionfunction is nullNothingnullptr.
System.ArgumentOutOfRangeExceptiondegree is less than zero.