csparse


csparse, a C code which implements direct methods for sparse linear systems, by Timothy Davis.

CSPARSE uses the Compressed Column Storage (CCS) format for storing the sparse matrix.

The algorithms have been chosen with five goals in mind:

  1. they must embody much of the theory behind sparse matrix algorithms,
  2. they must be either asymptotically optimal in their run time and memory usage or be fast in practice,
  3. they must be concise so as to be easily understood and short enough to print in the book,
  4. they must cover a wide spectrum of matrix operations,
  5. they must be accurate and robust.
The focus is on direct methods; iterative methods and solvers for eigenvalue problems are beyond the scope of this package.

License:

CSPARSE: a Concise Sparse matrix package.
Copyright (c) 2006, Timothy A. Davis.
https://www.cise.ufl.edu/research/sparse/CSparse

CSPARSE is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

CSPARSE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this Module; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Languages:

csparse is available in a C version.

Related Data and Programs:

ccs, a data directory which contains examples of the Compressed Column (CC) sparse matrix file format;

cg_rc, a C code which implements the conjugate gradient method for solving a positive definite sparse linear system A*x=b, using reverse communication.

crs, a data directory which contains examples of the Compressed Row Storage (CRS) sparse matrix file format;

csparse_test

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

mm_io, a C code which reads and writes sparse linear systems stored in the Matrix Market format.

st, a data directory which contains examples and an explanation of the Sparse Triplet file format for sparse matrices.

superlu_test, C codes which illustrate how to use the SUPERLU library, which applies a fast direct solution method to solve sparse linear systems, by James Demmel, John Gilbert, and Xiaoye Li.

umfpack_test, C codes which illustrate how to solve a sparse linear system by calling the C code UMFPACK, by Timothy Davis.

Author:

Timothy Davis

Reference:

  1. Timothy Davis,
    Direct Methods for Sparse Linear Systems,
    SIAM, 2006,
    ISBN: 0898716136,
    LC: QA188.D386.

Source Code:


Last revised on 15 June 2019.