linalg[angle] - compute the angle between vectors
|
Calling Sequence
|
|
angle(u, v)
|
|
Parameters
|
|
u, v
|
-
|
n-dimensional vectors
|
|
|
|
|
Description
|
|
•
|
The call angle(u, v) computes the angle theta between the n-dimensional vectors u and v via the formula cos(theta) = u.v / (|u| |v|), using the Euclidean inner product and norm.
|
•
|
The command with(linalg,angle) allows the use of the abbreviated form of this command.
|
|
|
Download Help Document
Was this information helpful?