title: Sum of product each row by a matrix
body: <p>I have a matrix <code>A</code> and a three-dims matrix <code>B</code>. I want to sum (by <code>i</code>)</p>
  
  <p><code>A(i,:)*B(i,:,:)</code>,</p>
  
  <p>but without loops by <code>i</code>.</p>