1lis_matrix_set_value(3f) Lis Library Functions lis_matrix_set_value(3f)
2
3
4
6 lis_matrix_set_value - assign the scalar value to the element of the
7 matrix
8
9
11 subroutine lis_matrix_set_value(LIS_INTEGER flag, LIS_INTEGER i,
12 LIS_INTEGER j, LIS_SCALAR value, LIS_MATRIX A, LIS_INTEGER ierr);
13
14
16 Assign the scalar value to the (i, j)-th element of matrix A.
17
18
20 flag
21
22 LIS_INS_VALUE
23 A[i, j] = value
24
25 LIS_ADD_VALUE
26 A[i, j] = A[i, j] + value
27
28
29 i The row number of the matrix
30
31
32 j The column number of the matrix
33
34
35 value The scalar value to be assigned
36
37
38 A The matrix
39
40
42 A The matrix
43
44
46 For the multiprocessing environment, the i-th row and the j-th column
47 of the global matrix must be specified. The function
48 lis_matrix_set_value stores the assigned value in a temporary internal
49 format. Therefore, after lis_matrix_set_value is called, the function
50 lis_matrix_assemble must be called.
51
52
54 lis(3)
55
56 http://www.ssisc.org/lis/
57
58
59
60
61Man Page 28 Aug 2014 lis_matrix_set_value(3f)