lis_matrix_scale.3f - Man Page

scale the matrix

Synopsis

subroutine lis_matrix_scale(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/

Info

28 Aug 2014 Man Page Lis Library Functions