V
- Vector type number typeN
- Number typepublic static interface SparseNumberVector.Factory<V extends SparseNumberVector<N>,N extends Number> extends NumberVector.Factory<V,N>
Modifier and Type | Method and Description |
---|---|
V |
newNumberVector(gnu.trove.map.TIntDoubleMap values,
int maxdim)
Returns a new NumberVector of N for the given values.
|
newNumberVector, newNumberVector
getDefaultSerializer, getRestrictionClass, newFeatureVector
V newNumberVector(gnu.trove.map.TIntDoubleMap values, int maxdim)
values
- the values of the NumberVectormaxdim
- Maximum dimensionality.