Constructor

public RungeKutta()

Set initial value of x

public void setInitialValueOfX(double x0)

Set final value of x

public void setFinalValueOfX(double xn)

Set initial value/s of y

public void setInitialValueOfY(double y0)

public void setInitialValuesOfY(double[] y0)

Set step size / initial step size

public void setStepSize(double step)

Set tolerance (accuracy)

public void setToleranceScalingFactor(double tolSF)

public void setToleranceAdditionFactor(double tolAddn)

Number of iterations

public void setMaximumIterations(int maxIter)

public int getNumberOfIterations()

public static void resetNstepsMultiplier(int multiplier)

4th order RungeKutta

public double fourthOrder(DerivFunction g)

public static double fourthOrder(DerivFunction g, double x0, double y0, double xn, double h)

public double[] fourthOrder(DerivnFunction g)

public static double[ ] fourthOrder(DerivnFunction g, double x0, double[ ] y0, double xn, double h)

RungeKuttaCashKarp

public double cashKarp(DerivFunction g)

public static double cashKarp(DerivFunction g, double x0, double y0, double xn, double h, double abstol, double reltol, int maxiter)

public static double cashKarp(DerivFunction g, double x0, double y0, double xn, double h, double abstol, double reltol)

public double[] cashKarp(DerivnFunction g)

public static double[ ] cashKarp(DerivnFunction g, double x0, double[ ] y0, double xn, double h, double abstol, double reltol, int maxiter)

public static double[ ] cashKarp(DerivnFunction g, double x0, double[ ] y0, double xn, double h, double abstol, double reltol)

RungeKuttaFehlberg

public double fehlberg(DerivFunction g)

public static double fehlberg(DerivFunction g, double x0, double y0, double xn, double h, double abstol, double reltol, int maxiter)

public static double fehlberg(DerivFunction g, double x0, double y0, double xn, double h, double abstol, double reltol)

public double[] fehlberg(DerivnFunction g)

public static double[ ] fehlberg(DerivnFunction g, double x0, double[ ] y0, double xn, double h, double abstol, double reltol, int maxiter)

public static double[ ] fehlberg(DerivnFunction g, double x0, double[ ] y0, double xn, double h, double abstol, double reltol)
