Jump to content

Vector products: Difference between revisions

m
Line 1,239:
<lang j>cross=: [: > [: -&.>/ .(*&.>) (<"1=i.3) , ,:&:(<"0)</lang>
 
With an implementation of cross product and inner product, the rest of the task becomes trivial:
 
<lang j>a=: 3 4 5
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.