|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--FMath
FMath is a abstract class with various functions I felt we're either missing or not implemented as I wanted them to be in the JDK Math class
Constructor Summary | |
FMath()
|
Method Summary | |
static double |
acosh(double x)
Inverse Hyperbolic cosine function |
static int |
arrayMax(double[] inputArray)
Find the index of the maximum value in the inputArray |
static int |
arrayMin(double[] inputArray)
Returns the index of the mimimum value in an array of doubles |
static double |
asinh(double x)
Inverse Hyperbolic cosine |
static double |
cosh(double x)
Hyperbolic cosine function |
static double |
ellf(double phi,
double ak)
Legendre elliptic integral of the first kind as defined at http://www.scf.fundp.ac.be/~jpvigner/homepage/sources/recipes/recipes.html |
static double |
ellpi(double phi,
double en,
double ak)
Legendre elliptic integral of the third kind as defined at http://www.scf.fundp.ac.be/~jpvigner/homepage/sources/recipes/recipes.html |
static double[] |
gaussElim(double[][] matrix)
Perform Gauss Elimination on an n x n+1 matrix |
static double[] |
leastSquares(double[] x,
double[] y,
int ORDER)
Performs least squares of order ORDER on independent x and dependent y |
static double |
rc(double x,
double y)
Carlson's degenerate elliptic integral (6.11) as defined at http://www.scf.fundp.ac.be/~jpvigner/homepage/sources/recipes/recipes.html |
static double |
rf(double x,
double y,
double z)
Carlson's elliptic integral of the first kind (6.11) as defined at http://www.scf.fundp.ac.be/~jpvigner/homepage/sources/recipes/recipes.html |
static double |
rj(double x,
double y,
double z,
double p)
Carlson's elliptic integral of the third kind (6.11) as defined at http://www.scf.fundp.ac.be/~jpvigner/homepage/sources/recipes/recipes.html |
static double |
roundOff(double inputDouble,
int places)
Roundoff the inputDouble to the prescribed number of decimal places |
static double |
sinh(double x)
Hyperbolic sine function |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public FMath()
Method Detail |
public static int arrayMax(double[] inputArray)
public static int arrayMin(double[] inputArray)
public static double[] leastSquares(double[] x, double[] y, int ORDER)
public static double[] gaussElim(double[][] matrix)
public static double cosh(double x)
public static double sinh(double x)
public static double acosh(double x)
public static double asinh(double x)
public static double ellf(double phi, double ak)
public static double ellpi(double phi, double en, double ak)
public static double rf(double x, double y, double z)
public static double rj(double x, double y, double z, double p)
public static double rc(double x, double y)
public static double roundOff(double inputDouble, int places)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |