CrossProduct - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


LinearAlgebra

  

CrossProduct

  

compute the cross product of two Vectors

  

`&x`

  

compute the cross product of two Vectors

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

CrossProduct(U, V, options)

U &x V

Parameters

U, V

-

three-dimensional Vectors

options

-

(optional) constructor options for the result object

Description

• 

The CrossProduct(U, V) function computes the cross product of Vectors U and V.

  

This command can also be entered using the infix notation U&xV. No additional parameters can be provided in this case.

• 

If W := CrossProduct(U, V), then W is a Vector with the following entries.

  

U2V3U3V2,U1V3+U3V1,U1V2U2V1

• 

If both U and V are row Vectors, their cross product is also a row Vector. Otherwise, a column Vector is returned.

• 

The constructor options provide additional information (readonly, shape, storage, order, datatype, and attributes) to the Vector constructor that builds the result. These options may also be provided in the form outputoptions=[...], where [...] represents a Maple list.  If a constructor option is provided in both the calling sequence directly and in an outputoptions option, the latter takes precedence (regardless of the order).

• 

This function is part of the LinearAlgebra package, and so it can be used in the form CrossProduct(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[CrossProduct](..).

Examples

withLinearAlgebra:

V11,2,3

V1123

(1)

V22,3,4

V2234

(2)

CrossProductV1,V2

−12−1

(3)

V1&xV2

−12−1

(4)

CrossProductV1,V2,datatype=float

−1.2.−1.

(5)

See Also

LinearAlgebra[BilinearForm]

LinearAlgebra[DotProduct]

Vector

VectorCalculus[CrossProduct]