Matrix multiplication: Difference between revisions

(→‎{{header|J}}: Add examples, elaborate on general inner product.)
Line 522:
etc.
 
The general inner product extends to multidimensional arrays, with therequiring only requirement being that <tt> x </tt>and<tt> y </tt> to be conformable (trailing dimension of array <tt> x </tt> equals the leading dimension of array <tt> y</tt>). For example, the matrix multiplication of two dimensional arrays requires <tt>x</tt> mustto have the same numbers of rows as <tt>y</tt> has columns, as you would expect.
 
=={{header|Java}}==
Anonymous user