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