Jump to content

Dot product: Difference between revisions

m
Emacs Lisp: Remove trailing newline
(Emacs Lisp: Improve solution)
m (Emacs Lisp: Remove trailing newline)
Line 1,076:
 
(dot-product [1 2 3] [1 2 3]) ;=> 14
(dot-product '(1 2 3) '(1 2 3)) ;=> 14</lang>
</lang>
 
=={{header|Erlang}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.