Index Page
cspice_vdotg
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_VDOTG returns a scalar double describing the dot product
   (inner product) of two arbitrary size vectors. 

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

I/O

   
   Given two arbitrary 3 vector vec1 and vec2: 
   
     double_dot = cspice_vdotg (vec1,vec2)
                                                  
   returns the dot product ( <vec1,vec2> ) to the scalar variable 
   'double_dot'.

Examples


   Native IDL code to calculate the same scalar result:
   
      double_dot = transpose(vec1) # vec2
      double_dot = vec2 ## transpose(vec1) 
   
   The native IDL function also accepts arbitrary sized N vectors.

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


   dot product of n-dimensional vectors




Wed Apr  5 17:58:04 2017