Algorithmic Differentiation in Python with Application Examples
Algorithmic Differentiation in Python with Application Examples
Algorithmic Differentiation in Python with Application Examples
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Algorithm: Forward UTPM of the Rectangular QR Decomposition<br />
<strong>in</strong>put : [A] D = [A 0 , . . . , A D− 1], where A d ∈ R M×N , d = 0, . . . , D − 1, M ≥ N.<br />
output: [Q] D = [Q 0 , . . . , Q D− 1] matrix <strong>with</strong> orthonormal column vectors, where Q d ∈ R M×N ,<br />
d = 0, . . . , D − 1<br />
output: [R] D = [R 0 , . . . , R D− 1] upper triangular, where R d ∈ R N×N , d = 0, . . . , D − 1<br />
Q 0 , R 0 = qr (A 0 )<br />
for d = 1 to D − 1 do<br />
∆F = A d − P d−1<br />
k=1 Q d−kR k<br />
S = − 1 P d−1<br />
2 k=1 QT d−k Q k<br />
P L ◦ X = P L ◦ (Q T 0 ∆FR−1 0 − S)<br />
X = P L ◦ X − (P L ◦ X) T<br />
R d = Q T 0 ∆F − (S + X)R 0<br />
Q d = (∆F − Q 0 R d )R −1<br />
0<br />
end<br />
Sebastian F. Walter, Humboldt-Universität zu Berl<strong>in</strong> <strong>Algorithmic</strong> () <strong>Differentiation</strong> <strong>in</strong> <strong>Python</strong> <strong>with</strong> <strong>Application</strong> <strong>Examples</strong> Wednesday, 10.07.2010 27 / 27