OdeAdamsMoulton Type

Solves an initial-value problem for nonstiff ordinary differential equations using the Adams-Moulton method. dy(i)/dt = f(i,t,y(1),y(2),...,y(N)).

Constructors

Constructor Description

OdeAdamsMoulton()

Full Usage: OdeAdamsMoulton()

Initializes a new instance of the OdeAdamsMoulton class.

OdeAdamsMoulton(function, numEquations)

Full Usage: OdeAdamsMoulton(function, numEquations)

Parameters:
    function : OdeFunction - A function that evaluates the right side of the differential equations.
    numEquations : int - The number of differential equations.

Initializes a new instance of the OdeAdamsMoulton class.

function : OdeFunction

A function that evaluates the right side of the differential equations.

numEquations : int

The number of differential equations.

Instance members

Instance member Description

this.InitializeODEs

Full Usage: this.InitializeODEs

Parameters:
    function : OdeFunction - A function that evaluates the right side of the differential equations.
    numEquations : int - The number of differential equations.

Modifiers: abstract

Method that initialize the ODE to solve.

function : OdeFunction

A function that evaluates the right side of the differential equations.

numEquations : int

The number of differential equations.

this.InitializeODEs

Full Usage: this.InitializeODEs

Parameters:
    function : OdeFunction - A function that evaluates the right side of the differential equations.
    numEquations : int - The number of differential equations.
    t0 : float - The initial value for the independent variable.
    y0 : float[] - A vector of size N containing the initial conditions. N is the number of differential equations.

Modifiers: abstract

Method that initialize the ODE to solve.

function : OdeFunction

A function that evaluates the right side of the differential equations.

numEquations : int

The number of differential equations.

t0 : float

The initial value for the independent variable.

y0 : float[]

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