1lis_vector_set_value(3) Lis Library Functions lis_vector_set_value(3)
2
3
4
6 lis_vector_set_value - assign the scalar value to the row of the vector
7
8
10 #include "lis.h"
11
12 LIS_INT lis_vector_set_value(LIS_INT flag, LIS_INT i, LIS_SCALAR value,
13 LIS_VECTOR v);
14
15
17 Assign the scalar value to the i-th row of vector v.
18
19
21 flag
22
23 LIS_INS_VALUE
24 v[i] = value
25
26 LIS_ADD_VALUE
27 v[i] = v[i] + value
28
29
30 i The location where the value is assigned
31
32
33 value The scalar value to be assigned
34
35
36 v The destination vector
37
38
40 v The vector with the scalar value assigned to the i-th row
41
42
44 The following exit values are returned:
45
46 0 The process is normally terminated
47
48 unspecified
49 An error occurred
50
51
53 For the multiprocessing environment, the i-th row of the global vector
54 must be specified instead of the i-th row of the partial vector.
55
56
58 lis(3)
59
60 http://www.ssisc.org/lis/
61
62
63
64
65Man Page 6 Sep 2012 lis_vector_set_value(3)