lis_matrix_scaling(3f)

NAME
lis_matrix_scaling - scale the matrix

SYNOPSIS
subroutine lis_matrix_scaling(LIS_MATRIX A, LIS_VECTOR b, LIS_VECTOR d, LIS_INTEGER action, LIS_INTEGER ierr);

DESCRIPTION
Scale matrix A.

INPUT

i   The row number of the matrix

j   The column number of the matrix

value
    The scalar value to be assigned

A   The matrix

b   The vector

action

    LIS_SCALE_JACOBI
        Jacobi scaling D^-1 A x = D^-1 b, where D represents the diagonal of A=(a_ij)

    LIS_SCALE_SYMM_DIAG
        Diagonal scaling D^-1/2 A D^-1/2 x = D^-1/2 b, where D^-1/2 represents the diagonal matrix with (a_ii)^-1/2 as the diagonal

OUTPUT

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

SEE ALSO
lis(3)

http://www.ssisc.org/lis/