def matrix(m, n, a=0.0, b=0.0):
    if a == b == 0:
        return [[0.0] * n for i in xrange(m)]
    return [[uniform(a, b) for j in xrange(n)] for i in xrange(m)]
Returns an n x m matrix with values 0.0.
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/matrix