lis_vector_scale man page

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/

Info

6 Sep 2012 Man Page Lis Library Functions