Fast Stable Computation of the Eigenvalues of Companion Matrices - - PowerPoint PPT Presentation

fast stable computation of the eigenvalues of companion
SMART_READER_LITE
LIVE PREVIEW

Fast Stable Computation of the Eigenvalues of Companion Matrices - - PowerPoint PPT Presentation

Fast Stable Computation of the Eigenvalues of Companion Matrices David S. Watkins Department of Mathematics Washington State University Spa, Belgium, 2014 David S. Watkins Eigenvalues of Companion Matrices Collaborators This is joint work


slide-1
SLIDE 1

Fast Stable Computation of the Eigenvalues

  • f Companion Matrices

David S. Watkins

Department of Mathematics Washington State University

Spa, Belgium, 2014

David S. Watkins Eigenvalues of Companion Matrices

slide-2
SLIDE 2

Collaborators

This is joint work with Jared Aurentz (WSU) Thomas Mach (KU Leuven) Raf Vandebril (KU Leuven)

David S. Watkins Eigenvalues of Companion Matrices

slide-3
SLIDE 3

Collaborators

This is joint work with Jared Aurentz (Oxford) Thomas Mach (KU Leuven) Raf Vandebril (KU Leuven)

David S. Watkins Eigenvalues of Companion Matrices

slide-4
SLIDE 4

The Problem

p(x) = xn + an−1xn−1 + an−2xn−2 + · · · + a0 = 0 companion matrix A =         · · · −a0 1 · · · −a1 1 ... . . . . . . ... −an−2 1 −an−1         Get the zeros of p by computing the eigenvalues of A.

David S. Watkins Eigenvalues of Companion Matrices

slide-5
SLIDE 5

The Problem

p(x) = xn + an−1xn−1 + an−2xn−2 + · · · + a0 = 0 companion matrix A =         · · · −a0 1 · · · −a1 1 ... . . . . . . ... −an−2 1 −an−1         Get the zeros of p by computing the eigenvalues of A.

David S. Watkins Eigenvalues of Companion Matrices

slide-6
SLIDE 6

Cost

If structure not exploited:

O(n2) storage, O(n3) flops Francis’s implicitly-shifted QR algorithm

If structure exploited:

O(n) storage, O(n2) flops data-sparse representation + Francis’s algorithm Several methods proposed including some by us (lightning fast but not stable)

David S. Watkins Eigenvalues of Companion Matrices

slide-7
SLIDE 7

Cost

If structure not exploited:

O(n2) storage, O(n3) flops Francis’s implicitly-shifted QR algorithm

If structure exploited:

O(n) storage, O(n2) flops data-sparse representation + Francis’s algorithm Several methods proposed including some by us (lightning fast but not stable)

David S. Watkins Eigenvalues of Companion Matrices

slide-8
SLIDE 8

Cost

If structure not exploited:

O(n2) storage, O(n3) flops Francis’s implicitly-shifted QR algorithm

If structure exploited:

O(n) storage, O(n2) flops data-sparse representation + Francis’s algorithm Several methods proposed including some by us (lightning fast but not stable)

David S. Watkins Eigenvalues of Companion Matrices

slide-9
SLIDE 9

Cost

If structure not exploited:

O(n2) storage, O(n3) flops Francis’s implicitly-shifted QR algorithm

If structure exploited:

O(n) storage, O(n2) flops data-sparse representation + Francis’s algorithm Several methods proposed including some by us (lightning fast but not stable)

David S. Watkins Eigenvalues of Companion Matrices

slide-10
SLIDE 10

Cost

If structure not exploited:

O(n2) storage, O(n3) flops Francis’s implicitly-shifted QR algorithm

If structure exploited:

O(n) storage, O(n2) flops data-sparse representation + Francis’s algorithm Several methods proposed including some by us (lightning fast but not stable)

David S. Watkins Eigenvalues of Companion Matrices

slide-11
SLIDE 11

Some of the Competitors

Chandrasekaran, Gu, Xia, Zhu (2007) Bini, Boito, Eidelman, Gemignani, Gohberg (2010) Boito, Eidelman, Gemignani, Gohberg (2012) Fortran codes available quasiseparable generator representation We will do something else. evidence of backward stability

David S. Watkins Eigenvalues of Companion Matrices

slide-12
SLIDE 12

Some of the Competitors

Chandrasekaran, Gu, Xia, Zhu (2007) Bini, Boito, Eidelman, Gemignani, Gohberg (2010) Boito, Eidelman, Gemignani, Gohberg (2012) Fortran codes available quasiseparable generator representation We will do something else. evidence of backward stability

David S. Watkins Eigenvalues of Companion Matrices

slide-13
SLIDE 13

Some of the Competitors

Chandrasekaran, Gu, Xia, Zhu (2007) Bini, Boito, Eidelman, Gemignani, Gohberg (2010) Boito, Eidelman, Gemignani, Gohberg (2012) Fortran codes available quasiseparable generator representation We will do something else. evidence of backward stability

David S. Watkins Eigenvalues of Companion Matrices

slide-14
SLIDE 14

Some of the Competitors

Chandrasekaran, Gu, Xia, Zhu (2007) Bini, Boito, Eidelman, Gemignani, Gohberg (2010) Boito, Eidelman, Gemignani, Gohberg (2012) Fortran codes available quasiseparable generator representation We will do something else. evidence of backward stability

David S. Watkins Eigenvalues of Companion Matrices

slide-15
SLIDE 15

Some of the Competitors

Chandrasekaran, Gu, Xia, Zhu (2007) Bini, Boito, Eidelman, Gemignani, Gohberg (2010) Boito, Eidelman, Gemignani, Gohberg (2012) Fortran codes available quasiseparable generator representation We will do something else. evidence of backward stability

David S. Watkins Eigenvalues of Companion Matrices

slide-16
SLIDE 16

Our Contribution

We present Yet another O(n) representation Francis algorithm in O(n) flops/iteration Fortran codes (we’re faster) normwise backward stable (We can prove it.)

David S. Watkins Eigenvalues of Companion Matrices

slide-17
SLIDE 17

Our Contribution

We present Yet another O(n) representation Francis algorithm in O(n) flops/iteration Fortran codes (we’re faster) normwise backward stable (We can prove it.)

David S. Watkins Eigenvalues of Companion Matrices

slide-18
SLIDE 18

Our Contribution

We present Yet another O(n) representation Francis algorithm in O(n) flops/iteration Fortran codes (we’re faster) normwise backward stable (We can prove it.)

David S. Watkins Eigenvalues of Companion Matrices

slide-19
SLIDE 19

Our Contribution

We present Yet another O(n) representation Francis algorithm in O(n) flops/iteration Fortran codes (we’re faster) normwise backward stable (We can prove it.)

David S. Watkins Eigenvalues of Companion Matrices

slide-20
SLIDE 20

Structure

Companion matrix is unitary-plus-rank-one      · · · eiθ 1 ... . . . 1      +      · · · −eiθ − a0 −a1 . . . . . . . . . · · · −an−1      preserved by unitary similarities Companion matrix is also upper Hessenberg. preserved by Francis algorithm We exploit this structure.

David S. Watkins Eigenvalues of Companion Matrices

slide-21
SLIDE 21

Structure

Companion matrix is unitary-plus-rank-one      · · · eiθ 1 ... . . . 1      +      · · · −eiθ − a0 −a1 . . . . . . . . . · · · −an−1      preserved by unitary similarities Companion matrix is also upper Hessenberg. preserved by Francis algorithm We exploit this structure.

David S. Watkins Eigenvalues of Companion Matrices

slide-22
SLIDE 22

Structure

Companion matrix is unitary-plus-rank-one      · · · eiθ 1 ... . . . 1      +      · · · −eiθ − a0 −a1 . . . . . . . . . · · · −an−1      preserved by unitary similarities Companion matrix is also upper Hessenberg. preserved by Francis algorithm We exploit this structure.

David S. Watkins Eigenvalues of Companion Matrices

slide-23
SLIDE 23

Structure

Companion matrix is unitary-plus-rank-one      · · · eiθ 1 ... . . . 1      +      · · · −eiθ − a0 −a1 . . . . . . . . . · · · −an−1      preserved by unitary similarities Companion matrix is also upper Hessenberg. preserved by Francis algorithm We exploit this structure.

David S. Watkins Eigenvalues of Companion Matrices

slide-24
SLIDE 24

Structure

Companion matrix is unitary-plus-rank-one      · · · eiθ 1 ... . . . 1      +      · · · −eiθ − a0 −a1 . . . . . . . . . · · · −an−1      preserved by unitary similarities Companion matrix is also upper Hessenberg. preserved by Francis algorithm We exploit this structure.

David S. Watkins Eigenvalues of Companion Matrices

slide-25
SLIDE 25

Structure

Chandrasekaran, Gu, Xia, Zhu (2007) A = QR Q is upper Hessenberg and unitary. R is upper triangular and unitary-plus-rank-one. We do this too.

David S. Watkins Eigenvalues of Companion Matrices

slide-26
SLIDE 26

Structure

Chandrasekaran, Gu, Xia, Zhu (2007) A = QR Q is upper Hessenberg and unitary. R is upper triangular and unitary-plus-rank-one. We do this too.

David S. Watkins Eigenvalues of Companion Matrices

slide-27
SLIDE 27

Structure

Chandrasekaran, Gu, Xia, Zhu (2007) A = QR Q is upper Hessenberg and unitary. R is upper triangular and unitary-plus-rank-one. We do this too.

David S. Watkins Eigenvalues of Companion Matrices

slide-28
SLIDE 28

The Unitary Part

    x x x x x x x x x x x x x     =     x x x x 1 1         1 x x x x 1         1 1 x x x x     Q =

  • O(n) storage

David S. Watkins Eigenvalues of Companion Matrices

slide-29
SLIDE 29

The Unitary Part

    x x x x x x x x x x x x x     =     x x x x 1 1         1 x x x x 1         1 1 x x x x     Q =

  • O(n) storage

David S. Watkins Eigenvalues of Companion Matrices

slide-30
SLIDE 30

The Unitary Part

    x x x x x x x x x x x x x     =     x x x x 1 1         1 x x x x 1         1 1 x x x x     Q =

  • O(n) storage

David S. Watkins Eigenvalues of Companion Matrices

slide-31
SLIDE 31

The Upper Triangular Part

R = U + xyT unitary-plus-rank-one, so R has quasiseparable rank 2. R =           x · · · x x · · · x ... . . . . . . . . . x x · · · x x · · · x ... . . . x           quasiseparable generator representation (O(n) storage) Chandrasekaran et. al. exploit this structure. We do it differently.

David S. Watkins Eigenvalues of Companion Matrices

slide-32
SLIDE 32

The Upper Triangular Part

R = U + xyT unitary-plus-rank-one, so R has quasiseparable rank 2. R =           x · · · x x · · · x ... . . . . . . . . . x x · · · x x · · · x ... . . . x           quasiseparable generator representation (O(n) storage) Chandrasekaran et. al. exploit this structure. We do it differently.

David S. Watkins Eigenvalues of Companion Matrices

slide-33
SLIDE 33

The Upper Triangular Part

R = U + xyT unitary-plus-rank-one, so R has quasiseparable rank 2. R =           x · · · x x · · · x ... . . . . . . . . . x x · · · x x · · · x ... . . . x           quasiseparable generator representation (O(n) storage) Chandrasekaran et. al. exploit this structure. We do it differently.

David S. Watkins Eigenvalues of Companion Matrices

slide-34
SLIDE 34

The Upper Triangular Part

R = U + xyT unitary-plus-rank-one, so R has quasiseparable rank 2. R =           x · · · x x · · · x ... . . . . . . . . . x x · · · x x · · · x ... . . . x           quasiseparable generator representation (O(n) storage) Chandrasekaran et. al. exploit this structure. We do it differently.

David S. Watkins Eigenvalues of Companion Matrices

slide-35
SLIDE 35

The Upper Triangular Part

R = U + xyT unitary-plus-rank-one, so R has quasiseparable rank 2. R =           x · · · x x · · · x ... . . . . . . . . . x x · · · x x · · · x ... . . . x           quasiseparable generator representation (O(n) storage) Chandrasekaran et. al. exploit this structure. We do it differently.

David S. Watkins Eigenvalues of Companion Matrices

slide-36
SLIDE 36

Our Representation

Add a row/column for extra wiggle room A =        −a0 1 1 −a1 ... . . . . . . 1 −an−1        Extra zero root can be deflated immediately. A = QR, where Q =        ±1 1 ... . . . . . . 1 1        R =        1 −a1 ... . . . . . . 1 −an−1 ±a0 ∓1       

David S. Watkins Eigenvalues of Companion Matrices

slide-37
SLIDE 37

Our Representation

Add a row/column for extra wiggle room A =        −a0 1 1 −a1 ... . . . . . . 1 −an−1        Extra zero root can be deflated immediately. A = QR, where Q =        ±1 1 ... . . . . . . 1 1        R =        1 −a1 ... . . . . . . 1 −an−1 ±a0 ∓1       

David S. Watkins Eigenvalues of Companion Matrices

slide-38
SLIDE 38

Our Representation

Q =        ±1 1 ... . . . . . . 1 1        Q is stored in factored form Q =

  • Q = Q1Q2 · · · Qn−1

David S. Watkins Eigenvalues of Companion Matrices

slide-39
SLIDE 39

Our Representation

Q =        ±1 1 ... . . . . . . 1 1        Q is stored in factored form Q =

  • Q = Q1Q2 · · · Qn−1

David S. Watkins Eigenvalues of Companion Matrices

slide-40
SLIDE 40

Our Representation

R =        1 −a1 ... . . . . . . 1 −an−1 ±a0 ∓1        R is unitary-plus-rank-one:        1 ... . . . . . . 1 ∓1 ±1        +        −a1 ... . . . . . . −an−1 ±a0 ∓1       

David S. Watkins Eigenvalues of Companion Matrices

slide-41
SLIDE 41

Representation of R

R = U + xyT, where xyT =        −a1 . . . −an−1 ±a0 ∓1       

  • · · ·

1

  • Next step: Roll up x.

David S. Watkins Eigenvalues of Companion Matrices

slide-42
SLIDE 42

Representation of R

R = U + xyT, where xyT =        −a1 . . . −an−1 ±a0 ∓1       

  • · · ·

1

  • Next step: Roll up x.

David S. Watkins Eigenvalues of Companion Matrices

slide-43
SLIDE 43

Representation of R

R = U + xyT, where xyT =        −a1 . . . −an−1 ±a0 ∓1       

  • · · ·

1

  • Next step: Roll up x.

David S. Watkins Eigenvalues of Companion Matrices

slide-44
SLIDE 44

Representation of R

   x x x x    =    x x x x   

David S. Watkins Eigenvalues of Companion Matrices

slide-45
SLIDE 45

Representation of R

  x x x x    =    x x x   

David S. Watkins Eigenvalues of Companion Matrices

slide-46
SLIDE 46

Representation of R

  x x x x    =    x x   

David S. Watkins Eigenvalues of Companion Matrices

slide-47
SLIDE 47

Representation of R

  x x x x    =    x   

David S. Watkins Eigenvalues of Companion Matrices

slide-48
SLIDE 48

Representation of R

  x x x x    =    x    C1 · · · Cn−1Cnx = αe1 (w.l.g. α = 1)

David S. Watkins Eigenvalues of Companion Matrices

slide-49
SLIDE 49

Representation of R

C1 · · · Cn−1Cnx = e1 Cx = e1 C ∗e1 = x R = U + xyT = U + C ∗e1yT = C ∗(CU + e1yT) R = C ∗(B + e1yT) B is upper Hessenberg (and unitary) so B = B1 · · · Bn. R = C ∗(B + e1yT) = C ∗

n · · · C ∗ 1 (B1 · · · Bn + e1yT)

O(n) storage Bonus: Redundancy! No need to keep track of y.

David S. Watkins Eigenvalues of Companion Matrices

slide-50
SLIDE 50

Representation of R

C1 · · · Cn−1Cnx = e1 Cx = e1 C ∗e1 = x R = U + xyT = U + C ∗e1yT = C ∗(CU + e1yT) R = C ∗(B + e1yT) B is upper Hessenberg (and unitary) so B = B1 · · · Bn. R = C ∗(B + e1yT) = C ∗

n · · · C ∗ 1 (B1 · · · Bn + e1yT)

O(n) storage Bonus: Redundancy! No need to keep track of y.

David S. Watkins Eigenvalues of Companion Matrices

slide-51
SLIDE 51

Representation of R

C1 · · · Cn−1Cnx = e1 Cx = e1 C ∗e1 = x R = U + xyT = U + C ∗e1yT = C ∗(CU + e1yT) R = C ∗(B + e1yT) B is upper Hessenberg (and unitary) so B = B1 · · · Bn. R = C ∗(B + e1yT) = C ∗

n · · · C ∗ 1 (B1 · · · Bn + e1yT)

O(n) storage Bonus: Redundancy! No need to keep track of y.

David S. Watkins Eigenvalues of Companion Matrices

slide-52
SLIDE 52

Representation of R

C1 · · · Cn−1Cnx = e1 Cx = e1 C ∗e1 = x R = U + xyT = U + C ∗e1yT = C ∗(CU + e1yT) R = C ∗(B + e1yT) B is upper Hessenberg (and unitary) so B = B1 · · · Bn. R = C ∗(B + e1yT) = C ∗

n · · · C ∗ 1 (B1 · · · Bn + e1yT)

O(n) storage Bonus: Redundancy! No need to keep track of y.

David S. Watkins Eigenvalues of Companion Matrices

slide-53
SLIDE 53

Representation of R

C1 · · · Cn−1Cnx = e1 Cx = e1 C ∗e1 = x R = U + xyT = U + C ∗e1yT = C ∗(CU + e1yT) R = C ∗(B + e1yT) B is upper Hessenberg (and unitary) so B = B1 · · · Bn. R = C ∗(B + e1yT) = C ∗

n · · · C ∗ 1 (B1 · · · Bn + e1yT)

O(n) storage Bonus: Redundancy! No need to keep track of y.

David S. Watkins Eigenvalues of Companion Matrices

slide-54
SLIDE 54

Representation of R

C1 · · · Cn−1Cnx = e1 Cx = e1 C ∗e1 = x R = U + xyT = U + C ∗e1yT = C ∗(CU + e1yT) R = C ∗(B + e1yT) B is upper Hessenberg (and unitary) so B = B1 · · · Bn. R = C ∗(B + e1yT) = C ∗

n · · · C ∗ 1 (B1 · · · Bn + e1yT)

O(n) storage Bonus: Redundancy! No need to keep track of y.

David S. Watkins Eigenvalues of Companion Matrices

slide-55
SLIDE 55

Representation of R

C1 · · · Cn−1Cnx = e1 Cx = e1 C ∗e1 = x R = U + xyT = U + C ∗e1yT = C ∗(CU + e1yT) R = C ∗(B + e1yT) B is upper Hessenberg (and unitary) so B = B1 · · · Bn. R = C ∗(B + e1yT) = C ∗

n · · · C ∗ 1 (B1 · · · Bn + e1yT)

O(n) storage Bonus: Redundancy! No need to keep track of y.

David S. Watkins Eigenvalues of Companion Matrices

slide-56
SLIDE 56

Representation of R

C1 · · · Cn−1Cnx = e1 Cx = e1 C ∗e1 = x R = U + xyT = U + C ∗e1yT = C ∗(CU + e1yT) R = C ∗(B + e1yT) B is upper Hessenberg (and unitary) so B = B1 · · · Bn. R = C ∗(B + e1yT) = C ∗

n · · · C ∗ 1 (B1 · · · Bn + e1yT)

O(n) storage Bonus: Redundancy! No need to keep track of y.

David S. Watkins Eigenvalues of Companion Matrices

slide-57
SLIDE 57

Representation of R

C1 · · · Cn−1Cnx = e1 Cx = e1 C ∗e1 = x R = U + xyT = U + C ∗e1yT = C ∗(CU + e1yT) R = C ∗(B + e1yT) B is upper Hessenberg (and unitary) so B = B1 · · · Bn. R = C ∗(B + e1yT) = C ∗

n · · · C ∗ 1 (B1 · · · Bn + e1yT)

O(n) storage Bonus: Redundancy! No need to keep track of y.

David S. Watkins Eigenvalues of Companion Matrices

slide-58
SLIDE 58

Representation of A

Altogether we have A = QR = Q C ∗ (B + e1yT) A = Q1 · · · Qn−1 C ∗

n · · · C ∗ 1 (B1 · · · Bn + e1yT)

   

  • +

· · ·     

David S. Watkins Eigenvalues of Companion Matrices

slide-59
SLIDE 59

Francis Iterations

We have complex single-shift code . . . real double-shift code. We describe single-shift case for simplicity. ignoring rank-one part . . . A =

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-60
SLIDE 60

Francis Iterations

We have complex single-shift code . . . real double-shift code. We describe single-shift case for simplicity. ignoring rank-one part . . . A =

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-61
SLIDE 61

Francis Iterations

We have complex single-shift code . . . real double-shift code. We describe single-shift case for simplicity. ignoring rank-one part . . . A =

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-62
SLIDE 62

Two Basic Operations

Two basic operations: Fusion

  • Turnover

(aka shift through, Givens swap, . . . )

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-63
SLIDE 63

Two Basic Operations

Two basic operations: Fusion

  • Turnover

(aka shift through, Givens swap, . . . )

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-64
SLIDE 64

Two Basic Operations

Two basic operations: Fusion

  • Turnover

(aka shift through, Givens swap, . . . )

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-65
SLIDE 65

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-66
SLIDE 66

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-67
SLIDE 67

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-68
SLIDE 68

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-69
SLIDE 69

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-70
SLIDE 70

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-71
SLIDE 71

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-72
SLIDE 72

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-73
SLIDE 73

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-74
SLIDE 74

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-75
SLIDE 75

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-76
SLIDE 76

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-77
SLIDE 77

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-78
SLIDE 78

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-79
SLIDE 79

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-80
SLIDE 80

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-81
SLIDE 81

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-82
SLIDE 82

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-83
SLIDE 83

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-84
SLIDE 84

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-85
SLIDE 85

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-86
SLIDE 86

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-87
SLIDE 87

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-88
SLIDE 88

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-89
SLIDE 89

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-90
SLIDE 90

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-91
SLIDE 91

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-92
SLIDE 92

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-93
SLIDE 93

The Bulge Chase

  • David S. Watkins

Eigenvalues of Companion Matrices

slide-94
SLIDE 94

Done!

iteration complete! Cost: 3n turnovers/iteration, so O(n) flops/iteration Double-shift iteration is similar. (Chase two core transformations instead of one.)

David S. Watkins Eigenvalues of Companion Matrices

slide-95
SLIDE 95

Done!

iteration complete! Cost: 3n turnovers/iteration, so O(n) flops/iteration Double-shift iteration is similar. (Chase two core transformations instead of one.)

David S. Watkins Eigenvalues of Companion Matrices

slide-96
SLIDE 96

Done!

iteration complete! Cost: 3n turnovers/iteration, so O(n) flops/iteration Double-shift iteration is similar. (Chase two core transformations instead of one.)

David S. Watkins Eigenvalues of Companion Matrices

slide-97
SLIDE 97

Speed Comparison, Complex Case

Contestants

LAPACK code ZHSEQR (O(n3)) BEGG (Boito et. al. 2012) AMVW (our single-shift code)

David S. Watkins Eigenvalues of Companion Matrices

slide-98
SLIDE 98

Speed Comparison, Complex Case

10 10

1

10

2

10

3

10

4

10

5

10

−5

10

−4

10

−3

10

−2

10

−1

10 10

1

10

2

10

3

degree time (seconds) LAPACK BEGG AMVW David S. Watkins Eigenvalues of Companion Matrices

slide-99
SLIDE 99

Speed Comparison, Complex Case

At degree 1024: method time LAPACK 7.14 BEGG 1.02 AMVW 0.18

David S. Watkins Eigenvalues of Companion Matrices

slide-100
SLIDE 100

Speed Comparison, Real Case

Results similar for double-shift code . . . . . . but we’re only about twice as fast as the competition. (compared with Chandrasekaran et. al.)

David S. Watkins Eigenvalues of Companion Matrices

slide-101
SLIDE 101

Accuracy

On these big (and well conditioned) problems . . . we are about as accurate as LAPACK, . . . and more accurate than the other fast methods. Our codes act backward stable . . . because they are backward stable. much more in paper (almost done) also tried harder problems (we do OK)

David S. Watkins Eigenvalues of Companion Matrices

slide-102
SLIDE 102

Accuracy

On these big (and well conditioned) problems . . . we are about as accurate as LAPACK, . . . and more accurate than the other fast methods. Our codes act backward stable . . . because they are backward stable. much more in paper (almost done) also tried harder problems (we do OK)

David S. Watkins Eigenvalues of Companion Matrices

slide-103
SLIDE 103

Accuracy

On these big (and well conditioned) problems . . . we are about as accurate as LAPACK, . . . and more accurate than the other fast methods. Our codes act backward stable . . . because they are backward stable. much more in paper (almost done) also tried harder problems (we do OK)

David S. Watkins Eigenvalues of Companion Matrices

slide-104
SLIDE 104

Accuracy

On these big (and well conditioned) problems . . . we are about as accurate as LAPACK, . . . and more accurate than the other fast methods. Our codes act backward stable . . . because they are backward stable. much more in paper (almost done) also tried harder problems (we do OK)

David S. Watkins Eigenvalues of Companion Matrices

slide-105
SLIDE 105

Accuracy

On these big (and well conditioned) problems . . . we are about as accurate as LAPACK, . . . and more accurate than the other fast methods. Our codes act backward stable . . . because they are backward stable. much more in paper (almost done) also tried harder problems (we do OK)

David S. Watkins Eigenvalues of Companion Matrices

slide-106
SLIDE 106

Summary

We have a new fast method for companion eigenvalue problems and unitary-plus-rank-one matrices in general. Method is normwise backward stable, accurate, and faster than other fast methods.

David S. Watkins Eigenvalues of Companion Matrices

slide-107
SLIDE 107

Summary

We have a new fast method for companion eigenvalue problems and unitary-plus-rank-one matrices in general. Method is normwise backward stable, accurate, and faster than other fast methods.

David S. Watkins Eigenvalues of Companion Matrices

slide-108
SLIDE 108

Summary

We have a new fast method for companion eigenvalue problems and unitary-plus-rank-one matrices in general. Method is normwise backward stable, accurate, and faster than other fast methods.

David S. Watkins Eigenvalues of Companion Matrices

slide-109
SLIDE 109

Summary

We have a new fast method for companion eigenvalue problems and unitary-plus-rank-one matrices in general. Method is normwise backward stable, accurate, and faster than other fast methods.

David S. Watkins Eigenvalues of Companion Matrices

slide-110
SLIDE 110

Summary

We have a new fast method for companion eigenvalue problems and unitary-plus-rank-one matrices in general. Method is normwise backward stable, accurate, and faster than other fast methods.

David S. Watkins Eigenvalues of Companion Matrices

slide-111
SLIDE 111

Summary

We have a new fast method for companion eigenvalue problems and unitary-plus-rank-one matrices in general. Method is normwise backward stable, accurate, and faster than other fast methods.

Thank you for your attention.

David S. Watkins Eigenvalues of Companion Matrices