NMath Reference Guide

## Runge |

Class RungeKutta5OdeSolver solves an initial value, Ordinary Differential
Equation (ODE) using a non-adaptive explicit Runge-Kutta formula of order 5.

Inheritance Hierarchy

Syntax

The RungeKutta5OdeSolver type exposes the following members.

Constructors

Name | Description | |
---|---|---|

RungeKutta5OdeSolver | Constructs an instance of RungeKutta5OdeSolver. |

Methods

Name | Description | |
---|---|---|

Solve(FuncDouble, DoubleVector, DoubleVector, DoubleVector, DoubleVector) | Solve the given initial value problem: y' = f(t,y) The step sequence is determined by timeSpan | |

Solve(FuncDouble, Double, Double, DoubleVector, Double) | Solve the given initial value problem: y' = f(t,y) The step sequence is determined by timeSpan | |

Solve(FuncDouble, DoubleVector, DoubleVector, DoubleVector, DoubleVector, RungeKutta5OdeSolverOptions) | Solve the given initial value problem: y' = f(t,y) or y' = M(t,y)*f(t,y) for problems that involve a mass matrix M. The step sequence is determined by timeSpan |

Remarks

Solves the given initial value problem for ordinary differential equations
of the form
y' = f(t,y)
or
y' = M(t,y)*f(t,y)
for problems that involve a mass matrix M.
This is a non-adaptive solver. The step sequence is determined by a user
specifed vector of time values, but the derivative function is evaluated multiple
times per step. The solver implements the Dormand-Prince method of order 5 in
a general framework of explicit Runge-Kutta methods.

See Also