Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.data
Class VectorUtil

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.data.VectorUtil

public final class VectorUtil
extends Object

Utility functions for use with vectors.

Author:
Erich Schubert

Constructor Summary
VectorUtil()
           
 
Method Summary
static
<V extends NumberVector<?,?>>
DoubleMinMax
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
 

Constructor Detail

VectorUtil

public VectorUtil()
Method Detail

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]

Release 0.3 (2010-03-31_1612)