Click or drag to resize

RungeKuttaAlgorithmIntegrate Method

Compute an integration step and update the final dependent variables and store the Derivatives.

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 void Integrate(
	double step,
	double initialIndependentVariableValue,
	double[] initialDependentVariableValues,
	double[] finalDependentVariableValues
)

Parameters

step
Type: SystemDouble
The size of the step "h" to take.
initialIndependentVariableValue
Type: SystemDouble
The initial independent variable value "t[n]".
initialDependentVariableValues
Type: SystemDouble
The initial dependent variable value "y[n]".
finalDependentVariableValues
Type: SystemDouble
The final dependent variable value "y[n+1]" which will be updated.
See Also