RcppAMGCL-package: Sparse Iterative Solvers with Algebraic Multigrid...

RcppAMGCL-packageR Documentation

Sparse Iterative Solvers with Algebraic Multigrid Preconditioning

Description

An R interface to the header-only AMGCL library using Rcpp, with a built-in CPU backend and optional OpenMP acceleration. Use amgcl_solve for a single sparse system, or amgcl_setup to reuse a preconditioner across right-hand sides.

Details

The package supports general and symmetric double-precision compressed sparse column matrices (dgCMatrix and dsCMatrix) from Matrix, with vector or one-column matrix right-hand sides. See amgcl_info for build capabilities. The installed ‘RcppAMGCL.h’ header provides an R-independent C++ interface for downstream code; the bundled AMGCL headers retain their upstream license notices. This product includes Kratos Multi-Physics technology. The installed ‘COPYRIGHTS’ file inventories bundled-code ownership and licenses; additional notices are installed under ‘licenses’. Use citation("RcppAMGCL") for references to this package and AMGCL.

References

Demidov, D. (2020). AMGCL – A C++ library for efficient solution of large sparse linear systems. Software Impacts, 6, 100037. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.simpa.2020.100037")}.


RcppAMGCL documentation built on Nov. 26, 2026, 5:08 p.m.