Skip to content

Instantly share code, notes, and snippets.

@denis-bz
Last active April 3, 2021 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save denis-bz/1a1c070da846af2ece4181ceb0163d85 to your computer and use it in GitHub Desktop.
Save denis-bz/1a1c070da846af2ece4181ceb0163d85 to your computer and use it in GitHub Desktop.
A simple matrix with interesting inverse 31 Mar 2021

A simple matrix with interesting inverse

Keywords: sparse linear solver, python, scipy, testcase, matrix, GMRES, poisson, plot

2apr-tri101-inv

A simple testcase for GMRES

Wikipedia GMRES says

fast convergence occurs when the eigenvalues of A are clustered away from the origin

But what if they're not ?

(There's a great divide between solvers for Ax = b for A symmetric, or not, or non-normal; see how-does-gmres-method-iteration-behave-for-this-non-diagonalizable-matrix .)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment