Namespaces

Types in MathNet.Numerics.OdeSolvers

Type AdamsBashforth

Namespace MathNet.Numerics.OdeSolvers

Static Functions

Public Static Functions

Double[] FirstOrder(double y0, double start, double end, int N, Func<double, double, double> f)

First Order AB method(same as Forward Euler)
Parameters
double y0

Initial value

double start

Start Time

double end

End Time

int N

Size of output array(the larger, the finer)

Func<double, double, double> f

ode model

Return
Double[]

approximation with size N

Double[] FourthOrder(double y0, double start, double end, int N, Func<double, double, double> f)

Fourth Order AB Method
Parameters
double y0

Initial value 1

double start

Start Time

double end

End Time

int N

Size of output array(the larger, the finer)

Func<double, double, double> f

ode model

Return
Double[]

approximation with size N

Double[] SecondOrder(double y0, double start, double end, int N, Func<double, double, double> f)

Second Order AB Method
Parameters
double y0

Initial value 1

double start

Start Time

double end

End Time

int N

Size of output array(the larger, the finer)

Func<double, double, double> f

ode model

Return
Double[]

approximation with size N

Double[] ThirdOrder(double y0, double start, double end, int N, Func<double, double, double> f)

Third Order AB Method
Parameters
double y0

Initial value 1

double start

Start Time

double end

End Time

int N

Size of output array(the larger, the finer)

Func<double, double, double> f

ode model

Return
Double[]

approximation with size N