V
- Vector typepublic static interface NumberVector.Factory<V extends NumberVector> extends FeatureVector.Factory<V,java.lang.Number>
Modifier and Type | Method and Description |
---|---|
<A> V |
newNumberVector(A array,
NumberArrayAdapter<?,? super A> adapter)
Instantiate from any number-array like object.
|
default V |
newNumberVector(double[] values)
Returns a new NumberVector of N for the given values.
|
default V |
newNumberVector(NumberVector values)
Returns a new NumberVector of N for the given values.
|
getDefaultSerializer, getRestrictionClass, newFeatureVector
default V newNumberVector(double[] values)
values
- the values of the NumberVectordefault V newNumberVector(NumberVector values)
values
- Existing number vector<A> V newNumberVector(A array, NumberArrayAdapter<?,? super A> adapter)
A
- Array typearray
- Arrayadapter
- AdapterCopyright © 2019 ELKI Development Team. License information.