GeneralFunctionBasis.FillDerivatives Method

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

FillDerivatives(Double, DenseVector<Double>) Fills a vector with the derivatives of the member functions at a specified value.
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.

FillDerivatives(Double, DenseVector<Double>)

Fills a vector with the derivatives of the member functions at a specified value.
C#
public override void FillDerivatives(
	double x,
	DenseVector<double> derivatives
)

Parameters

x  Double
The value at which to evaluate the this.derivatives.
derivatives  DenseVector<Double>
A vector with length greater than or equal to the number of functions in this FunctionBasis.

Exceptions

ArgumentNullException

derivatives is null.

DimensionMismatchException

The length of derivatives is smaller than the number of member functions in this FunctionBasis.

See Also