Class RK4

Inheritance Relationships

Base Type

  • public Indigo::RungeKutta

Class Documentation

class RK4 : public Indigo.RungeKutta

Class container for Runge-Kutta 4 method.

Public Functions

function RK4()

Runge-Kutta 4 method.

\[\begin{split} \begin{array}{c|ccccc} 0 & 0 & 0 & 0 & 0 \\ 1/2 & 1/2 & 0 & 0 & 0 \\ 1/2 & 0 & 1/2 & 0 & 0 \\ 1 & 0 & 0 & 1 & 0 \\ \hline & 1/6 & 1/3 & 1/3 & 1/6 \end{array} \end{split}\]