lis_array_scale - Man Page
multiply the vector by the scalar
Synopsis
#include "lis.h"
LIS_INT lis_array_scale(LIS_INT n, LIS_SCALAR alpha, LIS_SCALAR x[]);
Description
Multiply vector x by scalar alpha.
Input
- n
The size of the vector
- alpha
The scalar value alpha
- x
The array that stores 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
Info
3 Dec 2014 Man Page Lis Library Functions