title: dot product in Matrix of Array in Java
body: <p>I want to multiply (1 * n) and  (1* n)</p>
  
  <pre><code> x = [x0,x1,x2]
   y = [
         y0,
         y1,
         y2
        ]
  </code></pre>
  
  <p>Want to multiply by row * column eg: x0*y0, x1*y1...
  How can i iterate row into column. so that multiplication is expected.
  getting confused.
  Please help.</p>