Click or drag to resize

RungeKuttaAlgorithm Constructor (Double, Double, Double)

Initializes a new instance of a Runge-Kutta algorithm with the given Butcher Tableau.

y[n+1] = y[n] + h * Sum(i=0 to s){ b[i]*k[i] }

k[i] = f(t[n] + c[i]*h, y[n] + Sum(j=0 to i-1){ a[i,j] * k[j] } )

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 RungeKuttaAlgorithm(
	double[] stages,
	double[] weights,
	double[][] coefficients
)

Parameters

stages
Type: SystemDouble
The coefficients "c". These represent the factors multiplying the step size by which to advance the independent variable at each stage.
weights
Type: SystemDouble
The coefficients "b". These represent the coefficients of the "k" stages summed together to represent the slope.
coefficients
Type: SystemDouble
The coefficients "a". These represent the factors multiplying the derivatives to provide the intermediate state information.
See Also