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.mult - Function Up: matrix - Tool Previous: matrix.rotationmatrix - Function


matrix.rotate - Function



Package utility
Module mathematics
Tool matrix


rotate a 2D (plain) vector


Synopsis
rotate(v, angle, deg)


Arguments

v   The 2x2 vector to be rotated (Input)
angle   The rotation angle $ \phi$ (rad) (Input)
deg   If T, the angle is in degrees (Input)
    Default: F


Returns
rotated vector


Description
Rotates the 2D vector v over the given angle $ \phi$.





next up previous contents index
Next: matrix.mult - Function Up: matrix - Tool Previous: matrix.rotationmatrix - 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