de.lmu.ifi.dbs.elki.data
Class VectorUtil
java.lang.Object
de.lmu.ifi.dbs.elki.data.VectorUtil
public final class VectorUtil
- extends Object
Utility functions for use with vectors.
- Author:
- Erich Schubert
Method Summary |
static
|
getRangeDouble(V vec)
Return the range across all dimensions. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VectorUtil
public VectorUtil()
getRangeDouble
public static <V extends NumberVector<?,?>> DoubleMinMax getRangeDouble(V vec)
- Return the range across all dimensions. Useful in particular for time series.
- Type Parameters:
V
- Vector type- Parameters:
vec
- Vector to process.
- Returns:
- [min, max]