sanic: Solving Ax = b Nimbly in C++

Direct and iterative methods for solving linear systems and computing eigenvalue and singular value decompositions using the Eigen C++ library in R. Supports dense and sparse linear systems with Cholesky, LU, QR, conjugate gradient, stabilized biconjugate gradient, and least-squares conjugate gradient methods. Provides reusable factorizations for repeated solves.

Package details

AuthorNikolas Kuschnig [aut, cre] (ORCID: <https://orcid.org/0000-0002-6642-2543>), Lukas Vashold [ctb] (ORCID: <https://orcid.org/0000-0002-3562-3414>), Dirk Eddelbuettel [ctb] (ORCID: <https://orcid.org/0000-0001-6419-907X>), Yixuan Qiu [ctb]
MaintainerNikolas Kuschnig <nikolas.kuschnig@wu.ac.at>
LicenseGPL-3 | file LICENSE
Version0.1.0
URL https://github.com/nk027/sanic 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("sanic")

Try the sanic package in your browser

Any scripts or data that you put into this service are public.

sanic documentation built on Oct. 25, 2026, 5:06 p.m.