home | help
lis_vector_scale(3)	      Lis Library Functions	     lis_vector_scale(3)

NAME
     lis_vector_scale - multiply the vector by the scalar

SYNOPSIS
     #include "lis.h"

     LIS_INT lis_vector_scale(LIS_SCALAR alpha, LIS_VECTOR x);

DESCRIPTION
     Multiply vector x by scalar alpha.

INPUT
     alpha  The scalar value alpha

     x	    The vector

OUTPUT
     x	    alpha * x (vector x is overwritten)

EXIT STATUS
     The following exit values are returned:

     0	    The process is normally terminated

     unspecified
	    An error occurred

SEE ALSO
     lis(3)

     http://www.ssisc.org/lis/

Man Page			   6 Sep 2012		     lis_vector_scale(3)

home | help