﻿RungeKutta45OdeSolver Class

# RungeKutta45OdeSolver Class

Class RungeKutta45OdeSolver solves an initial value, Ordinary Differential Equation (ODE) using an explicit Runge-Kutta (4,5) formula known as the Dormand-Prince pair.
Inheritance Hierarchy
SystemObject
CenterSpace.NMath.CoreOdeSolverBase
CenterSpace.NMath.CoreRungeKutta45OdeSolver

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

The RungeKutta45OdeSolver type exposes the following members.

Constructors
NameDescription
RungeKutta45OdeSolver Constructs an instance of RungeKutta45OdeSolver.
Top
Methods
NameDescription
Solve(FuncDouble, DoubleVector, DoubleVector, DoubleVector, DoubleVector) Solves the given initial value problem of ordinary differential equation of the form y' = f(t,y)
Solve(FuncDouble, Double, Double, DoubleVector, Double) Solves the given initial value problem of ordinary differential equation of the form y' = f(t,y) using default solver options.
Solve(FuncDouble, DoubleVector, DoubleVector, DoubleVector, DoubleVector, RungeKutta45OdeSolverOptions) Solves initial value problem of ordinary differential equations. This function solves of equations of the form y' = f(t,y). If the equations involve a mass matrix, either constant of time and state dependent, it must be specified using the solverOptions parameter. The mass matrix must be nonsigular.
Solve(FuncDouble, Double, Double, DoubleVector, Double, RungeKutta45OdeSolverOptions) Solves the given initial value problem of ordinary differential equation of the form y' = f(t,y) or y' = M(t,y)*f(t,y) for problems that involve a mass matrix M.
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. RungeKutta45OdeSolver is a one-step solver – in computing y(tn), it needs only the solution at the immediately preceding time point, y(tn-1). The step size is only the solution at the immediately error bounds specifed in the class RungeKutta45OdeSolver.Options.