| 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 Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public class RungeKutta45OdeSolver : OdeSolverBase
Public Class RungeKutta45OdeSolver
Inherits OdeSolverBase
public ref class RungeKutta45OdeSolver : public OdeSolverBase
type RungeKutta45OdeSolver =
class
inherit OdeSolverBase
end
The RungeKutta45OdeSolver type exposes the following members.
Constructors Methods | Name | Description |
---|
| 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.
|
TopRemarks
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.
See Also