|
Calling Sequence
|
|
CrossProduct(v1,v2)
v1 &x v2
|
|
Parameters
|
|
v1
|
-
|
Vector(algebraic); Vector, Vector-valued procedure, or differential operator
|
v2
|
-
|
Vector(algebraic); Vector, Vector-valued procedure, or differential operator
|
|
|
|
|
Description
|
|
•
|
The function and can be accessed through &x or CrossProduct exports.
|
•
|
The behavior of cross product is contained in the following table
|
|
|
coord ()
|
|
coord ()
|
|
coord ()
|
1
|
free Vector
|
cartesian
|
free Vector
|
cartesian
|
free Vector
|
cartesian
|
|
free Vector
|
curved
|
free Vector
|
any
|
error
|
|
2
|
free Vector
|
cartesian
|
rooted Vector (root2)
|
coord2
|
rooted Vector (root2)
|
coord2
|
3
|
free Vector
|
any
|
vector field
|
any
|
error
|
|
4
|
free Vector
|
cartesian
|
position Vector
|
cartesian
|
free Vector
|
cartesian
|
|
free Vector
|
curved
|
position Vector
|
cartesian
|
error
|
|
5
|
rooted Vector (root1)
|
coord1
|
rooted Vector (root1)
|
coord1
|
rooted Vector
|
coord1
|
|
rooted Vector (root1)
|
coord1
|
rooted Vector (root2)
|
coord1
|
error
|
|
|
rooted Vector (any)
|
coord1
|
rooted Vector (any)
|
coord2
|
error
|
|
6
|
rooted Vector (root1)
|
coord1
|
vector field
|
coord2
|
|
coord2
|
7
|
rooted Vector (root1)
|
cartesian
|
position Vector
|
cartesian
|
rooted Vector (root1)
|
cartesian
|
8
|
vector field
|
coord1
|
vector field
|
coord1
|
vector field
|
coord1
|
|
vector field
|
coord1
|
vector field
|
coord2
|
error
|
|
9
|
vector field
|
coord1
|
position Vector
|
cartesian
|
error
|
|
10
|
position Vector
|
cartesian
|
position Vector
|
cartesian
|
position Vector
|
cartesian
|
|
|
|
|
Examples
|
|
>
|
|
Take the cross product of two free Vectors in cartesian coordinates.
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
Take the cross product of two rooted vectors if they have the same coordinate system and root point.
>
|
|
| (4) |
>
|
|
>
|
|
The cross product of a cartesian free Vector and a rooted Vector is valid. The resulting Vector is rooted.
>
|
|
>
|
|
The cross product of two vector fields is defined if they are in the same coordinate system.
>
|
|
>
|
|
>
|
|
Use differential operators to compute the Curl of a vector field.
>
|
|
>
|
|
The cross product of two position Vectors is defined. The result is a position Vector.
>
|
|
| (12) |
>
|
|
>
|
|
| (14) |
>
|
|
| (15) |
|
|
|