|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.bme.smile.commons.math.StatisticsDouble
public class StatisticsDouble
Constructor Summary | |
---|---|
StatisticsDouble()
|
Method Summary | |
---|---|
static java.lang.String |
hist2string(double[][] hist)
|
static double[][] |
histogram(double[] x,
double[] bins)
Computes the histogram using the specified bins The first column of the output array is the lower bounds for each bin The second column of the output array is the count in that bin. |
static double[][] |
histogram(double[] x,
int bins)
Computes the histogram using equally spaced bins. |
static double[][] |
jointhistogram(double[] x,
double[] y,
int bins)
Computes the joint histogram using equally spaced bins. |
static double |
KLdivergence(double[] x,
double[] y,
int binnum)
Computes the Kullbach-Liebler divergence between two data sets x and y |
static double |
logRicianPDF(double[] mu,
double[] sigma,
double[] x)
|
static void |
main(java.lang.String[] args)
|
static double |
max(double[] x)
|
static double |
mean(double[] x)
|
static double |
median(double[] x)
|
static double |
medianRobust(double[] x)
|
static double |
min(double[] x)
|
static double[][] |
normalizeHistogram(double[][] hist)
|
static double[][] |
normalizeJointHistogram(double[][] hist)
|
static double |
product(double[] x)
|
static double |
Qn(double[] x)
|
static double |
QnRobust(double[] x)
|
static double[] |
robustLogRicianPDF(double[] mu,
double[] sigma,
double[] x,
double[] result)
|
static double |
square(double x)
|
static double |
std(double[] x)
|
static double |
sum(double[] x)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatisticsDouble()
Method Detail |
---|
public static double sum(double[] x)
public static double product(double[] x)
public static double mean(double[] x)
public static double square(double x)
public static double std(double[] x)
public static double median(double[] x)
public static double medianRobust(double[] x)
public static double[][] histogram(double[] x, int bins)
x
- - the input databins
- - the number of bins to use
public static double[][] jointhistogram(double[] x, double[] y, int bins)
x
- - the input databins
- - the number of bins to use
public static double[][] histogram(double[] x, double[] bins)
x
- - the input databins
- - the array of bins
public static double[][] normalizeHistogram(double[][] hist)
public static double[][] normalizeJointHistogram(double[][] hist)
public static double KLdivergence(double[] x, double[] y, int binnum)
x
- - input datay
- - input data 2
public static java.lang.String hist2string(double[][] hist)
public static double QnRobust(double[] x)
public static double max(double[] x)
public static double min(double[] x)
public static double Qn(double[] x)
public static double logRicianPDF(double[] mu, double[] sigma, double[] x)
public static double[] robustLogRicianPDF(double[] mu, double[] sigma, double[] x, double[] result)
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |