GeneralFunctionBasis Class

Represents a FunctionBasis made up of user-defined functions.

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public class GeneralFunctionBasis : FunctionBasis
Inheritance
Object  →  FunctionBasis  →  GeneralFunctionBasis

Constructors

GeneralFunctionBasis(Func<Double, Double>[]) Constructs a new GeneralFunctionBasis from an array of function of one variable delegates.
GeneralFunctionBasis(Func<Double, Double>[], Func<Double, Double>[]) Constructs a new GeneralFunctionBasis with derivatives from two arrays of function of one variable delegates.

Properties

HasDerivatives Gets or sets whether derivative functions have bee provided for the basis functions of this GeneralFunctionBasis.
Item Gets an element of the collection as a function of one variable.
(Overrides FunctionBasis.Item[Int32])
Length Gets the number of items in this FunctionBasis.
(Inherited from FunctionBasis)

Methods

DerivativesAt Evaluates the derivatives of the member functions of this FunctionBasis at a specified value.
(Inherited from FunctionBasis)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FillDerivatives(Double, DenseVector<Double>) Fills a vector with the derivatives of the member functions at a specified value.
(Overrides FunctionBasis.FillDerivatives(Double, DenseVector<Double>))
FillDerivatives(Vector<Double>, DenseMatrix<Double>) 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)
FillValues(Double, DenseVector<Double>) Fills a dense vector with the values of the member functions at a specified value.
(Overrides FunctionBasis.FillValues(Double, DenseVector<Double>))
FillValues(Vector<Double>, DenseMatrix<Double>) 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)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetFunction Constructs a new LinearCombination from the functions in this instance.
(Inherited from FunctionBasis)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
LeastSquaresFit(Vector<Double>, Vector<Double>) Gets the least squares fit of target data in terms of the components of the FunctionBasis.
(Inherited from FunctionBasis)
LeastSquaresFit(Double[], Double[], Double[]) Gets the least squares fit of target data in terms of the components of the FunctionBasis.
(Inherited from FunctionBasis)
LeastSquaresFit(Double[], Double[], Int32) Gets the least squares fit of target data in terms of the components of the FunctionBasis.
(Inherited from FunctionBasis)
LeastSquaresFit(Vector<Double>, Vector<Double>, Vector<Double>) Gets the least squares fit of target data in terms of the components of the FunctionBasis.
(Inherited from FunctionBasis)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
ValuesAt Evaluates the member functions of this FunctionBasis at a specified value.
(Inherited from FunctionBasis)

See Also