cc.mallet.util
Class Univariate
java.lang.Object
cc.mallet.util.Univariate
public class Univariate
- extends java.lang.Object
Field Summary |
double[] |
five
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
five
public double[] five
Univariate
public Univariate(double[] data)
summary
public double[] summary()
mean
public double mean()
variance
public double variance()
stdev
public double stdev()
SE
public double SE()
max
public double max()
min
public double min()
median
public double median()
quant
public double quant(double q)
sort
public double[] sort()
getData
public double[] getData()
size
public int size()
elementAt
public double elementAt(int index)
subset
public double[] subset(int[] indices)
compare
public int compare(double t)
between
public int[] between(double t1,
double t2)
indexOf
public int indexOf(double element)