NEW CODES!! Your best bet is to use the new nonlinear solvers
from
here .
Iterative Methods: Matlab Codes
- README :
Date of last revision.
- Gzipped tar file with everything
equations.tar.gz
- Linear Equations
- Nonlinear Equations
- nsol.m :
Basic Newton-Shamanskii solver, difference Jacobian, LU factorization.
Requires the finite-difference Jacobian,
diffjac.m ,
and directional derivative,
dirder.m ,
codes.
- brsol.m :
Locally convergent Broyden solver
- nsolgm.m :
Newton-GMRES solver.
Requires
dirder.m ,
fdgmres.m ,
and
givapp.m .
-
nsola.m :
Newton-Krylov-Armijo code.
Requires
dirder.m ,
fdgmres.m ,
fdcgstab.m ,
fdtfqmr.m ,
fdkrylov.m ,
givapp.m ,
and
parab3p.m .
-
brsola.m :
Broyden-Armijo code.
Requires
parab3p.m .
- Miscellaneous
- givapp.m :
applies sequence of Givens rotations. Used in
gmres.m and
fdgmres.m .
-
fish2d.m :
Fast Poisson solver, unit square, homogeneous Dirichlet BC.
Requires sine transform,
sintv.m ,
and inverse sine transform,
isintv.m .
-
parab3p.m :
Apply three-point safeguarded parabolic model for a line search.
Last modified: May 24, 1995
C. T. Kelley
,
Tim_Kelley@ncsu.edu