Dot product: Difference between revisions
Content added Content deleted
Walterpachl (talk | contribs) (→{{header|REXX}}: fefurbished and dropped np error checking) |
(→{{header|RPL}}: typo) |
||
Line 2,882: | Line 2,882: | ||
=={{header|RPL}}== |
=={{header|RPL}}== |
||
Being a language for a calculator, RPL makes this easy. |
Being a language for a calculator, RPL makes this easy. |
||
<syntaxhighlight lang="rpl"><< |
|||
[ 1 3 -5 ] |
[ 1 3 -5 ] |
||
[ 4 -2 -1 ] |
[ 4 -2 -1 ] |
||
DOT |
DOT |
||
>></syntaxhighlight> |
|||
=={{header|Ruby}}== |
=={{header|Ruby}}== |