lis_array_mgs(3)

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

SYNOPSIS
#include "lis.h" LIS_INT lis_array_mgs(LIS_INT n, LIS_SCALAR a[], LIS_SCALAR q[], LIS_SCALAR r[]);

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

EXIT STATUS
The following exit values are returned:

0   The process is normally terminated

unspecified
    An error occurred

SEE ALSO
lis(3)

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