Jump to content

Matrix multiplication: Difference between revisions

→‎{{header|APL}}: use ⌹ instead of explicitly building matrix inverse.
(→‎{{header|APL}}: use ⌹ instead of explicitly building matrix inverse.)
Line 245:
x ← +.×
A ← ↑A*¨⊂A←⍳4 ⍝ Same A as in other examples (1 1 1 1⍪ 2 4 8 16⍪ 3 9 27 81,[0.5] 4 16 64 256)
B ← 4⌹A 4 4 ¯3 4 ¯1 ¯13 19Matrix ¯7inverse 11of 3 ¯2 7 ¯1 ¯1 1 ¯1 1 ÷ 1 1 3 4 3 4 3 24 2 1 6 4 6 4 6 24A
'F6.2' ⎕FMT A x B
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.