Class RungeKutta<V>

java.lang.Object
dk.jonaslindstrom.ruffini.reals.algorithms.RungeKutta<V>

public class RungeKutta<V> extends Object
Numerical integration using the Runge-Kutta method.
  • Constructor Details

  • Method Details

    • step

      public Pair<Double,V> step(double dt)
      Iterate the integrator by dt time units and return the resulting time and point
    • stream

      public java.util.stream.Stream<Pair<Double,V>> stream(double dt)
      Get a stream of points with the given step size.