Adams Basic Package
>
Adams View
>
View Function Builder
>
Design-Time Functions
>
Functions: A - C
> CROSS
CROSS
Returns the cross-product of two matrices.
Format
CROSS (M1, M2)
Arguments
M1
First matrix.
M2
Second matrix.
Note:
CROSS will only accept 3x1 or 1x3 arrays.
The following example illustrates the use of the CROSS function:
Function
CROSS({1,0,0}, {0,1,0})
Result
{0, 0, 1}
Learn more about matrix/array functions
.
This site works best with JavaScript enabled