Effacer les filtres
Effacer les filtres

GMRES with matvec for apply and preconditioner

1 vue (au cours des 30 derniers jours)
Adrianna
Adrianna le 28 Oct 2015
Hi,
I want to use GMRES with a preconditioner. Both the matrix apply and preconditioner have routines for apply that need information passed in. How do I get gmres to take this. It is currently unhappy with the following: x1 = gmres(@applyA,b,[],tol,maxit,@applyPre,[],[],infoA,infoPre); where infoA is the information needed by applyA to apply A and infoPre is the information needed to apply the preconditioner via applyPre.

Réponses (0)

Catégories

En savoir plus sur Sparse Matrices dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by