</table>


<PRE>
</pre><h4><a name="Abstract">Abstract</a></h4><pre>

   CSPICE_SPHREC converts spherical coordinates to rectangular
   (Cartesian) coordinates.

</pre><h4><a name="I/O">I/O</a></h4><pre>

   Given:

      r        the value(s) describing the distance of the position
               from the origin.

               [1,n] = size(r); double = class(r)

      colat    the value(s) describing the angle between the point and the
               positive z-axis, measured in radians (also referred to