Linear Least Squares - PowerPoint PPT Presentation

About This Presentation
Title:

Linear Least Squares

Description:

Householder to Zero ... Typically, when using Householder transformations, you never ... Householder transformations are a good way to zero out subdiagonal ... – PowerPoint PPT presentation

Number of Views:97
Avg rating:3.0/5.0
Slides: 10
Provided by: paulhe1
Learn more at: http://www.cs.cmu.edu
Category:

less

Transcript and Presenter's Notes

Title: Linear Least Squares


1
Linear Least Squares
  • Paul Heckbert
  • Computer Science Department
  • Carnegie Mellon University

2
Orthogonal and Hermitian Matrix
  • A square matrix Q is orthogonal iff Q-1QT
  • QTQ QQT I
  • its rows are orthonormal
  • ? its columns are orthonormal
  • note orthogonal matrices are often named Q
  • generalization a matrix is Hermitian iff Q-1QH
    where superscript H denotes complex conjugate
    transpose

3
Householder Transformations
  • The Householder transformation determined by
    vector v is
  • To apply it to a vector x, compute

outer product, n?n matrix
inner product, scalar
scalar
4
Householder Geometry
  • Hx is x reflected through the hyperplane
    perpendicular to v (p pTv0)

5
Householder Properties
  • H is symmetric, since
  • H is orthogonal, since

6
Householder to Zero Matrix Elements
  • Well use Householder transformations to zero
    subdiagonal elements of a matrix.
  • Given any vector a, find the v that determines an
    H such that,
  • Now solve for v

7
Choosing the Vector v
8
Applying Householder Transforms
  • Dont compute Hx explicitly, that costs 3n2
    flops.
  • Instead use the formula given previously,
  • which costs 4n flops (if you pre-compute vTv
    or pre-normalize vTv2).
  • Typically, when using Householder
    transformations, you never compute the matrix H
    its only used in derivation and analysis.

9
QR Decomposition
  • Householder transformations are a good way to
    zero out subdiagonal elements of a matrix.
  • A is decomposed
  • where QTHnH2H1 is the orthogonal (prove!)
    product of Householders and R is upper
    triangular.
  • Overdetermined system Axb is transformed into
    the easy-to-solve
Write a Comment
User Comments (0)
About PowerShow.com