Kronecker product: Difference between revisions
Content added Content deleted
(→JS ES6: Updated primitives, layout.) |
m (→{{header|REXX}}: pluralized a word in the REXX section header.,) |
||
Line 2,718: | Line 2,718: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
A little extra coding was added to make the matrix glyphs and |
A little extra coding was added to make the matrix glyphs and elements alignment look nicer. |
||
<lang rexx>/*REXX program calculates the Kronecker product of two arbitrary size matrices. */ |
<lang rexx>/*REXX program calculates the Kronecker product of two arbitrary size matrices. */ |
||
w=0 /*W: max width of any matrix element. */ |
w=0 /*W: max width of any matrix element. */ |