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

NAME

6       lis_matrix_scale - scale the matrix
7
8

SYNOPSIS

10       #include "lis.h"
11
12       LIS_INT  lis_matrix_scale(LIS_MATRIX  A,  LIS_VECTOR  b,  LIS_VECTOR d,
13       LIS_INT action);
14
15

DESCRIPTION

17       Scale matrix A.
18
19

INPUT

21       i      The row number of the matrix
22
23
24       j      The column number of the matrix
25
26
27       value  The scalar value to be assigned
28
29
30       A      The matrix
31
32
33       b      The vector
34
35
36       action
37
38              LIS_SCALE_JACOBI
39                     Jacobi scaling D^-1 A x = D^-1 b, where D represents  the
40                     diagonal of A=(a_ij)
41
42              LIS_SCALE_SYMM_DIAG
43                     Diagonal  scaling  D^-1/2  A  D^-1/2  x = D^-1/2 b, where
44                     D^-1/2 represents the diagonal matrix with (a_ii)^-1/2 as
45                     the diagonal
46
47

OUTPUT

49       d      The vector which stores the diagonal elements of D^-1 or D^-1/2
50
51

EXIT STATUS

53       The following exit values are returned:
54
55       0      The process is normally terminated
56
57       unspecified
58              An error occurred
59
60

SEE ALSO

62       lis(3)
63
64       http://www.ssisc.org/lis/
65
66
67
68
69Man Page                          28 Aug 2014              lis_matrix_scale(3)
Impressum