Index Page
cspice_vsub
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_VSUB returns a double precision 3-vector describing the difference
   of two 3-vectors.

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

I/O


   Given:

      vec1,
      vec2    two arbitrary double precision 3-vectors.

   the call:

      cspice_vsub, vec1, vec2, diff

   returns:

      diff   the double precision 3-vector subtraction of 'vec1' and 'vec2'.

Examples


   Native IDL code to calculate the same vector result:

      diff = vec1 - vec2

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

Particulars


   None.

Required Reading


   ICY.REQ

Version


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

      Edits to comply with NAIF standard for Icy headers.

   -Icy Version 1.0.2, 23-SEP-2008, EDW (JPL)

      Eliminated english error.

   -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 subtraction




Wed Apr  5 17:58:04 2017