Ralston4

Contents

Ralston4#

class brainpy.integrators.ode.Ralston4(f, var_type=None, dt=None, name=None, show_code=False, state_delays=None, neutral_delays=None)[source]#

Ralston’s fourth-order method for ODEs.

It has the characteristics of:

  • method stage = 4

  • method order = 4

  • Butcher Tables:

\[\begin{split}\begin{array}{c|cccc} 0 & 0 & 0 & 0 & 0 \\ .4 & .4 & 0 & 0 & 0 \\ .45573725 & .29697761 & .15875964 & 0 & 0 \\ 1 & .21810040 & -3.05096516 & 3.83286476 & 0 \\ \hline & .17476028 & -.55148066 & 1.20553560 & .17118478 \end{array}\end{split}\]

References