Next: pvdpv, Previous: push, Up: Internal Routines [Contents][Index]
pv2s, pv, theta, phi, r, td,
pd, rd
[SOFA] Converts position/velocity vector pv
(which has 2
elements in its first dimension and 3 elements in its second
dimension) from Cartesian to spherical coordinates. The output
parameters are: theta
= longitude in radians,
phi
= latitude in radians, r
= radial
distance, td
= rate of change of theta, pd
=
rate of change of phi
, rd
= rate of change
of r
. The output variables get the same dimensions as
pv
except that the first two dimensions (equal to 2 and
3) are omitted.