[CSC 335] PLU
Andrew J. Pounds
pounds_aj at mercer.edu
Fri Nov 20 20:23:01 EST 2015
Wow -- the last 36 hours has been BUSY... Anyway, there were a few
questions about the PLU decomposition at the end of class yesterday and
I wanted to make sure we were all on the same page.
If $\hat{A}\vec{x}= \vec{b}$ then I can get the same result by
premultiplying both sides with the permutation matrix
$\hat{P}\hat{A}\vec{x}=\hat{P}\vec{b}$ and if $\hat{A}$ has been broken
down into its LU decomposition then
$\hat{P}\hat{L}\hat{U}\vec{x}=\hat{P}\vec{b}$.
So, if I factor matrix $\hat{A}$ into an PLU decomposition and then give
the algorithm the vector $\vec{b}$, I recover the solution vector
$\vec{x}$ by first permuting the vector $\vec{b}$ and solving the system
$\hat{L}\vec{y}=\hat{P}\vec{b}$
and then follow this with
$\hat{U}\vec{x} = \vec{y}$.
Before you ask "hey -- where is the permutation matrix on the left side
of those last two equations" remember that it was already applied to get
the LU factorization. We simply use the $\hat{P}$ on the right above to
bring the $\vec{b}$ into the same permuted order.
Does that help clarify things?
--
Andrew J. Pounds, Ph.D. (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
http://faculty.mercer.edu/pounds_aj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20151120/46429e01/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-2.png
Type: image/png
Size: 800 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20151120/46429e01/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-5.png
Type: image/png
Size: 1024 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20151120/46429e01/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-4.png
Type: image/png
Size: 559 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20151120/46429e01/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-3.png
Type: image/png
Size: 1105 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20151120/46429e01/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-8.png
Type: image/png
Size: 540 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20151120/46429e01/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-9.png
Type: image/png
Size: 523 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20151120/46429e01/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-7.png
Type: image/png
Size: 932 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20151120/46429e01/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-6.png
Type: image/png
Size: 847 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20151120/46429e01/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tblatex-10.png
Type: image/png
Size: 558 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20151120/46429e01/attachment-0008.png>
More information about the csc335
mailing list