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

IconTypeDescription
DerivativesAt(Double)
Evaluates the derivatives of the member functions of this FunctionBasis at a specified value.
Equals(Object)
Determines whether the specified Object is equal to the current 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()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
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()
Returns a String that represents the current Object.
ValuesAt(Double)
Evaluates the member functions of this FunctionBasis at a specified value.

Constructors

IconTypeDescription
PolynomialBasisNew(Int32)
Constructs a new GeneralFunctionBasis from an array of RealFunction delegates.

Properties

IconTypeDescription
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.

Inheritance Hierarchy

System.Object
  Extreme.Mathematics.Curves.FunctionBasis
    Extreme.Mathematics.Curves.PolynomialBasis

See Also