Index Page
cspice_vzero
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_VZERO returns a boolean indicating whether an arbitrary
   double precision 3-vector is the zero vector - a vector with
   all elements of 0.

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

I/O


   Given

      vec   an arbitrary double precision 3-vector.

   the call:

      vzero = cspice_vzero( vec )

   returns:

      vezero   a scalar boolean indicating if all elements of 'vec' have
               value zero.

Examples


   if ( cspice_vzero( vec ) ) then print, 'The zero vector'

Particulars


   None.

Required Reading


   ICY.REQ

Version


   -Icy Version 1.0.2, 13-JUN-2011, EDW (JPL)

      Edits to comply with NAIF standard for Icy headers.

   -Icy Version 1.0.1, 09-DEC-2005, EDW (JPL)

      Added Examples section.

   -Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)

Index_Entries


   test whether a 3-dimensional vector is the zero vector




Wed Apr  5 17:58:04 2017