PolynomialBasis<T>.FillDerivatives Method

Definition

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

Overload List

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

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

Parameters

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

Exceptions

ArgumentNullExceptionderivatives is null.
DimensionMismatchExceptionThe length of derivatives is not equal to the number of member functions in this FunctionBasis<T>.

See Also