The following statements show the use of the CROSSF function.
Statement |
Assigned Value |
NUMBER/A(3),B(3),C(3) |
|
DATA/A,.866,.5,0 |
A(1)=.866,A(2)=.5,A(3)=0 |
DATA/B,.707,.707,0 |
B(1)=.707,B(2)=.707,B(3)=0 |
C=CROSSF(A,B) |
C(1)=0,C(2)=0,C(3)=.259 |
When the vectors are reversed an opposite product is produced:
CROSSF(A,B)=-CROSSF(B,A)