Go to the documentation of this file.
5 c purpose: computes
vector cross product v3 = v1 x v2
9 c name
Type i/o description
10 c -------- ---- --- -----------
13 c v3(3) r*4 o output
vector
19 c modification history:
23 real v1(3),v2(3),v3(3)
26 v3(1)=v1(2)*v2(3)-v1(3)*v2(2)
27 v3(2)=v1(3)*v2(1)-v1(1)*v2(3)
28 v3(3)=v1(1)*v2(2)-v1(2)*v2(1)
float * vector(long nl, long nh)
subroutine crossp(v1, v2, v3)