Package: SparseM 1.84-2

SparseM: Sparse Linear Algebra

Some basic linear algebra functionality for sparse matrices is provided: including Cholesky decomposition and backsolving as well as standard R subsetting and Kronecker products.

Authors:Roger Koenker [cre, aut], Pin Tian Ng [ctb], Yousef Saad [ctb], Ben Shaby [ctb], Martin Maechler [ctb]

SparseM_1.84-2.tar.gz
SparseM_1.84-2.zip(r-4.5)SparseM_1.84-2.zip(r-4.4)SparseM_1.84-2.zip(r-4.3)
SparseM_1.84-2.tgz(r-4.4-x86_64)SparseM_1.84-2.tgz(r-4.4-arm64)SparseM_1.84-2.tgz(r-4.3-x86_64)SparseM_1.84-2.tgz(r-4.3-arm64)
SparseM_1.84-2.tar.gz(r-4.5-noble)SparseM_1.84-2.tar.gz(r-4.4-noble)
SparseM_1.84-2.tgz(r-4.4-emscripten)SparseM_1.84-2.tgz(r-4.3-emscripten)
SparseM.pdf |SparseM.html
SparseM/json (API)

# Install 'SparseM' in R:
install.packages('SparseM', repos = c('https://rudjer.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • X - A Design Matrix for a Triogram Problem
  • lsq - Least Squares Problems in Surveying

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

11.49 score 3 stars 1.5k packages 294 scripts 383k downloads 7 mentions 52 exports 0 dependencies

Last updated 4 months agofrom:cc6d7dc14d. Checks:OK: 6 NOTE: 3. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-win-x86_64OKNov 14 2024
R-4.5-linux-x86_64OKNov 14 2024
R-4.4-win-x86_64OKNov 14 2024
R-4.4-mac-x86_64OKNov 14 2024
R-4.4-mac-aarch64OKNov 14 2024
R-4.3-win-x86_64NOTENov 14 2024
R-4.3-mac-x86_64NOTENov 14 2024
R-4.3-mac-aarch64NOTENov 14 2024

Exports:[.matrix.coo[.matrix.csr[.matrix.diag.csr[<-.matrix.coo[<-.matrix.csras.matrixas.matrix.cooas.matrix.cscas.matrix.csras.matrix.sscas.matrix.ssrbacksolvecbind.matrix.csrcholcoef.slmdetdeterminantdeviance.slmdiagdiag<-diffextractAIC.slmfitted.slmforwardsolveimageis.matrix.coois.matrix.cscis.matrix.csris.matrix.sscis.matrix.ssrkroneckermodel.guessmodel.matrixmodel.responsemodel.xexactnormOps.matrix.csrOps.matrix.diag.csrprint.slmprint.summary.slmrbind.matrix.csrread.matrix.hbresiduals.slmshowslmslm.fitslm.fit.csrslm.wfitsolvesummary.mslmsummary.slmt

Dependencies:

An Introduction to the SparseM Package for Sparse Linear Algebra

Rendered fromSparseM.Rnwusingutils::Sweaveon Nov 14 2024.

Last update: 2024-05-30
Started: 2013-07-24

Readme and manuals

Help Manual

Help pageTopics
Class "character or NULL"character or NULL-class
Least Squares Problems in Surveyinglsq
Class "matrix.coo" - Sparse Matrices in [Coo]rdinate Formatmatrix.coo-class
Class "matrix.csc" - Sparse Matrices in [C]ompressed [S]parse [C]olumn Formatmatrix.csc-class
Class "matrix.csc.hb" - Column Compressed Sparse Matrices stored in Harwell-Boeing Formatmatrix.csc.hb-class show,matrix.csc.hb-method show,matrix.ssc.hb-method
Class "matrix.csr" - Sparse Matrices in Compressed Sparse Row Formatmatrix.csr-class matrix.diag.csr-class show,matrix.csr.chol-method show,matrixSpM-method
Class "matrix.csr.chol" (Block Sparse Cholesky Decomposition)matrix.csr.chol-class
Class "matrix.ssc" - Sparse Matrices in [S]ymmetric [S]parse [C]olumn Formatmatrix.ssc-class
Class "matrix.ssc.hb"matrix.ssc.hb-class
Class "matrix.ssr" - Sparse Matrices in [S]ymmetric [S]parse [R]ow Formatmatrix.ssr-class
Class "mslm"mslm-class
Class "numeric or NULL"numeric or NULL-class
Fit a linear regression model using sparse matrix algebraslm
Class "slm"slm-class
Internal slm fitting functionsslm.fit slm.fit.csr slm.wfit
Methods for slm objectscoef.slm deviance.slm extractAIC.slm fitted.slm print.slm print.summary.slm residuals.slm slm.methods summary.mslm summary.slm
Harwell-Boeing Format Sparse Matricesmodel.guess model.guess,matrix.csc.hb-method model.guess,matrix.ssc.hb-method model.matrix model.matrix,ANY-method model.matrix,matrix.csc.hb-method model.matrix,matrix.ssc.hb-method model.matrix.matrix.ssc.hb model.response model.response,ANY-method model.response,matrix.csc.hb-method model.response,matrix.ssc.hb-method model.xexact model.xexact,matrix.csc.hb-method model.xexact,matrix.ssc.hb-method read.matrix.hb SparseM.hb
Image Plot for Sparse Matricesimage image,matrix.csr-method SparseM.image
Sparse Matrix Class Ontologyas.matrix as.matrix,ANY-method as.matrix,matrix.coo-method as.matrix,matrix.csc-method as.matrix,matrix.csr-method as.matrix,matrix.ssc-method as.matrix,matrix.ssr-method as.matrix.coo as.matrix.coo,ANY-method as.matrix.coo,matrix.csr-method as.matrix.csc as.matrix.csc,ANY-method as.matrix.csc,matrix.coo-method as.matrix.csc,matrix.csc-method as.matrix.csc,matrix.csr-method as.matrix.csc,matrix.ssc-method as.matrix.csc,matrix.ssr-method as.matrix.csr as.matrix.csr,ANY-method as.matrix.csr,matrix.coo-method as.matrix.csr,matrix.csc-method as.matrix.csr,matrix.csr.chol-method as.matrix.csr,matrix.ssc-method as.matrix.csr,matrix.ssr-method as.matrix.ssc as.matrix.ssc,ANY-method as.matrix.ssc,matrix.coo-method as.matrix.ssc,matrix.csc-method as.matrix.ssc,matrix.csr-method as.matrix.ssc,matrix.ssc-method as.matrix.ssc,matrix.ssr-method as.matrix.ssr as.matrix.ssr,ANY-method as.matrix.ssr,matrix.coo-method as.matrix.ssr,matrix.csc-method as.matrix.ssr,matrix.csr-method as.matrix.ssr,matrix.ssc-method as.matrix.ssr,matrix.ssr-method coerce,matrix,matrix.csr-method coerce,matrix.csr,matrix.diag.csr-method coerce,numeric,matrix.diag.csr-method coerce,vector,matrix.csr-method coerce,vector,matrix.diag.csr-method initialize,ANY-method initialize,matrix.coo-method initialize,matrix.csr-method is.matrix.coo is.matrix.csc is.matrix.csr is.matrix.ssc is.matrix.ssr matrix.csr SparseM.ontology
Basic Linear Algebra for Sparse Matrices!=,matrix.csr-method %%,matrix.csr-method %*%,ANY,ANY-method %*%,matrix,matrix.csr-method %*%,matrix.csr,matrix-method %*%,matrix.csr,matrix.csr-method %*%,matrix.csr,numeric-method %*%,numeric,matrix.csr-method %*%-methods %/%,matrix.csr-method &,matrix.csr-method *,matrix.csr-method +,matrix.csr-method -,matrix.csr-method /,matrix.csr-method <,matrix.csr-method <=,matrix.csr-method ==,matrix.csr-method >,matrix.csr-method >=,matrix.csr-method cbind.matrix.csr det determinant determinant,matrix.csr,logical-method determinant,matrix.csr,missing-method determinant,matrix.csr.chol,logical-method determinant,matrix.csr.chol,missing-method diag,ANY-method diag,matrix.csr-method diag.assign,matrix.csr-method diag<-,ANY-method diag<-,matrix.csr-method diag<-,matrix.diag.csr-method diff,matrix.csr-method diff<-,ANY-method diff<-,matrix.csr-method dim,ANY-method dim,matrix.coo-method dim,matrix.csc-method dim,matrix.csr-method dim,matrix.ssc-method dim,matrix.ssr-method kronecker,matrix,matrix.csr-method kronecker,matrix.csr,matrix-method kronecker,matrix.csr,matrix.csr-method kronecker,matrix.csr,numeric-method kronecker,numeric,matrix.csr-method kronecker-methods ncol,matrix.csr-method norm norm,ANY-method norm,matrix.csr,character-method norm,matrix.csr,missing-method nrow,matrix.csr-method Ops.matrix.csr Ops.matrix.diag.csr rbind.matrix.csr t,ANY-method t,matrix.coo-method t,matrix.csc-method t,matrix.csr-method [.matrix.coo [.matrix.csr [.matrix.diag.csr [<-.matrix.coo [<-.matrix.csr [<-.matrix.diag.csr ^,matrix.csr-method |,matrix.csr-method
Linear Equation Solving via Cholesky Decomposition for Sparse Matricesbacksolve,ANY-method backsolve,matrix.csr.chol-method backsolve-methods chol chol,ANY-method chol,matrix-method chol,matrix.csc-method chol,matrix.csr-method forwardsolve forwardsolve,matrix.csr.chol-method solve solve,ANY-method solve,matrix.csr-method SparseM.solve
Class "summary.mslm"summary.mslm-class
Class "summary.slm"summary.slm-class
A Design Matrix for a Triogram ProblemtriogramX X