Index Page
cspice_vscl
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_VSCL returns a double 3-vector, the product of a double
   scalar multiplied by an input 3-vector.

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

I/O


   Given:

      vec1   an arbitrary double precision 3-vector.

      fac    the double precision scalar scale factor.

   the call:

      cspice_vscl, fac, vec1, vec_out

   returns:

      vec_out   a double precision 3-vector equal to 'vec1' scaled by 'fac'.

Examples


   Native IDL code to calculate the same vector result:

      vec_out = fac * vec1

   The IDL functionality accepts arbitrary sized 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, 09-DEC-2005, EDW (JPL)

      Added Examples section.

   -Icy Version 1.0.1, 19-MAY-2005, EDW (JPL)

      Corrected typo in the function description. Miscoded the call description
      in I/O as a FORTRAN call, not an IDL call.

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

Index_Entries


   3-dimensional vector scaling




Wed Apr  5 17:58:04 2017