LinearAlgebra - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Linear Algebra : LinearAlgebra Package : Standard : LinearAlgebra/CrossProduct

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 &x V. 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

V1:=123

(1)

V22,3,4

V2:=234

(2)

CrossProductV1,V2

121

(3)

V1 &x V2

121

(4)

CrossProductV1,V2,datatype=float

1.2.1.

(5)

See Also

LinearAlgebra[BilinearForm]

LinearAlgebra[DotProduct]

Vector

VectorCalculus[CrossProduct]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam