필터 지우기
필터 지우기

GMRES with matvec for apply and preconditioner

조회 수: 2 (최근 30일)
Adrianna
Adrianna 2015년 10월 28일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by