Index Page
cspice_clight
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 

Abstract
I/O
Examples
Particulars
Required Reading
Version
Index_Entries

Abstract


   CSPICE_CLIGHT returns the value for the constant speed of light  
   in a vacuum (IAU official value, in km/sec).

I/O


   Given:

      No input required.

   the call:

      clight = cspice_clight

   returns:

      clight   the IAU official value for the speed of light in 
               vacuo: 299792.458 km/sec.

               [1,1] = size(clight); double = class(clight)

Examples


   Any numerical results shown for this example may differ between
   platforms as the results depend on the SPICE kernels used as input
   and the machine specific arithmetic implementation.

      >> speed_of_light = cspice_clight

      speed_of_light =

         2.9979e+05

      >> sprintf( 'Speed of light: %10.3f', cspice_clight )

      ans =

      Speed of light: 299792.458

Particulars


   None.

Required Reading


   For important details concerning this module's function, please refer to
   the CSPICE routine clight_c.

   MICE.REQ

Version


   -Mice Version 1.0.1, 11-JUN-2013, EDW (JPL)

       I/O descriptions edits to conform to Mice documentation format.

   -Mice Version 1.0.0, 22-NOV-2005, EDW (JPL)

Index_Entries


   measured velocity of light in a vacuum


Wed Apr  5 18:00:30 2017