ChebyshevSeries<T> Class

Represents a Chebyshev polynomial series.

Definition

Namespace: Numerics.NET.Curves.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
C#
[SerializableAttribute]
public sealed class ChebyshevSeries<T> : PolynomialBase<T>
where T : Object, INumberBase<T>
Inheritance
Object  →  Curve<T>  →  LinearCombination<T>  →  PolynomialBase<T>  →  ChebyshevSeries<T>

Type Parameters

T

Remarks

Chebyshev series is a linear combination of Chebyshev polynomials. The Chebyshev polynomials are never formed explicitly. All calculations can be performed using only the coefficients.

The Chebyshev polynomials provide an alternate basis for representating general polynomials. Two characteristics make Chebyshev polynomials especially attractive. They are mutually orthogonal, and there exists a simple recurrence relation between consecutive polynomials.

Chebyshev polynomials are defined over the interval [-1, 1]. Using Chebyshev expansions outside of this interval is usually not meaningful and is to be avoided. To allow expansions over any finite interval, transformations are applied wherever necessary.

The ChebyshevSeries class inherits from PolynomialBase This class defines a number of properties shared by all polynomial classes. PolynomialBase is itself derived from LinearCombination.

The parameters of a Chebyshev series are the coefficients of the polynomial.

The Degree of a Chebyshev series is the highest degree of a Chebyshev polynomial that appears in the sum. The number of parameters of the series equals the degree plus one.

Constructors

ChebyshevSeries<T>(Int32) Constructs a new ChebyshevSeries of the specified degree over the interval [-1, 1].
ChebyshevSeries<T>(Vector<T>) Constructs a new ChebyshevSeries with the specified coefficients over the interval [-1, 1].
ChebyshevSeries<T>(Int32, T, T) Constructs a new ChebyshevSeries of the specified degree over the specified interval.
ChebyshevSeries<T>(Vector<T>, T, T) Constructs a new ChebyshevSeries with the specified coefficients over the specified interval.

Properties

Basis Gets the function basis for the polynomial.
(Overrides LinearCombination<T>.Basis)
Coefficient Gets or sets the coefficient of the function with the specified index.
(Inherited from LinearCombination<T>)
Degree Gets the degree of the polynomial.
(Inherited from PolynomialBase<T>)
LowerBound Gets or sets the lower bound of the interval over which this ChebyshevSeries is defined.
Parameters Gets the collection of parameters that determine the shape of this Curve.
(Inherited from Curve<T>)
UpperBound Gets or sets the upper bound of the interval over which this ChebyshevSeries is defined.

Methods

Add(LinearCombination<T>) Adds another LinearCombination<T> to this instance.
(Inherited from LinearCombination<T>)
Add(T, LinearCombination<T>) Adds two Chebyshev series.
(Overrides LinearCombination<T>.Add(T, LinearCombination<T>))
Clone Constructs an exact copy of this instance.
(Inherited from Curve<T>)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FindRoots Gets the set of X-coordinates where the curve crosses the X-axis.
(Inherited from Curve<T>)
GetCurveFitter Returns a CurveFitter object that can be used to fit the curve to data.
(Inherited from LinearCombination<T>)
GetDerivative Returns a Curve that represents the derivative of this ChebyshevSeries.
(Overrides Curve<T>.GetDerivative())
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetInterpolatingPolynomial Calculates the Chebyshev interpolating polynomial of the specified degree over the given interval for the specified function.
GetTypeGets the Type of the current instance.
(Inherited from Object)
Integral Gets the definite integral of the ChebyshevSeries between the specified X-coordinates.
(Overrides Curve<T>.Integral(T, T))
LeastSquaresFit(Vector<T>, Vector<T>, Int32) Returns the Polynomial that is the best least squares fit through the given set of points.
LeastSquaresFit(Vector<T>, Vector<T>, T, T, Int32) Returns the Polynomial that is the best least squares fit through the given set of points.
SetParameter Sets a curve parameter to the specified value.
(Inherited from Curve<T>)
SlopeAt Evaluates the slope or first derivative of a Chebyshev series for a complex number argument.
(Overrides LinearCombination<T>.SlopeAt(T))
Solve Finds the x value where the curve reaches the specified y value.
(Inherited from Curve<T>)
Subtract(LinearCombination<T>) Subtracts another LinearCombination<T> from this instance.
(Inherited from LinearCombination<T>)
TangentAt Gets the tangent line to the curve at the specified X-coordinate.
(Inherited from Curve<T>)
ToStringReturns a string that represents the current object.
(Inherited from Object)
ValueAt Evaluates the Chebyshev series for a real argument.
(Overrides LinearCombination<T>.ValueAt(T))

See Also