lis_array_cgs.3f - Man Page
calculate the QR factorization with the classical Gram-Schmidt process
Synopsis
subroutine lis_array_cgs(LIS_INTEGER n, LIS_SCALAR a(), LIS_SCALAR q(), LIS_SCALAR r(), LIS_INTEGER ierr);
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
See Also
Info
3 Dec 2014 Man Page Lis Library Functions