|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.util.machlearn.OVector
public class OVector
An real-valued observation.
Constructor Summary | |
---|---|
OVector(double value)
Creates a one-dimensional instance of this class. |
|
OVector(double[] values)
Constructs a new observation for a given feature-vector. |
Method Summary | |
---|---|
int |
dimension()
Returns the dimension of this observation. |
boolean |
equals(java.lang.Object obj)
|
double[] |
getValues()
Returns the values of this observation. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OVector(double[] values)
public OVector(double value)
Method Detail |
---|
public double[] getValues()
public int dimension()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |