Matrix multiplication: Difference between revisions
→{{header|Raku}}: use cross meta-operator in last version
(→{{header|Raku}}: last version is not really more concise, rather more functional. + style code tweak) |
(→{{header|Raku}}: use cross meta-operator in last version) |
||
Line 5,587:
<syntaxhighlight lang="raku" line>sub infix:<·> { [+] @^a Z* @^b }
sub infix:<×>(@A, @B) { (@A X· [Z] @B).rotor(@B) }
▲}</syntaxhighlight>
=={{header|Rascal}}==
|