xBaseOdeRungeKutta Type

Represents a base class for the Runge-Kutta classes.

Constructors

Constructor Description

xBaseOdeRungeKutta()

Full Usage: xBaseOdeRungeKutta()

Instance members

Instance member Description

this.Solve

Full Usage: this.Solve

Parameters:
    y0 : float[] - A vector of size N containing the initial conditions ( at t0). N is the number of differential equations.
    tspan : float[] - A vector specifying the interval of integration (t0,..,tf).

Returns: float[,] A matrix that contains the solution of the differential equations [T, y1,..,yN]. The first column contains the time points and each row corresponds to the solution at a time returned in the corresponding row.

Computes the solution of the differntial equations.

y0 : float[]

A vector of size N containing the initial conditions ( at t0). N is the number of differential equations.

tspan : float[]

A vector specifying the interval of integration (t0,..,tf).

Returns: float[,]

A matrix that contains the solution of the differential equations [T, y1,..,yN]. The first column contains the time points and each row corresponds to the solution at a time returned in the corresponding row.

this.Solve

Full Usage: this.Solve

Parameters:
    y0 : float[] - A vector of size N containing the initial conditions. N is the number of differential equations.
    t0 : float - The initial independent variable value.
    deltaT : float - The step for the interval of integration (t0, t0+deltaT, t0+2*deltaT,...,tf).
    tf : float - The final independent variable value.

Returns: float[,] A matrix that contains the solution of the differential equations [T, y1,..,yN]. The first column contains the time points and each row corresponds to the solution at a time returned in the corresponding row.

Computes the solution of the differntial equations.

y0 : float[]

A vector of size N containing the initial conditions. N is the number of differential equations.

t0 : float

The initial independent variable value.

deltaT : float

The step for the interval of integration (t0, t0+deltaT, t0+2*deltaT,...,tf).

tf : float

The final independent variable value.

Returns: float[,]

A matrix that contains the solution of the differential equations [T, y1,..,yN]. The first column contains the time points and each row corresponds to the solution at a time returned in the corresponding row.

this.Solve

Full Usage: this.Solve

Parameters:
    y0 : float[] - A vector of size N containing the initial conditions. N is the number of differential equations.
    t0 : float - The initial independent variable value.
    deltaT : float - The step for the interval of integration (t0, t0+deltaT, t0+2*deltaT,...,tf).
    tf : float - The final independent variable value.
    solution : OdeSolution - A delegate where to return the solution.

Computes the solution of the differntial equations.

y0 : float[]

A vector of size N containing the initial conditions. N is the number of differential equations.

t0 : float

The initial independent variable value.

deltaT : float

The step for the interval of integration (t0, t0+deltaT, t0+2*deltaT,...,tf).

tf : float

The final independent variable value.

solution : OdeSolution

A delegate where to return the solution.

this.Solve

Full Usage: this.Solve

Parameters:
    y0 : float[] - A vector of size N containing the initial conditions ( at t0). N is the number of differential equations.
    tspan : float[] - A vector specifying the interval of integration (t0,..,tf).
    solution : OdeSolution - A delegate where to return the solution.

Computes the solution of the differntial equations.

y0 : float[]

A vector of size N containing the initial conditions ( at t0). N is the number of differential equations.

tspan : float[]

A vector specifying the interval of integration (t0,..,tf).

solution : OdeSolution

A delegate where to return the solution.