Package | Description |
---|---|
de.lmu.ifi.dbs.elki.data |
Basic classes for different data types, database object types and label types.
|
de.lmu.ifi.dbs.elki.datasource.parser |
Parsers for different file formats and data types.
|
de.lmu.ifi.dbs.elki.utilities.datastructures.arraylike |
Common API for accessing objects that are "array-like", including lists, numerical vectors, database vectors and arrays.
|
Modifier and Type | Method and Description |
---|---|
<A> V |
NumberVector.Factory.newNumberVector(A array,
NumberArrayAdapter<?,? super A> adapter)
Instantiate from any number-array like object.
|
<A> SparseFloatVector |
SparseFloatVector.Factory.newNumberVector(A array,
NumberArrayAdapter<?,? super A> adapter) |
<A> FloatVector |
FloatVector.Factory.newNumberVector(A array,
NumberArrayAdapter<?,? super A> adapter) |
<A> SparseDoubleVector |
SparseDoubleVector.Factory.newNumberVector(A array,
NumberArrayAdapter<?,? super A> adapter) |
<A> IntegerVector |
IntegerVector.Factory.newNumberVector(A array,
NumberArrayAdapter<?,? super A> adapter) |
<A> DoubleVector |
DoubleVector.Factory.newNumberVector(A array,
NumberArrayAdapter<?,? super A> adapter) |
<A> OneDimensionalDoubleVector |
OneDimensionalDoubleVector.Factory.newNumberVector(A array,
NumberArrayAdapter<?,? super A> adapter) |
<A> BitVector |
BitVector.Factory.newNumberVector(A array,
NumberArrayAdapter<?,? super A> adapter) |
Modifier and Type | Method and Description |
---|---|
protected <A> V |
NumberVectorLabelParser.createDBObject(A attributes,
NumberArrayAdapter<?,A> adapter)
Creates a database object of type V.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
DoubleArrayAdapter
Use a double array as, well, double array in the ArrayAdapter API.
|
(package private) class |
FloatArrayAdapter
Use a double array as, well, double array in the ArrayAdapter API.
|
class |
NumberListArrayAdapter<T extends Number>
Static adapter class to use a
List in an array of number
API. |
class |
NumberVectorAdapter<N extends Number>
Adapter to use a feature vector as an array of features.
|
class |
SubsetNumberArrayAdapter<T extends Number,A>
Subset array adapter (allows reordering and projection)
|
class |
TDoubleListAdapter
Adapter for using Trove TDoubleLists as array-like.
|
Modifier and Type | Field and Description |
---|---|
static NumberArrayAdapter<Double,double[]> |
ArrayLikeUtil.DOUBLEARRAYADAPTER
Use a double array in the array API.
|
static NumberArrayAdapter<Float,float[]> |
ArrayLikeUtil.FLOATARRAYADAPTER
Use a float array in the array API.
|
(package private) NumberArrayAdapter<T,? super A> |
SubsetNumberArrayAdapter.wrapped
Wrapped adapter
|
Modifier and Type | Method and Description |
---|---|
static NumberArrayAdapter<Double,double[]> |
ArrayLikeUtil.doubleArrayAdapter()
Get the adapter for double arrays.
|
static <T extends Number> |
ArrayLikeUtil.numberListAdapter(List<? extends T> dummy)
Cast the static instance.
|
Modifier and Type | Method and Description |
---|---|
static <A> int |
ArrayLikeUtil.getIndexOfMaximum(A array,
NumberArrayAdapter<?,A> adapter)
Returns the index of the maximum of the given values.
|
static <A> double[] |
ArrayLikeUtil.toPrimitiveDoubleArray(A array,
NumberArrayAdapter<?,? super A> adapter)
Convert a numeric array-like to a
double[] . |
static <A> float[] |
ArrayLikeUtil.toPrimitiveFloatArray(A array,
NumberArrayAdapter<?,? super A> adapter)
Convert a numeric array-like to a
float[] . |
Constructor and Description |
---|
SubsetNumberArrayAdapter(NumberArrayAdapter<T,? super A> wrapped,
int[] offs)
Constructor.
|