Next: pas, Previous: p2s, Up: Internal Routines [Contents][Index]

`pap(`

`ref`, `tgt`)

[SOFA] Returns the position angle of p-vector

from
p-vector `tgt`

. It is in the range from minus pi to plus
pi radians. The vectors `ref`

and `ref`

need
not be of unit length. `tgt`

and `tgt`

must
have the same dimensions, and their first dimension must have 3
elements. The result has the same dimensions as `ref`

except that the first dimension (equal to 3) is omitted.
`tgt`