Download Help (Windows Only) 
Owning Class: vector
Requires: MathScript RT Module
c = cross(a, b)
c = cross(a, b, dim)
Computes the cross product of two threeelement vectors or matrices.
Name  Description  

a  Specifies a threeelement vector or matrix.  
b  Specifies a threeelement 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.

Name  Description 

c  Returns the cross product of a and b. c is a threeelement vector or matrix. 
The following table lists the support characteristics of this function.
Supported in the LabVIEW RunTime 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)