Chebyshev Series<T> Class
Definition
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1
[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
Chebyshev | Constructs a new ChebyshevSeries of the specified degree over the interval [-1, 1]. |
Chebyshev | Constructs a new ChebyshevSeries with the specified coefficients over the interval [-1, 1]. |
Chebyshev | Constructs a new ChebyshevSeries of the specified degree over the specified interval. |
Chebyshev | 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>) |
Lower | 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>) |
Upper | Gets or sets the upper bound of the interval over which this ChebyshevSeries is defined. |
Methods
Add( |
Adds another LinearCombination<T> to this instance.
(Inherited from LinearCombination<T>) |
Add( |
Adds two Chebyshev series.
(Overrides LinearCombination<T>.Add(T, LinearCombination<T>)) |
Clone |
Constructs an exact copy of this instance.
(Inherited from Curve<T>) |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Find |
Gets the set of X-coordinates where the curve crosses
the X-axis.
(Inherited from Curve<T>) |
Get |
Returns a CurveFitter object that can be used to fit the curve to data.
(Inherited from LinearCombination<T>) |
Get |
Returns a Curve that represents the derivative
of this ChebyshevSeries.
(Overrides Curve<T>.GetDerivative()) |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Calculates the Chebyshev interpolating polynomial of the specified degree over the given interval for the specified function. |
Get | Gets 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)) |
Least | Returns the Polynomial that is the best least squares fit through the given set of points. |
Least | Returns the Polynomial that is the best least squares fit through the given set of points. |
Set |
Sets a curve parameter to the specified value.
(Inherited from Curve<T>) |
Slope |
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( |
Subtracts another LinearCombination<T> from this instance.
(Inherited from LinearCombination<T>) |
Tangent |
Gets the tangent line to the curve at the
specified X-coordinate.
(Inherited from Curve<T>) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Value |
Evaluates the Chebyshev series for a real argument.
(Overrides LinearCombination<T>.ValueAt(T)) |