lis_array_cgs - calculate the QR factorization with the classical Gram-Schmidt
process
#include "lis.h"
LIS_INT lis_array_cgs(LIS_INT n, LIS_SCALAR
a[], LIS_SCALAR q[], LIS_SCALAR r[]);
Calculate the QR factorization QR=A with the classical Gram-Schmidt
process.
- n
- The size of the matrices
- a
- The array that stores matrix A of size n * n
- q
- The array that stores orthogonal matrix Q of size n * n
- r
- The array that stores upper-triangular matrix R of size n *
n
The following exit values are returned:
- 0
- The process is normally terminated
- unspecified
- An error occurred
lis(3)
http://www.ssisc.org/lis/