Class RungeKutta<V>
java.lang.Object
dk.jonaslindstrom.ruffini.reals.algorithms.RungeKutta<V>
Numerical integration using the Runge-Kutta method.
-
Constructor Summary
ConstructorsConstructorDescriptionRungeKutta
(java.util.function.BiFunction<Double, V, V> f, double t0, V y0, VectorSpace<V, Double, RealNumbers> V) -
Method Summary
-
Constructor Details
-
RungeKutta
public RungeKutta(java.util.function.BiFunction<Double, V, V> f, double t0, V y0, VectorSpace<V, Double, RealNumbers> V)
-
-
Method Details
-
step
Iterate the integrator by dt time units and return the resulting time and point -
stream
Get a stream of points with the given step size.
-