'For internal use by the modules class.
Convert a sparse distributed module into a list of length ``n``.
>>> from sympy import QQ, ilex
>>> from sympy.abc import x, y
>>> R = QQ.old_poly_ring(x, y, order=ilex)
>>> L = [((1, 1, 1), QQ(1)), ((0, 1, 0), QQ(1)), ((0, 0, 1), QQ(2))]
>>> R._sdm_to_vector(L, 2)
[x + 2*y, x*y]'

def _sdm_to_vector(self, s, n):

    dics = self._sdm_to_dics(s, n)
    return [self(x) for x in dics]
