lis_array_cgs - Man Page
calculate the QR factorization with the classical Gram-Schmidt process
Synopsis
#include "lis.h"
LIS_INT lis_array_cgs(LIS_INT n, LIS_SCALAR a[], LIS_SCALAR q[], LIS_SCALAR r[]);
Description
Calculate the QR factorization QR=A with the classical 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 orthogonal matrix Q of size n * n
- r
The array that stores upper-triangular 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
Info
3 Dec 2014 Man Page Lis Library Functions