kelley, a MATLAB code which implements iterative methods for linear and nonlinear equations, by Tim Kelley.

These codes can be downloaded directly from


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


kelley is available in a MATLAB version.

Related Data and Programs:

dsp, a data directory which contains a description and examples of the DSP format for storing sparse matrices, which is used by the FORTRAN90 version of MGMRES.

hbsmc, a dataset directory which contains files defining large sparse matrices stored in the Harwell-Boeing format.

fsolve_test, a MATLAB code which calls fsolve() which seeks the solution x of one or more nonlinear equations f(x)=0.


mgmres, a MATLAB code which applies the restarted GMRES algorithm to solve a sparse linear system.

test_mat, a MATLAB code which defines test matrices.

test_nonlin, a MATLAB code which implements test problems for the solution of systems of nonlinear equations.

zero, a MATLAB code which seeks a solution of a scalar nonlinear equation f(x) = 0, by Richard Brent.


  1. Richard Barrett, Michael Berry, Tony Chan, James Demmel, June Donato, Jack Dongarra, Victor Eijkhout, Roidan Pozo, Charles Romine, Henk van der Vorst,
    Templates for the Solution of Linear Systems:
    Building Blocks for Iterative Methods,
    SIAM, 1994,
    ISBN: 0898714710,
    LC: QA297.8.T45.
  2. Subramanyan Chandrasekhar,
    Radiative Transfer,
    Dover, 1960,
    ISBN13: 978-0486605906,
    LC: QB461.C46.
  3. Tim Kelley,
    Iterative Methods for Linear and Nonlinear Equations,
    SIAM, 2004,
    ISBN: 0898713528,
    LC: QA297.8.K45.
  4. Yousef Saad,
    Iterative Methods for Sparse Linear Systems,
    Second Edition,
    SIAM, 20003,
    ISBN: 0898715342,
    LC: QA188.S17.

Source Code:

Last modified on 15 April 2021.