Package elki.data

Interface SparseNumberVector.Factory<V extends SparseNumberVector>

    • Method Detail

      • newNumberVector

        V newNumberVector​(it.unimi.dsi.fastutil.ints.Int2DoubleOpenHashMap values,
                          int maxdim)
        Returns a new NumberVector of N for the given values.
        Parameters:
        values - the values of the NumberVector
        maxdim - Maximum dimensionality.
        Returns:
        a new NumberVector of N for the given values