private static class MultivariateNormalMixtureExpectationMaximization.DataRow extends java.lang.Object implements java.lang.Comparable<MultivariateNormalMixtureExpectationMaximization.DataRow>
Modifier and Type | Field and Description |
---|---|
private java.lang.Double |
mean
Mean of the data row.
|
private double[] |
row
One data row.
|
Constructor and Description |
---|
MultivariateNormalMixtureExpectationMaximization.DataRow(double[] data)
Create a data row.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MultivariateNormalMixtureExpectationMaximization.DataRow other)
Compare two data rows.
|
boolean |
equals(java.lang.Object other) |
double[] |
getRow()
Get a data row.
|
int |
hashCode() |
private final double[] row
private java.lang.Double mean
MultivariateNormalMixtureExpectationMaximization.DataRow(double[] data)
data
- Data to use for the rowpublic int compareTo(MultivariateNormalMixtureExpectationMaximization.DataRow other)
compareTo
in interface java.lang.Comparable<MultivariateNormalMixtureExpectationMaximization.DataRow>
other
- The other rowpublic boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public double[] getRow()
Copyright (c) 2003-2013 Apache Software Foundation