title: Numpy: Multiply several columns with one column
body: <p>I want to multiply an array with lets say two columns with one column pairweise:</p>
  
  <pre><code>import numpy as np
  
  a=np.array([[1,2],[1,2]])
  b=np.array([1,0])
  </code></pre>
  
  <p>And I want the output:</p>
  
  <pre><code>c=[[1,2][0,0]]
  </code></pre>
  
  <p>How is that possible?</p>
  
  <p>Best regards!</p>