Anonymous user
Matrix multiplication: Difference between revisions
m
→{{header|Liberty BASIC}}: Formatted output
m (→{{header|SPAD}}: "works with" takes only a single implementation as argument) |
m (→{{header|Liberty BASIC}}: Formatted output) |
||
Line 2,350:
MatrixP$ =MatrixMultiply$( MatrixA$, MatrixB$)
call DisplayMatrix MatrixP$
</lang>
Product of two matrices<br>▼
{{out}}
| 1.00000 1.00000 1.00000 1.00000 |<br>▼
| 2.00000 4.00000 8.00000 16.00000 |<br>▼
|
|
| 3.00000 9.00000 27.00000 81.00000 |
| 4.00000 16.00000 64.00000 256.00000 |
| 4.00000 -3.00000 1.33333 -0.25000 |<br>▼
*
|
| -
| -0.16667 0.25000 -0.16667 0.04167 |
▲| 1.00000 0.00000 0.00000 0.00000 |<br>
=
▲| 0.00000 1.00000 0.00000 0.00000 |<br>
|
| 0.00000
=={{header|Logo}}==
|