Dot product: Difference between revisions

Content added Content deleted
(→‎{{header|REXX}}: fefurbished and dropped np error checking)
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}}==