Index Page
cspice_vadd
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_VADD returns a double precision 3-vector describing
   the sum of two 3-vectors.

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

I/O


   Given:

      vec1,
      vec2    two arbitrary double precision 3-vectors.

   the call:

      cspice_vadd, vec1, vec2, sum

   returns:

      sum   a double precision 3-vector containing the addition of
            'vec1' and 'vec2'.

Examples


   Native IDL code to calculate the same vector result:

      sum = vec1 + vec2

   The IDL '+' operator accepts arbitrary size N vectors.

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


   3-dimensional vector addition




Wed Apr  5 17:58:04 2017