Skip to main content

Cross

Cross [ /DEST=destWave /FREE /T /Z] vectorA, vectorB [, vectorC ]

The Cross operation computes the cross products vectorA x vectorB and vectorA x (vectorB x vectorC ). Each vector is a 1D real wave containing 3 rows. Stores the result in the wave W_Cross in the current data folder.

Flags

/DEST=destWave
Stores the cross product in the wave specified by destWave .
The destination wave is overwritten if it exists.
The destination wave must be different from the input waves.
The operation creates a wave reference for the destination wave if called in a user-defined function. See Automatic Creation of Wave References for details.
If you omit /DEST, the operation stores the result in the wave W_Cross in the current data folder.
Requires Igor 7 or later.
/FREEWhen used with /DEST, the destination wave is created as a free wave. See Free Waves for details on free waves.
/FREE is allowed in user-defined functions only.
Requires Igor 7 or later.
/TStores output in a row instead of a column in W_Cross.
/ZGenerates no errors if any inputs are unsuitable.