Polynomial Basis<T> Class
Represents a FunctionBasis<T> for the polynomials
up to a specified degree.
Definition
Namespace: Numerics.NET.Curves.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
C#
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
[SerializableAttribute]
public class PolynomialBasis<T> : FunctionBasis<T>
where T : Object, INumberBase<T>
- Inheritance
- Object → FunctionBasis<T> → PolynomialBasis<T>
Type Parameters
- T
Remarks
Use a PolynomialBasis<T> object to represent a basis for the polynomials. Only in rare cases will it be necessary to construct a PolynomialBasis<T>, as most functionality is available through the Polynomial class.
The basis functions of a PolynomialBasis<T> are the monomials of degree 0 up to and including the specified degree.
The Chebyshev polynomials form an alternate basis for the polynomials and have many desirable numerical properties.
Constructors
Polynomial | Constructs a new [!:GeneralFunctionBasis<T>] from an array of function of one variable delegates. |
Properties
Item |
Gets an element of the collection as a
function of one variable.
(Overrides FunctionBasis<T>.Item[Int32]) |
Length |
Gets the number of items in this FunctionBasis.
(Inherited from FunctionBasis<T>) |
Methods
Derivatives |
Evaluates the derivatives of the member functions of this
FunctionBasis at a specified value.
(Inherited from FunctionBasis<T>) |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Fill |
Fills a vector with the derivatives of the
member functions at a specified value.
(Overrides FunctionBasis<T>.FillDerivatives(T, DenseVector<T>)) |
Fill |
Fills the rows of a DenseMatrix<T> with the values
of the member functions of a FunctionBasis evaluated for each element
in a Vector.
(Inherited from FunctionBasis<T>) |
Fill |
Fills a dense vector with the values of the
member functions at a specified value.
(Overrides FunctionBasis<T>.FillValues(T, DenseVector<T>)) |
Fill |
Fills the rows of a DenseMatrix<T> with the values
of the member functions of a FunctionBasis evaluated for each element
in a Vector.
(Inherited from FunctionBasis<T>) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Get |
Constructs a new Polynomial with the
specified coefficients.
(Overrides FunctionBasis<T>.GetFunction(Vector<T>)) |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Least |
Gets the least squares fit of target data in terms of
the components of the FunctionBasis.
(Inherited from FunctionBasis<T>) |
Least |
Gets the least squares fit of target data in terms of
the components of the FunctionBasis.
(Inherited from FunctionBasis<T>) |
Least |
Gets the least squares fit of target data in terms of
the components of the FunctionBasis.
(Inherited from FunctionBasis<T>) |
Least |
Gets the least squares fit of target data in terms of
the components of the FunctionBasis.
(Inherited from FunctionBasis<T>) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Values |
Evaluates the member functions of this
FunctionBasis at a specified value.
(Inherited from FunctionBasis<T>) |