Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: matrix.cosangle - Function Up: matrix - Tool Previous: matrix.dotproduct - Function


matrix.angle - Function



Package utility
Module mathematics
Tool matrix


Find the angle between two vectors


Synopsis
angle(v1, v2, deg)


Arguments

v1   The first vector (Input)
v2   The second vector (Input)
deg   If T, the result is in degrees (Input)
    Default: F


Returns
angle


Description
Returns the angle (in rad or deg) between the two input vectors, which must be of equal length.





next up previous contents index
Next: matrix.cosangle - Function Up: matrix - Tool Previous: matrix.dotproduct - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15