title: What is the best way to convert a SymPy matrix to a numpy array/matrix
body: <p>I am not sure if the approach I've been using in <code>sympy</code> to convert a <code>MutableDenseMatrix</code> to a <code>numpy.array</code> or <code>numpy.matrix</code> is a good current practice.</p>
  
  <p>I have a symbolic matrix like:</p>
  
  <pre><code>g = sympy.Matrix( [[   x,  2*x,  3*x,  4*x,  5*x,  6*x,  7*x,  8*x,   9*x,  10*x],
                     [x**2, x**3, x**4, x**5, x**6, x**7, x**8, x**9, x**10, x**11]] )
  </code></pre>
  
  <p>and I am converting to a <code>numpy.array</code> doing:</p>
  
  <pre><code>g_func = lambda val: numpy.array( g.subs( {x:val} ).tolist(), dtype=float )
  </code></pre>
  
  <p>where I get an array for a given value of <code>x</code>.</p>
  
  <p>Is there a better built-in solution in SymPy to do that?</p>
  
  <p>Thank you!</p>