Skip to content

Instantly share code, notes, and snippets.

@mschauer
Created January 11, 2021 10:40
Show Gist options
  • Select an option

  • Save mschauer/03f104743297d814d972154ecd7fe5f3 to your computer and use it in GitHub Desktop.

Select an option

Save mschauer/03f104743297d814d972154ecd7fe5f3 to your computer and use it in GitHub Desktop.
High precision IDR(s)
using IterativeSolvers
using LinearAlgebra
A = rand(-10:10, 16, 16) + 5*LinearAlgebra.I
x = rand(-10:10, 16)
b = A*x
y = idrs(BigFloat.(A), BigFloat.(b), s=4, tol=1e-100, maxiter=100, verbose=true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment