title: Numpy - Multiply each element of a matrix with the element of another matrix at the same position
body: <p>I'd like to multiply each element of a 3D matrix with the element of a same-sized matrix at the same position.</p>
  
  <p>In 2D it'd look like:</p>
  
  <p><a href="https://i.stack.imgur.com/ZsyGW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZsyGW.jpg" alt=""></a></p>
  
  <p>Is there any clean solution with numpy other than for loops ?</p>
  
  <p>EDIT:
  This matrix operation is named "Hadamard product"</p>