
public interface NumberVector extends FeatureVector<Number>, SpatialComparable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
NumberVector.Factory<V extends NumberVector>
Factory API for this feature vector.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue(int dimension)
Returns the value in the specified dimension as byte.
|
double |
doubleValue(int dimension)
Returns the value in the specified dimension as double.
|
float |
floatValue(int dimension)
Returns the value in the specified dimension as float.
|
Vector |
getColumnVector()
Returns a Vector representing in one column and
getDimensionality() rows the values of this NumberVector of V. |
Number |
getValue(int dimension)
Deprecated.
|
int |
intValue(int dimension)
Returns the value in the specified dimension as int.
|
long |
longValue(int dimension)
Returns the value in the specified dimension as long.
|
short |
shortValue(int dimension)
Returns the value in the specified dimension as short.
|
getDimensionality, toStringgetDimensionality, getMax, getMin@Deprecated Number getValue(int dimension)
FeatureVectorgetValue in interface FeatureVector<Number>dimension - the desired dimension, where 0 ≤ dimension ≤
this.getDimensionality()-1double doubleValue(int dimension)
getValue(dim).doubleValue(), but usually this is much more
efficient due to boxing/unboxing cost.dimension - the desired dimension, where 0 ≤ dimension <
this.getDimensionality()float floatValue(int dimension)
getValue(dim).floatValue(), but usually this is much more efficient
due to boxing/unboxing cost.dimension - the desired dimension, where 0 ≤ dimension <
this.getDimensionality()int intValue(int dimension)
getValue(dim).intValue(), but usually this is much more efficient
due to boxing/unboxing cost.dimension - the desired dimension, where 0 ≤ dimension <
this.getDimensionality()long longValue(int dimension)
getValue(dim).longValue(), but usually this is much more efficient
due to boxing/unboxing cost.dimension - the desired dimension, where 0 ≤ dimension <
this.getDimensionality()short shortValue(int dimension)
getValue(dim).shortValue(), but usually this is much more efficient
due to boxing/unboxing cost.dimension - the desired dimension, where 0 ≤ dimension <
this.getDimensionality()byte byteValue(int dimension)
getValue(dim).byteValue(), but usually this is much more efficient
due to boxing/unboxing cost.dimension - the desired dimension, where 0 ≤ dimension <
this.getDimensionality()Vector getColumnVector()
getDimensionality() rows the values of this NumberVector of V.getDimensionality() rows the values of this
NumberVector of VCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.