Click or drag to resize

RungeKutta5OdeSolver Class

Class RungeKutta5OdeSolver solves an initial value, Ordinary Differential Equation (ODE) using a non-adaptive explicit Runge-Kutta formula of order 5.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreOdeSolverBase
    CenterSpace.NMath.CoreRungeKutta5OdeSolver

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public class RungeKutta5OdeSolver : OdeSolverBase

The RungeKutta5OdeSolver type exposes the following members.

Constructors
 NameDescription
Public methodRungeKutta5OdeSolver Constructs an instance of RungeKutta5OdeSolver.
Top
Methods
 NameDescription
Public methodSolve(FuncDouble, DoubleVector, DoubleVector, DoubleVector, DoubleVector) Solve the given initial value problem: y' = f(t,y) The step sequence is determined by timeSpan
Public methodSolve(FuncDouble, Double, Double, DoubleVector, Double) Solve the given initial value problem: y' = f(t,y) The step sequence is determined by timeSpan
Public methodSolve(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
Top
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