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

NAME

6       lis_vector_set_values  -  assign  the  scalar values to the rows of the
7       vector
8
9

SYNOPSIS

11       #include "lis.h"
12
13       LIS_INT  lis_vector_set_values(LIS_INT  flag,  LIS_INT  count,  LIS_INT
14       index[], LIS_SCALAR value[], LIS_VECTOR v);
15
16

DESCRIPTION

18       Assign  scalar  value[i]  to the index[i]-th row of the vector v, where
19       [i]=0,1,...,[count]-1.
20
21

INPUT

23       flag
24
25              LIS_INS_VALUE
26                     v[index[i]] = value[i]
27
28              LIS_ADD_VALUE
29                     v[index[i]] = v[index[i]] + value[i]
30
31
32              i      The location where the value is assigned
33
34
35              value  The scalar value to be assigned
36
37
38              v      The destination vector
39
40

OUTPUT

42       v      The vector with the scalar value assigned to the i-th row
43
44

EXIT STATUS

46       The following exit values are returned:
47
48       0      The process is normally terminated
49
50       unspecified
51              An error occurred
52
53

NOTE

55       For the multiprocessing environment, the i-th row of the global  vector
56       must be specified instead of the i-th row of the partial vector.
57
58

SEE ALSO

60       lis(3)
61
62       http://www.ssisc.org/lis/
63
64
65
66
67Man Page                          6 Sep 2012          lis_vector_set_values(3)
Impressum