|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.physics.nuclear.kinematics.math.statistics.MathUtils
public class MathUtils
DOCUMENT ME!
| Constructor Summary | |
|---|---|
MathUtils()
Creates a new MathUtils object. |
|
| Method Summary | |
|---|---|
static double |
ave(double[] data)
DOCUMENT ME! |
static double |
betai(double a,
double b,
double x)
Incomplete beta function. |
static double |
calculateStudentsT(double tObserved,
double dof)
Returns the probability that the absolute value of a t-statistic would be smaller than tObserved, for a t-distribution with
dof degrees of freedom and a mean of zero. |
static double |
findOneSigmaT(int dof)
Calculates t-statistic such that calculateStudentsT(findOneSigmaT(dof),dof) returns 0.683, the one-sigma probability for the normal distribution. |
static double |
gammln(double xx)
Returns Incomplete gamma P(a,x) evaluated by series. |
static double |
gammq(double a,
double x)
Returns the incomplete gamma function Q(a,x) == 1 - P(a,x). |
static double |
gcf(double a,
double x)
Returns Incomplete gamma Q(a,x) evaluated by series. |
static double |
gser(double a,
double x)
|
static void |
main(java.lang.String[] args)
DOCUMENT ME! |
static double |
var(double[] data)
DOCUMENT ME! |
double[] |
zbrac(Function func,
double x1,
double x2)
From zbrac.c in "Numerical Recipes". |
static double |
zbrent(Function func,
double x1,
double x2,
double tol)
From zbrent.c in "Numerical Recipes". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MathUtils()
| Method Detail |
|---|
public static double ave(double[] data)
data - DOCUMENT ME!
public static double var(double[] data)
data - DOCUMENT ME!
public static double gammq(double a,
double x)
throws StatisticsException
a - DOCUMENT ME!x - DOCUMENT ME!
StatisticsException - DOCUMENT ME!
public static double gser(double a,
double x)
throws StatisticsException
a - DOCUMENT ME!x - DOCUMENT ME!
StatisticsException - DOCUMENT ME!public static double gammln(double xx)
xx - DOCUMENT ME!
public static double gcf(double a,
double x)
throws StatisticsException
a - DOCUMENT ME!x - DOCUMENT ME!
StatisticsException - DOCUMENT ME!
public double[] zbrac(Function func,
double x1,
double x2)
throws StatisticsException
func - DOCUMENT ME!x1 - DOCUMENT ME!x2 - DOCUMENT ME!
StatisticsException - DOCUMENT ME!
public static double zbrent(Function func,
double x1,
double x2,
double tol)
throws StatisticsException
func - DOCUMENT ME!x1 - DOCUMENT ME!x2 - DOCUMENT ME!tol - DOCUMENT ME!
StatisticsException - DOCUMENT ME!
public static double betai(double a,
double b,
double x)
throws StatisticsException
a - DOCUMENT ME!b - DOCUMENT ME!x - DOCUMENT ME!
StatisticsException - DOCUMENT ME!
public static double calculateStudentsT(double tObserved,
double dof)
throws StatisticsException
tObserved, for a t-distribution with
dof degrees of freedom and a mean of zero.
tObserved - DOCUMENT ME!dof - DOCUMENT ME!
StatisticsException - DOCUMENT ME!
public static double findOneSigmaT(int dof)
throws StatisticsException
dof - DOCUMENT ME!
StatisticsException - DOCUMENT ME!public static void main(java.lang.String[] args)
args - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||