1lis_array_scale(3)           Lis Library Functions          lis_array_scale(3)
2
3
4

NAME

6       lis_array_scale - multiply the vector by the scalar
7
8

SYNOPSIS

10       #include "lis.h"
11
12       LIS_INT lis_array_scale(LIS_INT n, LIS_SCALAR alpha, LIS_SCALAR x[]);
13
14

DESCRIPTION

16       Multiply vector x by scalar alpha.
17
18

INPUT

20       n      The size of the vector
21
22
23       alpha  The scalar value alpha
24
25
26       x      The array that stores the vector
27
28

OUTPUT

30       x      alpha * x (vector x is overwritten)
31
32

EXIT STATUS

34       The following exit values are returned:
35
36       0      The process is normally terminated
37
38       unspecified
39              An error occurred
40
41

SEE ALSO

43       lis(3)
44
45       http://www.ssisc.org/lis/
46
47
48
49
50Man Page                          3 Dec 2014                lis_array_scale(3)
Impressum