1lis_vector_scale(3) Lis Library Functions lis_vector_scale(3)
2
3
4
6 lis_vector_scale - multiply the vector by the scalar
7
8
10 #include "lis.h"
11
12 LIS_INT lis_vector_scale(LIS_SCALAR alpha, LIS_VECTOR x);
13
14
16 Multiply vector x by scalar alpha.
17
18
20 alpha The scalar value alpha
21
22
23 x The vector
24
25
27 x alpha * x (vector x is overwritten)
28
29
31 The following exit values are returned:
32
33 0 The process is normally terminated
34
35 unspecified
36 An error occurred
37
38
40 lis(3)
41
42 http://www.ssisc.org/lis/
43
44
45
46
47Man Page 6 Sep 2012 lis_vector_scale(3)