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

NAME

6       lis_matrix_scale - scale the matrix
7
8

SYNOPSIS

10       subroutine  lis_matrix_scale(LIS_MATRIX  A, LIS_VECTOR b, LIS_VECTOR d,
11       LIS_INTEGER action, LIS_INTEGER ierr);
12
13

DESCRIPTION

15       Scale matrix A.
16
17

INPUT

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

OUTPUT

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

SEE ALSO

51       lis(3)
52
53       http://www.ssisc.org/lis/
54
55
56
57
58Man Page                          28 Aug 2014             lis_matrix_scale(3f)
Impressum