|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metsci.glimpse.util.math.stat.StatCollectorNDim
public class StatCollectorNDim
Constructor Summary | |
---|---|
StatCollectorNDim(int dim)
|
Method Summary | |
---|---|
void |
addElement(double[] x)
|
void |
addElement(double[] x,
double weight)
|
double |
getCount()
|
double[][] |
getCovariance()
|
double[] |
getMean()
|
int |
getNumSamples()
|
double[][] |
getTwoDimAxes()
This routine will return the principal axes for the distribution in the two dimensional case. |
double[][] |
getTwoDimAxesLenient()
This routine will return the principal axes for the distribution in the two dimensional case. |
double[] |
getTwoDimUnitCovarianceEllipse()
For the two dimensional case, this routine will return the parameters defining the unit covariance ellipse for a Bivariate Gaussian distribution centered about the mean with sigmaX, sigmaY, and correlation estimated by this stat collector. |
double[] |
getTwoDimUnitCovarianceEllipseLenient()
This routine will return the parameters defining the unit covariance ellipse for a Bivariate Gaussian distribution centered about the mean with sigmaX, sigmaY, and correlation estimated by this stat collector. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatCollectorNDim(int dim)
Method Detail |
---|
public void addElement(double[] x)
public void addElement(double[] x, double weight)
public double getCount()
public int getNumSamples()
public double[] getMean()
public double[][] getCovariance()
public double[] getTwoDimUnitCovarianceEllipse()
public double[] getTwoDimUnitCovarianceEllipseLenient()
public double[][] getTwoDimAxes()
public double[][] getTwoDimAxesLenient()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |