- rthogonalization
- L. Olson
October 27, 2015
Department of Computer Science University of Illinois at Urbana-Champaign
1
orthogonalization L. Olson October 27, 2015 Department of Computer - - PowerPoint PPT Presentation
orthogonalization L. Olson October 27, 2015 Department of Computer Science University of Illinois at Urbana-Champaign 1 objectives Revisit SVD and Orthogonal Matrices Create orthogonal vectors Outline the Gram-Schmidt algorithm for
Department of Computer Science University of Illinois at Urbana-Champaign
1
2
1 A = np.random.rand(10,10) 2 print(np.linalg.cond(A)) 3 print(np.linalg.cond(A.T.dot(A))) 4 5
6
3
4
2 = (Qv)T(Qv) = vTQTQv = vTv = ||v||2 2.
5
1 q2 = 0 and q2 = a2 + cq1. That is,
1 q2 = 0 = qT 1 a2 + cqT 1 q1
6
1 q2 = 0 = qT 1 a2 + cqT 1 q1
1 a2
1 q1
1 a2
1 q1
2 a3
2 q2
1 a3
1 q1
7
i aj
qT
i qi , j > i 8
1
1 q1
1 (I − q1qT 1
1 q1
9
1 def qr(A): 2 3
4 5
6
7
8
9
10