title: How to multiply numpy 2D array with numpy 1D array?
body: <p>The two arrays:</p>
  
  <pre><code>a = numpy.array([[2,3,2],[5,6,1]])
  b = numpy.array([3,5])
  c = a * b
  </code></pre>
  
  <p>What I want is:</p>
  
  <pre><code>c = [[6,9,6],
       [25,30,5]]
  </code></pre>
  
  <p>But, I am getting this error:</p>
  
  <pre><code>ValueError: operands could not be broadcast together with shapes (2,3) (2)
  </code></pre>
  
  <p>How to <strong>multiply</strong> a nD array with 1D array, where <code>len(1D-array) == len(nD array)</code>?</p>