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
)
Public Sub Integrate (
step As Double,
initialIndependentVariableValue As Double,
initialDependentVariableValues As Double(),
finalDependentVariableValues As Double()
)
public:
void Integrate(
double step,
double initialIndependentVariableValue,
array<double>^ initialDependentVariableValues,
array<double>^ finalDependentVariableValues
)
member Integrate :
step : float *
initialIndependentVariableValue : float *
initialDependentVariableValues : float[] *
finalDependentVariableValues : float[] -> unit
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