public class StatCollectorNDim extends Object
Constructor and Description |
---|
StatCollectorNDim(int dim) |
Modifier and Type | Method and Description |
---|---|
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(String[] args) |
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(String[] args)
Copyright © 2013 Metron, Inc.. All rights reserved.