type(t_qr) mod_matrix::m_decompQR_GramSchimdt ( type(matrix),intent(in)  m,
logical,intent(in),optional  is_permuted 
)

qr decomposition by Gram-Schmidt (bad in numerical computing)

Author:
Abal-Kassim Cheik Ahamed <akcheik@gmail.com>
Parameters:
m : type(matrix)
is_permuted : with permutation matrix (optional)
Date:
26th of March, 2011
Remarks:
The Rayleigh Quotient Iteration is a natural union of the power and inverse power iterations algorithm of Yousef Saad (eig_book_2ndEd)
 A (m x n), if m>=n: * Q (m x n) orthornormal (.tr.Q.Q=I)
		         * R (n x n) upper triangular with nonnegative diagonal elements
 
Returns:
res : type(t_qr), QR decomposition
See also:
math_machine_eps()
Todo:
rank? Q and R sizes

Definition at line 3513 of file matrix.f90.

 All Classes Namespaces Files Functions Variables Defines