V
- Vector typeN
- Data type of vectorpublic static interface NumberVector.Factory<V extends NumberVector<? extends N>,N extends Number> extends FeatureVector.Factory<V,N>
Modifier and Type | Method and Description |
---|---|
<A> V |
newNumberVector(A array,
NumberArrayAdapter<?,? super A> adapter)
Instantiate from any number-array like object.
|
V |
newNumberVector(double[] values)
Returns a new NumberVector of N for the given values.
|
getDefaultSerializer, getRestrictionClass, newFeatureVector
V newNumberVector(double[] values)
values
- the values of the NumberVector<A> V newNumberVector(A array, NumberArrayAdapter<?,? super A> adapter)
A
- Array typearray
- Arrayadapter
- Adapter