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

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

I/O

   
   Given an arbitrary N-vector vec1 and a scalar fac, the call:
   
     cspice_vsclg, fac, vec1, vec_out
                                                  
   returns the vector vec_out which equals vec1 scaled by fac.

Examples


   Native IDL code to calculate the same vector result:
   
      vec_out = fac * vec1
   
   The IDL functionality 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

 
   n-dimensional vector scaling
 



Wed Apr  5 17:58:04 2017