(ctx, *args, **kwargs)
return A
Create matrix m x n filled with zeros.
        One given dimension will create square matrix n x n.

        Example:
        >>> from sympy.mpmath import zeros, mp
        >>> mp.pretty = False
        >>> zeros(2)
        matrix(
        [['0.0', '0.0'],
         ['0.0', '0.0']])
Create matrix m x n filled with zeros.
        One given dimension will create square matrix n x n.
Create matrix m x n filled with zeros . One given dimension will create square matrix n x n .
def zeros(ctx, *args, **kwargs):
        """
        Create matrix m x n filled with zeros.
        One given dimension will create square matrix n x n.

        Example:
        >>> from sympy.mpmath import zeros, mp
        >>> mp.pretty = False
        >>> zeros(2)
        matrix(
        [['0.0', '0.0'],
         ['0.0', '0.0']])
        """
        if len(args) == 1:
            m = n = args[0]
        elif len(args) == 2:
            m = args[0]
            n = args[1]
        else:
            raise TypeError('zeros expected at most 2 arguments, got %i' % len(args))
        A = ctx.matrix(m, n, **kwargs)
        for i in xrange(m):
            for j in xrange(n):
                A[i,j] = 0
        return A
def zeros ( ctx , * args , * * kwargs ) : if len ( args ) == 1 : m = n = args [ 0 ] elif len ( args ) == 2 : m = args [ 0 ] n = args [ 1 ] else : raise TypeError ( 'zeros expected at most 2 arguments, got %i' % len ( args ) ) A = ctx . matrix ( m , n , * * kwargs ) for i in xrange ( m ) : for j in xrange ( n ) : A [ i , j ] = 0 return A