Index Page
cspice_unormg
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_UNORMG returns a normalized copy of a double 
   precision N-vector and the corresponding vector magnitude.

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

I/O

   
   Given:
   
      vec1   an arbitrary double precision N-vector
   
   the call:
   
      cspice_unormg, vec1, vecout, vec1_mag
   
   returns:
   
      vecout     the normalized, double precision version of 'vec1' 
      vec1_mag   the double precision magnitude of 'vec1'
   
   IDL native code to perform the same operation:
   
      vecout   = vec1/norm(vec1)
      vec1_mag = norm( vec1 )
   
   The native IDL functions also accept arbitrary sized vectors. 

Examples


   None.

Particulars


   None.

Required Reading


   ICY.REQ

Version


   -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


   n-dimensional unit vector and norm




Wed Apr  5 17:58:04 2017