Fills a GeneralVector with the partial derivatives of the curve with respect to
each of the curve parameters.
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics)
Version: 2.1.7017.0
Syntax
| Visual Basic (Declaration) |
|---|
Public Overridable Sub FillPartialDerivatives ( _ x As Double, _ derivatives As GeneralVector _ ) |
| C# |
|---|
public virtual void FillPartialDerivatives ( double x, GeneralVector derivatives ) |
| Visual C++ |
|---|
public: virtual void FillPartialDerivatives ( double x, GeneralVector^ derivatives ) |
Parameters
- x
- System.Double
The value at which the partial derivatives should be evaluated.
- derivatives
- Extreme.Mathematics.LinearAlgebra.GeneralVector
A GeneralVector that is to hold the partial derivatives. The length of this vector must be at least the number of parameters of the curve.
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.
The default implementation of this method calculates the partial derivatives using simple forward differences.
Exceptions
| Exception | Condition |
|---|---|
| System.ArgumentNullException | derivatives is nullNothingnullptr.
|