Learn R Programming

⚠️There's a newer version (1.7-2) of this package.Take me there.

Matrix (version 0.9975-0)

A Matrix package for R

Description

Classes and methods for dense and sparse matrices and operations on them using Lapack, CSparse and CHOLMOD

Copy Link

Version

Install

install.packages('Matrix')

Monthly Downloads

118,373

Version

0.9975-0

License

GPL version 2 or later. This R package includes libraries CHOLMOD, AMD, COLAMD and CSparse from the University of Florida sparse matrix library maintained by Tim Davis. All sections of that code are covered by the GPL or LGPL licenses. See the directory doc/UFsparse for details.

Maintainer

Douglas Bates

Last Published

March 11th, 2025

Functions in Matrix (0.9975-0)

dpoMatrix-class

Positive Semi-definite Dense Numeric Matrices
band

Extract bands of a matrix
expand

Expand a Decomposition into Factors
generalMatrix-class

Class "generalMatrix" of General Matrices
ldenseMatrix-class

Virtual Class "ldenseMatrix" of Dense Logical Matrices
dgRMatrix-class

Compressed, sparse, row-oriented numeric matrices
lsparseMatrix-classes

Sparse logical matrices
CAex

Albers' example Matrix with "Difficult" Eigen Factorization
Matrix-class

Virtual Class "Matrix" Class of Matrices
ldiMatrix-class

Class "ldiMatrix" of Diagonal Logical Matrices
dCholCMatrix-class

Cholesky Decompositions of dsCMatrix Objects
sparseMatrix-class

Virtual Class "sparseMatrix" --- Mother of Sparse Matrices
TsparseMatrix-class

Class "TsparseMatrix" of Sparse Matrices in Triplet Form
dtRMatrix-class

Triangular Sparse Compressed Row Matrices
tcrossprod

Cross-product of transpose
expm

Matrix exponential
Cholesky

Cholesky Decomposition of a Sparse Matrix
facmul

Multiplication by Decomposition Factors
SparseM-conversions

Sparse Matrix Coercion from and to those from package "SparseM"
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
replValue-class

Virtual Class "replValue" - Simple Class for subassignment Values
nsparseMatrix-classes

Sparse logical matrices
nMatrix-class

Class "nMatrix" of Non-zero Pattern Matrices
Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
MatrixFactorization-class

Class "MatrixFactorization" of Matrix Factorizations
dgTMatrix-class

Sparse matrices in triplet form
isSymmetric-methods

Methods for Function isSymmetric in Package 'Matrix'
norm

Norm of a Matrix
Matrix

Construct a Classed Matrix
dtpMatrix-class

Packed triangular dense matrices
LU-class

LU (dense) Matrix Decompositions
ddenseMatrix-class

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
ndenseMatrix-class

Virtual Class "ndenseMatrix" of Dense Logical Matrices
lu

Triangular Decomposition of a Square Matrix
[-methods

Methods for "[": Extraction or Subsetting in Package 'Matrix'
RsparseMatrix-class

Class "RsparseMatrix" of Sparse Matrices in Column-compressed Form
compMatrix-class

Class "compMatrix" of Composite (Factorizable) Matrices
dgCMatrix-class

Compressed, sparse, column-oriented numeric matrices
ntrMatrix-class

Triangular Dense Logical Matrices
Unused-classes

Virtual Classes Not Yet Used
dMatrix-class

(Virtual) Class "dMatrix" of "double" Matrices
KNex

Koenker-Ng Example Sparse Model Matrix and Response Vector
dsyMatrix-class

Symmetric Dense Numeric Matrices
sparseQR-class

Sparse QR decomposition of a sparse matrix
Diagonal

Create Diagonal Matrix Object
unpack

Full Storage Representation of Packed Matrices
lgeMatrix-class

Class "lgeMatrix" of General Dense Logical Matrices
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
CHMfactor-class

CHOLMOD-based Cholesky factorizations
symmetricMatrix-class

Virtual Class of Symmetric Matrices in package:Matrix
dtCMatrix-class

Triangular, (compressed) sparse column matrices
diagonalMatrix-class

Class "diagonalMatrix" of Diagonal Matrices
index-class

Virtual Class "index" - Simple Class for Matrix Indices
dsparseMatrix-class

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
qr-methods

Methods for the qr generic
Hilbert

Generate a Hilbert matrix
sparseLU-class

Sparse LU decomposition of a square sparse matrix
nsyMatrix-class

Symmetric Dense Nonzero-Pattern Matrices
[<--methods

Methods for "[<-" - Assigning to Subsets for 'Matrix'
pMatrix-class

Permutation matrices
ngeMatrix-class

Class "ngeMatrix" of General Dense Nonzero-pattern Matrices
rcond

Estimate the Reciprocal Condition Number
CsparseMatrix-class

Class "CsparseMatrix" of Sparse Matrices in Column-compressed Form
Schur

Schur Decomposition of a Matrix
lsyMatrix-class

Symmetric Dense Logical Matrices
externalFormats

Read and write external matrix formats
denseMatrix-class

Virtual Class "denseMatrix" of All Dense Matrices
triangularMatrix-class

Virtual Class of Triangular Matrices in package:Matrix
ltrMatrix-class

Triangular Dense Logical Matrices
dgeMatrix-class

Class "dgeMatrix" of Dense Numeric (S4 Class) Matrices