Sine Curve.Fill Partial Derivatives Method
Fills a dense vector with the partial derivatives of the curve with respect to
each of the curve parameters.
Definition
Namespace: Numerics.NET.Curves.Nonlinear
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public override void FillPartialDerivatives(
double x,
DenseVector<double> derivatives
)
Parameters
- x Double
- The value at which the partial derivatives should be evaluated.
- derivatives DenseVector<Double>
- A dense vector that is to hold the partial derivatives. The length of this vector must be at least 4.
Remarks
This method calculates the partial derivatives at the specified point with respect to the parameters of the curve. The current values of the parameters are used.
Exceptions
Argument | derivatives is null. |
Dimension | The number of elements of derivatives is less than the number of parameters of the curve. |