﻿RungeKutta5OdeSolver Class   # 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

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

The RungeKutta5OdeSolver type exposes the following members. Constructors
NameDescription RungeKutta5OdeSolver
Constructs an instance of RungeKutta5OdeSolver.
Top Methods
NameDescription 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
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