lis_array_mgs - Man Page

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/

Info

3 Dec 2014 Man Page Lis Library Functions