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

NAME

6       lis_matrix_set_value  -  assign  the scalar value to the element of the
7       matrix
8
9

SYNOPSIS

11       #include "lis.h"
12
13       LIS_INT  lis_matrix_set_value(LIS_INT  flag,  LIS_INT  i,  LIS_INT   j,
14       LIS_SCALAR value, LIS_MATRIX A);
15
16

DESCRIPTION

18       Assign the scalar value to the (i, j)-th element of matrix A.
19
20

INPUT

22       flag
23
24              LIS_INS_VALUE
25                     A[i, j] = value
26
27              LIS_ADD_VALUE
28                     A[i, j] = A[i, j] + value
29
30
31              i      The row number of the matrix
32
33
34              j      The column number of the matrix
35
36
37              value  The scalar value to be assigned
38
39
40              A      The matrix
41
42

OUTPUT

44       A      The matrix
45
46

EXIT STATUS

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

NOTE

57       For  the  multiprocessing environment, the i-th row and the j-th column
58       of   the   global   matrix   must   be   specified.     The    function
59       lis_matrix_set_value  stores the assigned value in a temporary internal
60       format. Therefore, after lis_matrix_set_value is called,  the  function
61       lis_matrix_assemble must be called.
62
63

SEE ALSO

65       lis(3)
66
67       http://www.ssisc.org/lis/
68
69
70
71
72Man Page                          28 Aug 2014          lis_matrix_set_value(3)
Impressum