- 1、本文档共21页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Cholesky factorization
EE103 (Fall 2011-12)
6. Cholesky factorization
? triangular matrices
? forward and backward substitution
? the Cholesky factorization
? solving Ax = b with A positive definite
? inverse of a positive definite matrix
? permutation matrices
? sparse Cholesky factorization
6-1
Triangular matrix
a square matrix A is lower triangular if aij = 0 for j i
A =
?
?????
a11 0 · · · 0 0
a21 a22 · · · 0 0
... ... . . . 0 0
an?1,1 an?1,2 · · · an?1,n?1 0
an1 an2 · · · an,n?1 ann
?
?????
A is upper triangular if aij = 0 for j i (A
T is lower triangular)
a triangular matrix is unit upper/lower triangular if aii = 1 for all i
Cholesky factorization 6-2
Forward substitution
solve Ax = b when A is lower triangular with nonzero diagonal elements
?
???
a11 0 · · · 0
a21 a22 · · · 0
... ... . . . ...
an1 an2 · · · ann
?
???
?
???
x1
x2
...
xn
?
??? =
?
???
b1
b2
...
bn
?
???
algorithm:
x1 := b1/a11
x2 := (b2 ? a21x1)/a22
x3 := (b3 ? a31x1 ? a32x2)/a33
...
xn := (bn ? an1x1 ? an2x2 ? · · · ? an,n?1xn?1)/ann
cost: 1 + 3 + 5 + · · ·+ (2n? 1) = n2 flops
Cholesky factorization 6-3
Back substitution
solve Ax = b when A is upper triangular with nonzero diagonal elements
?
???
a11 · · · a1,n?1 a1n
... . . . ... ...
0 · · · an?1,n?1 an?1,n
0 · · · 0 ann
?
???
?
???
x1
...
xn?1
xn
?
??? =
?
???
b1
...
bn?1
bn
?
???
algorithm:
xn := bn/ann
xn?1 := (bn?1 ? an?1,nxn)/an?1,n?1
xn?2 := (bn?2 ? an?2,n?1xn?1 ? an?2,nxn)/an?2,n?2
...
x1 := (b1 ? a12x2 ? a13x3 ? · · · ? a1nxn)/a11
cost: n2 flops
Cholesky factorization 6-4
Inverse of a triangular matrix
triangular matrix A with nonzero diagonal elements is nonsingular
? Ax = b is solvable via forward/back substitution; hence A has full range
? therefore A has a zero nullspace, is invertible, etc. (see p.4-8)
inverse
? can be computed by solving AX = I column by column
A
[
X1 X2 · · · Xn
]
=
[
e1 e2 · · · en
]
? inverse of lower triangular matrix is lower triangular
? inverse of upper triangular matrix is upper triangular
Cholesky factorization 6-5
Cholesk
您可能关注的文档
- BROADBAND ACCESS EVOLUTION NETWORK TECHNOLOGY TEST FOR THE EFFICIENCY OF LISTENING QUALITY.pdf
- Brownian motions Standard Brownian motion = uncorrelated Gaussian.pdf
- Brushlee Permanent Magnet Motor_Ch7.pdf
- BS 6323-4 tube material.pdf
- BS 5400- 2-1978.pdf
- BS2F7HZ7395.pdf
- BSG 胃息肉指南 2010 GUT.pdf
- Building a Microwave Frequency Synthesizer 1.pdf
- Building Academic Vocabulary.pdf
- Business and Economic Statistics lecture note 6.pdf
- Cichoric acid production from hairy.pdf
- Chronic Myelogenous Leukemia Cell Growth and Maturation in Liquid Culture1.pdf
- Circular DNA Logic Gates with Strand Displacement 1.pdf
- CISCO 能源管理.pdf
- Citizen Scientists.doc
- cissp exam outline 2015中文.pdf
- Classification and Comparison of Thermal and Mechanical Properties of Biodegradable Polymers.pdf
- Classification of Binary Data with one Low-Frequency Class using Logistic Discrimination an.pdf
- CLA_C2000_C_Compiler.pdf
- CLC001_DataSheet.pdf
文档评论(0)