docstr: Create (pseudo) hilbert matrix m x n.
  One given dimension will create hilbert matrix n x n.
  
  The matrix is very ill-conditioned and symmetric, positive definite if
  square.
docstr_tok: ["Create","(","pseudo",")","hilbert","matrix","m","x","n.","One","given","dimension","will","create","hilbert","matrix","n","x","n.","The","matrix","is","very","ill-conditioned","and","symmetric",",","positive","definite","if","square","."]
code: def hilbert(ctx, m, n=None):
      """
      Create (pseudo) hilbert matrix m x n.
      One given dimension will create hilbert matrix n x n.
  
      The matrix is very ill-conditioned and symmetric, positive definite if
      square.
      """
      if n is None:
          n = m
      A = ctx.matrix(m, n)
      for i in xrange(m):
          for j in xrange(n):
              A[i, j] = ctx.one / (i + j + 1)
      return A
  
imports: from ..libmp.backend import xrange
  import warnings
label_desc: Use image node_id 6 for calling the MatrixMethods obj's underlying member method code with example usage: obj.hilbert(ctx, m, n) and returns: A