BarycentricBasis.FillDerivatives Method

Definition

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

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 derivatives.
derivatives  DenseVector<Double>
A vector with length greater than or equal to the number of functions in this FunctionBasis.

Exceptions

DimensionMismatchException

The length of derivatives is not equal to the number of member functions in this FunctionBasis.

InvalidOperationException

No derivatives are available for this FunctionBasis.

See Also