Jump to content

Vector products: Difference between revisions

m (→‎{{header|Ruby}}: Remove phantom category 'matrix'.)
Line 828:
 
=={{header|Mathematica}}==
{{output?|Mathematica}}
<lang Mathematica>
a={3,4,5};
b={4,3,5};
c,={-5,-12,-13};
a.b
Cross[a,b]
Line 838 ⟶ 837:
Cross[a,Cross[b,c]]
</lang>
Output
<pre>49
{5,5,-7}
6
{-267,204,-3}</pre>
 
=={{header|Nemerle}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.