Represents a FunctionBasis for the polynomials
up to a specified degree.
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Class PolynomialBasis _ Inherits FunctionBasis |
| C# |
|---|
public class PolynomialBasis : FunctionBasis |
| C++ |
|---|
public ref class PolynomialBasis : public FunctionBasis |
Methods
| Icon | Type | Description |
|---|---|---|
| DerivativesAt(Double) |
Evaluates the derivatives of the member functions of this
FunctionBasis at a specified value.
| |
| Equals(Object) | ||
| FillDerivatives(Double, GeneralVector) |
Fills a Vector with the derivatives of the
member functions at a specified value.
| |
| FillDerivatives(Vector, GeneralMatrix) |
Fills the rows of a GeneralMatrix with the values
of the member functions of a FunctionBasis evaluated for each element
in a Vector.
| |
| FillValues(Double, GeneralVector) |
Fills a GeneralVector with the values of the
member functions at a specified value.
| |
| FillValues(Vector, GeneralMatrix) |
Fills the rows of a GeneralMatrix with the values
of the member functions of a FunctionBasis evaluated for each element
in a Vector.
| |
| Finalize() | ||
| GetFunction(Double[]()) |
Constructs a new Polynomial with the
specified coefficients.
| |
| GetFunction(Vector) |
Constructs a new Polynomial with the
specified coefficients.
| |
| GetHashCode() | Serves as a hash function for a particular type. | |
| GetType() | Gets the Type of the current instance. | |
| LeastSquaresFit(Double[](), Double[](), Int32) |
Gets the least squares fit of target data in terms of
the components of the FunctionBasis.
| |
| LeastSquaresFit(Double[](), Double[](), Double[]()) |
Gets the least squares fit of target data in terms of
the components of the FunctionBasis.
| |
| LeastSquaresFit(Vector, Vector) |
Gets the least squares fit of target data in terms of
the components of the FunctionBasis.
| |
| LeastSquaresFit(Vector, Vector, Vector) |
Gets the least squares fit of target data in terms of
the components of the FunctionBasis.
| |
| MemberwiseClone() | Creates a shallow copy of the current Object. | |
| ToString() | ||
| ValuesAt(Double) |
Evaluates the member functions of this
FunctionBasis at a specified value.
|
Constructors
| Icon | Type | Description |
|---|---|---|
| PolynomialBasisNew(Int32) |
Constructs a new GeneralFunctionBasis
from an array of RealFunction
delegates.
|
Properties
| Icon | Type | Description |
|---|---|---|
| Item(Int32) |
Gets an element of the collection as a
RealFunction.
| |
| Length |
Gets the number of items in this FunctionBasis.
|
Remarks
Use a PolynomialBasis object to represent
a basis for the polynomials. Only in rare cases will it be necessary
to construct a PolynomialBasis, as most functionality
is available through the Polynomial class.
The basis functions of a PolynomialBasis are the monomials of degree 0 up to and including the specified degree.
The Chebyshev polynomials form an ChebyshevBasis for the polynomials and have many desirable numerical properties.