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.data.type |
Data type information, also used for type restrictions
|
Modifier and Type | Field and Description |
---|---|
static ByteBufferSerializer<FloatVector> |
FloatVector.BYTE_SERIALIZER
Serializer for up to 127 dimensions.
|
static ByteBufferSerializer<FloatVector> |
FloatVector.SHORT_SERIALIZER
Serializer for up to 2^15-1 dimensions.
|
static ByteBufferSerializer<FloatVector> |
FloatVector.VARIABLE_SERIALIZER
Serializer using varint encoding.
|
Modifier and Type | Method and Description |
---|---|
FloatVector |
FloatVector.SmallSerializer.fromByteBuffer(java.nio.ByteBuffer buffer) |
FloatVector |
FloatVector.ShortSerializer.fromByteBuffer(java.nio.ByteBuffer buffer) |
FloatVector |
FloatVector.VariableSerializer.fromByteBuffer(java.nio.ByteBuffer buffer) |
<A> FloatVector |
FloatVector.Factory.newFeatureVector(A array,
ArrayAdapter<? extends java.lang.Number,A> adapter) |
<A> FloatVector |
FloatVector.Factory.newNumberVector(A array,
NumberArrayAdapter<?,? super A> adapter) |
Modifier and Type | Method and Description |
---|---|
ByteBufferSerializer<FloatVector> |
FloatVector.Factory.getDefaultSerializer() |
java.lang.Class<? super FloatVector> |
FloatVector.Factory.getRestrictionClass() |
Modifier and Type | Method and Description |
---|---|
int |
FloatVector.SmallSerializer.getByteSize(FloatVector vec) |
int |
FloatVector.ShortSerializer.getByteSize(FloatVector vec) |
int |
FloatVector.VariableSerializer.getByteSize(FloatVector vec) |
void |
FloatVector.SmallSerializer.toByteBuffer(java.nio.ByteBuffer buffer,
FloatVector vec) |
void |
FloatVector.ShortSerializer.toByteBuffer(java.nio.ByteBuffer buffer,
FloatVector vec) |
void |
FloatVector.VariableSerializer.toByteBuffer(java.nio.ByteBuffer buffer,
FloatVector vec) |
Modifier and Type | Field and Description |
---|---|
static VectorFieldTypeInformation<FloatVector> |
TypeUtil.FLOAT_VECTOR_FIELD
Input type for algorithms that require number vector fields.
|
Copyright © 2019 ELKI Development Team. License information.