linalg(deprecated)
crossprod
vector cross product
Calling Sequence
Parameters
Description
Examples
crossprod(u, v)
u, v
-
lists or vectors, each with three elements
Important: The linalg package has been deprecated. Use the superseding LinearAlgebra[CrossProduct], instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
This function computes the vector cross-product of u and v, defined to be vector ([u2⁢v3−u3⁢v2, −u1⁢v3+u3⁢v1, u1⁢v2−u2⁢v1]).
The command with(linalg,crossprod) allows the use of the abbreviated form of this command.
with⁡linalg:
v1≔vector⁡1,2,3
v1≔123
v2≔vector⁡2,3,4
v2≔234
crossprod⁡v1,v2
−12−1
See Also
linalg(deprecated)[dotprod]
linalg(deprecated)[innerprod]
LinearAlgebra
LinearAlgebra[CrossProduct]
VectorCalculus[CrossProduct]
Download Help Document