V_prod
Vector or cross product.
|
Loading LOADSUB ALL FROM "VPROD.HTS"
or LOADSUB V_prod FROM "MATHLIB.HTS"
or LOADSUB FROM "MATHLIB.HTS"
Usage REAL A(*),B(*),P(*)
CALL V_prod(A(*),B(*),P(*))
Description
V_prod computes the vector, or cross, product of the real vectors a and b and returns the result in c. A, b, and c must have exactly three elements each.
Errors
V_prod causes an HTBasic error if A, B, or C are not all of type REAL or do not all have exactly three elements.
See Also
V_dot, V_proj
|