flanagan.integration
Class RungeKutta

java.lang.Object
  extended by flanagan.integration.RungeKutta

public class RungeKutta
extends java.lang.Object


Constructor Summary
RungeKutta()
           
 
Method Summary
static double cashKarp(DerivFunction g, double x0, double y0, double xn, double h, double abstol, double reltol)
           
static double cashKarp(DerivFunction g, double x0, double y0, double xn, double h, double abstol, double reltol, int maxiter)
           
static double[] cashKarp(DerivnFunction g, double x0, double[] y0, double xn, double h, double abstol, double reltol)
           
static double[] cashKarp(DerivnFunction g, double x0, double[] y0, double xn, double h, double abstol, double reltol, int maxiter)
           
static double fehlberg(DerivFunction g, double x0, double y0, double xn, double h, double abstol, double reltol)
           
static double fehlberg(DerivFunction g, double x0, double y0, double xn, double h, double abstol, double reltol, int maxiter)
           
static double[] fehlberg(DerivnFunction g, double x0, double[] y0, double xn, double h, double abstol, double reltol)
           
static double[] fehlberg(DerivnFunction g, double x0, double[] y0, double xn, double h, double abstol, double reltol, int maxiter)
           
static double fourthOrder(DerivFunction g, double x0, double y0, double xn, double h)
           
static double[] fourthOrder(DerivnFunction g, double x0, double[] y0, double xn, double h)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RungeKutta

public RungeKutta()
Method Detail

fourthOrder

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

fourthOrder

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

cashKarp

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

cashKarp

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

cashKarp

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

cashKarp

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

fehlberg

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

fehlberg

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

fehlberg

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

fehlberg

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


jHepWork 1.7 (C) Chekanov