Anonymous user
Kronecker product: Difference between revisions
-- just product --
(-- just product --) |
|||
Line 1,336:
=={{header|Lua}}==
<lang lua>
function prod( a, b )
print( "\nPRODUCT:" )
Line 1,356 ⟶ 1,343:
for q = 1, #b[p] do
io.write( string.format( "%3d ", a[m][n] * b[p][q] ) )
end
end
|