Block LU Decomposition: explained - PowerPoint PPT Presentation

About This Presentation
Title:

Block LU Decomposition: explained

Description:

BLOCK LU DECOMPOSITION: EXPLAINED Keiran O Haire Introduction Method for performing LU decomposition on large matrices Requires more calculations Faster due to ... – PowerPoint PPT presentation

Number of Views:92
Avg rating:3.0/5.0
Slides: 19
Provided by: Keir3
Category:

less

Transcript and Presenter's Notes

Title: Block LU Decomposition: explained


1
Block LU Decomposition explained
  • Keiran OHaire

2
Introduction
  • Method for performing LU decomposition on large
    matrices
  • Requires more calculations
  • Faster due to memory locality

3
The Matrix
A11 A12 A13
A21 A22 A23
A31 A32 A33
4
Notes
  • Each of the boxes represent sub matrices of the
    original matrix
  • The sub matrices size are determined by the
    block size
  • Example sub matrix with block size 4

4 2
1 8
5
Matrix Dimensions
b
n-b
A11 A12 A13
A21 A22 A23
A31 A32 A33
b
n-b
6
Step 1
  • LU Decomposition of left-most column

L11 A12 A13
L21 A22 A23
L31 A32 A33
7
Step 2
  • Solve the rest of the top row using the topmost L

L11 U12 U13
L21 A22 A23
L31 A32 A33
8
Step 2 Breakdown
Example L
Example U
1 0 3 1
3 1 2 5
9
Column Version
  • Use one column at a time from the matrix you wish
    to solve

1 0 3
3 1 2
10
Column Version Contd
The result!
3
-7
11
Column Version Contd
  • Now insert the next column
  • Repeat until all columns are solved

1 0 1
3 1 5
12
Row Version
  • Same matrices as before, but this time were doing
    rows
  • The version is dependent on the language you are
    using, such as C or FORTRAN due to array
    orientation

1 0 3 1
3 1 2 5
13
Row Version Contd
  • This time, solve each of these (one cell at a
    time) in a row.
  • i.e. solve 1 0 3
  • Clearly, for the first, x13, and for the second,
    x11

1 0 3 1
14
Row Version Contd
  • These calculated xs are now used in the next
    row.
  • i.e., 3(x13) x2 2, x2-7
  • Then, 3(x11) x2 5, x22

1 0 3 1
3 1 2 5
15
Continued
  • So now we have calculated this portion. Now..

L11 U12 U13
L21 A22 A23
L31 A32 A33
16
The Next Step
  • Continue recursively

L11 U12 U13
L21 L22 U23
L31 L32 A33
17
The Completed Decomposition
  • Eventually you end up with the solution

L11 U12 U13
L21 L22 U23
L31 L32 L33
18
Questions?
Questions?
Write a Comment
User Comments (0)
About PowerShow.com