SXV:

Path: Math/Linear

% Multiplies a scalar times a vector. 
 Each column in the vector is multiplied by the corresponding scalar.
--------------------------------------------------------------------------
   Form:
   z = SXV( s, v )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   s             (1,:) Scalar
   v             (n,:) Vector

   -------
   Outputs
   -------
   z             (n,:) Product of the scalar and the vector

 See also DupVect.
--------------------------------------------------------------------------

Children:

Math: Linear/DupVect

Back to the Math Module page