Owning Class: vector
Requires: MathScript RT Module
c = cross(a, b)
c = cross(a, b, dim)
Computes the cross product of two three-element vectors or matrices.
|a||Specifies a three-element vector or matrix.|
|b||Specifies a three-element vector or matrix.|
|dim||Specifies the order in which LabVIEW computes the cross product for matrices. dim is a scalar that accepts the following values.
|c||Returns the cross product of a and b. c is a three-element vector or matrix.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
A = [1, 2, 3]
B = [0, -3, 2]
C = cross(A, B)