compute the angle between two Vectors
VectorAngle(U, V, c)
Vectors with the same dimension
(optional) equation of the form conjugate=true or false; specifies if the result uses the Hermitian transpose
The VectorAngle(U, V) function computes the angle between Vectors U and V by using the formula arccos⁡DotProduct⁡U,V,cVectorNorm⁡U,2⁢VectorNorm⁡V,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](..).
V1 ≔ 1,0,1
V2 ≔ 1,1,0
Download Help Document
What kind of issue would you like to report? (Optional)