Sparse LU Decomposition via SuiteSparse

Provides an interface to the SuiteSparse UMFPACK LU factorisation routines for sparse matrices stored in compressed column format. Implements the algorithm described in Davis (2004) .


sparselu

LU decomposition of sparse matrices in Rcpp using UMFPACK.

Installation

The package links against the SuiteSparse UMFPACK libraries. Install SuiteSparse (and its dependencies such as AMD and SuiteSparse_config) prior to building the package. For example:

  • macOS (Homebrew): brew install suite-sparse
  • Debian/Ubuntu: sudo apt install libsuitesparse-dev

If SuiteSparse is installed in a non-standard location, set the environment variable SUITESPARSE_HOME, or provide PKG_CPPFLAGS/PKG_LIBS when installing the package so that the headers and libraries can be located.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("sparselu")

0.3.0 by Kevin Michael Frick, 7 months ago


Browse source code at https://github.com/cran/sparselu


Authors: Kevin Michael Frick [aut, cre] , Timothy A. Davis [ctb] (affiliation: SuiteSparse Project , contribution: SuiteSparse libraries and collaborators listed in dir(system.file("doc" , "SuiteSparse" , package = "Matrix") , pattern = "License" , full.names = TRUE , recursive = TRUE))


Documentation:   PDF Manual  


GPL-3 license


Imports Rcpp

Suggests Matrix, testthat

Linking to Rcpp

System requirements: SuiteSparse (UMFPACK, AMD, SuiteSparse_config)


See at CRAN