Learn R Programming

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

Matrix (version 0.99875-1)

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.99875-1

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

Doug and Martin

Last Published

March 11th, 2025

Functions in Matrix (0.99875-1)

KNex

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

CHOLMOD-based Cholesky Factorizations
ldiMatrix-class

Class "ldiMatrix" of Diagonal Logical Matrices
bdiag

Construct a Block Diagonal Matrix
Cholesky

Cholesky Decomposition of a Sparse Matrix
lsyMatrix-class

Symmetric Dense Logical Matrices
[<--methods

Methods for "[<-" - Assigning to Subsets for 'Matrix'
cBind

Versions of 'cbind' and 'rbind' recursively built on cbind2/rbind2
facmul

Multiplication by Decomposition Factors
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
Diagonal

Create Diagonal Matrix Object
[-methods

Methods for "[": Extraction or Subsetting in Package 'Matrix'
expand

Expand a Decomposition into Factors
ddenseMatrix-class

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

Virtual Class "replValue" - Simple Class for subassignment Values
RsparseMatrix-class

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

LU (dense) Matrix Decompositions
isSymmetric-methods

Methods for Function isSymmetric in Package 'Matrix'
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
dgRMatrix-class

Compressed, sparse, row-oriented numeric matrices
Hilbert

Generate a Hilbert matrix
dtRMatrix-class

Triangular Sparse Compressed Row Matrices
Schur

Schur Decomposition of a Matrix
CsparseMatrix-class

Class "CsparseMatrix" of Sparse Matrices in Column-compressed Form
generalMatrix-class

Class "generalMatrix" of General Matrices
Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
all-methods

"Matrix" Methods for Functions all() and any()
nsyMatrix-class

Symmetric Dense Nonzero-Pattern Matrices
ltrMatrix-class

Triangular Dense Logical Matrices
dsyMatrix-class

Symmetric Dense Numeric Matrices
diagonalMatrix-class

Class "diagonalMatrix" of Diagonal Matrices
denseMatrix-class

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

Triangular, (compressed) sparse column matrices
kronecker-methods

Methods for Function 'kronecker()' in Package 'Matrix'
expm

Matrix exponential
SparseM-conversions

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

Positive Semi-definite Dense Numeric Matrices
lsparseMatrix-classes

Sparse logical matrices
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
dgTMatrix-class

Sparse matrices in triplet form
sparseLU-class

Sparse LU decomposition of a square sparse matrix
Matrix-class

Virtual Class "Matrix" Class of Matrices
compMatrix-class

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

Virtual Class "ldenseMatrix" of Dense Logical Matrices
externalFormats

Read and write external matrix formats
band

Extract bands of a matrix
qr-methods

Methods for the qr generic
nMatrix-class

Class "nMatrix" of Non-zero Pattern Matrices
norm

Norm of a Matrix
Matrix

Construct a Classed Matrix
atomicVector-class

Virtual Class "atomicVector" of Atomic Vectors
pMatrix-class

Permutation matrices
index-class

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

Virtual Class "ndenseMatrix" of Dense Logical Matrices
CAex

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

Class "MatrixFactorization" of Matrix Factorizations
lu

Triangular Decomposition of a Square Matrix
dgCMatrix-class

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

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

Estimate the Reciprocal Condition Number
nsparseMatrix-classes

Sparse logical matrices
sparseQR-class

Sparse QR decomposition of a sparse matrix
symmetricMatrix-class

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

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

Cholesky Decompositions of dsCMatrix Objects
lgeMatrix-class

Class "lgeMatrix" of General Dense Logical Matrices
nnzero

The Number of Non-Zero Values of a Matrix
ngeMatrix-class

Class "ngeMatrix" of General Dense Nonzero-pattern Matrices
TsparseMatrix-class

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

Triangular Dense Logical Matrices
dtpMatrix-class

Packed triangular dense matrices
Unused-classes

Virtual Classes Not Yet Used
unpack

Full Storage Representation of Packed Matrices
triangularMatrix-class

Virtual Class of Triangular Matrices in package:Matrix
tcrossprod

Cross-product of transpose
dMatrix-class

(Virtual) Class "dMatrix" of "double" Matrices
dsparseMatrix-class

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices