1lis_vector_set_values(3f) Lis Library Functions lis_vector_set_values(3f)
2
3
4
6 lis_vector_set_values - assign the scalar values to the rows of the
7 vector
8
9
11 subroutine lis_vector_set_values(LIS_INTEGER flag, LIS_INTEGER count,
12 LIS_INTEGER index[], LIS_SCALAR value[], LIS_VECTOR v, LIS_INTEGER
13 ierr);
14
15
17 Assign scalar value[i] to the index[i]-th row of the vector v, where
18 [i]=0,1,...,[count]-1.
19
20
22 flag
23
24 LIS_INS_VALUE
25 v[index[i]] = value[i]
26
27 LIS_ADD_VALUE
28 v[index[i]] = v[index[i]] + value[i]
29
30
31 i The location where the value is assigned
32
33
34 value The scalar value to be assigned
35
36
37 v The destination vector
38
39
41 v The vector with the scalar value assigned to the i-th row
42
43
45 For the multiprocessing environment, the i-th row of the global vector
46 must be specified instead of the i-th row of the partial vector.
47
48
50 lis(3)
51
52 http://www.ssisc.org/lis/
53
54
55
56
57Man Page 6 Sep 2012 lis_vector_set_values(3f)