DependentVariableDerivativesComputeDerivatives 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
)
Public Overridable Sub ComputeDerivatives (
x As Double,
y As Double(),
derivativeArray As Double()
)
public:
virtual void ComputeDerivatives(
double x,
array<double>^ y,
array<double>^ derivativeArray
)
abstract ComputeDerivatives :
x : float *
y : float[] *
derivativeArray : float[] -> unit
override ComputeDerivatives :
x : float *
y : float[] *
derivativeArray : float[] -> unit
Parameters
- x
- Type: SystemDouble
The current independent variable value. - y
- Type: SystemDouble
The current dependent variable values. - derivativeArray
- Type: SystemDouble
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