Click or drag to resize

DependentVariableDerivatives.ComputeDerivatives Method (Double,Double[],Double[])

Compute the derivatives of the dependent variables and store them to the given array.

Namespace:  AGI.Foundation.NumericalMethods.Advanced
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public virtual void ComputeDerivatives(
	double x,
	double[] y,
	double[] derivativeArray
)

Parameters

x
Type: System.Double
The current independent variable value.
y
Type:System.Double[]
The current dependent variable values.
derivativeArray
Type:System.Double[]
The derivative array as output. Upon returning, each element in the array should represent the first derivative of the corresponding element in the y.
See Also