lis_array_mgs(3f)

NAME
lis_array_mgs - calculate the QR factorization with the modified Gram-Schmidt process

SYNOPSIS
subroutine lis_array_mgs(LIS_INTEGER n, LIS_SCALAR a(), LIS_SCALAR q(), LIS_SCALAR r(), LIS_INTEGER ierr);

DESCRIPTION
Calculate the QR factorization QR=A with the modified Gram-Schmidt process.

INPUT

n   The size of the matrices

a   The array that stores matrix A of size n * n

OUTPUT

q   The array that stores matrix Q of size n * n

r   The array that stores matrix R of size n * n

SEE ALSO
lis(3)

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