LinearAlgebra - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

LinearAlgebra

  

VectorAngle

  

compute the angle between two Vectors

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

VectorAngle(U, V, c)

Parameters

U, V

-

Vectors with the same dimension

c

-

(optional) BooleanOpt(conjugate); specifies if the result uses the Hermitian transpose

Description

• 

The VectorAngle(U, V) function computes the angle between Vectors U and V by using the formula arccosDotProductU,V,cVectorNormU,2VectorNormV,2. The default value for the conjugate option c is true.

• 

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

Examples

withLinearAlgebra:

V11,0,1

V1:=101

(1)

V21,1,0

V2:=110

(2)

VectorAngleV1,V1

0

(3)

VectorAngleV1,V2

13π

(4)

See Also

LinearAlgebra[DotProduct]

LinearAlgebra[VectorNorm]

type[BooleanOpt]

Vector

 


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