Options
All
  • Public
  • Public/Protected
  • All
Menu

Adaptive Runge–Kutta

The class is constructed with the following inputs:

param

prescribed error for the solution

param

start step size

param

smallest step size allowed

Hierarchy

  • AdaptiveRungeKutta

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • Default value eps: Real = 0.000001
    • Default value h1: Real = 0.0001
    • Default value hmin: Real = 0

    Returns AdaptiveRungeKutta

Properties

Private _eps

_eps: Real

Private _h1

_h1: Real

Private _hmin

_hmin: Real

Methods

f1

  • Integrate the ode from $ x1 $ to $ x2 $ with initial value condition $ f(x1)=y1 $.

    The ode is given by a function $ F: R \times K^n \rightarrow K^n $ as $ f'(x) = F(x,f(x)) $, $K=R, C$

    Parameters

    Returns Complex

f2

  • Integrate the ode from $ x1 $ to $ x2 $ with initial value condition $ f(x1)=y1 $.

    The ode is given by a function $ F: R \times K^n \rightarrow K^n $ as $ f'(x) = F(x,f(x)) $, $K=R, C$

    Parameters

    Returns Complex[]

Private rkck

Private rkqs