Learn R Programming

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

Matrix (version 0.95-7)

A Matrix package for R

Description

Classes and methods for numerical linear algebra using Lapack, LDL, and Metis.

Copy Link

Version

Install

install.packages('Matrix')

Monthly Downloads

155,110

Version

0.95-7

License

GPL version 2 or later. This R package includes code from the LDL and Metis packages, which are covered by separate copyrights. See the file Copyrights for details.

Maintainer

Douglas Bates

Last Published

March 11th, 2025

Functions in Matrix (0.95-7)

pMatrix-class

Permutation matrices
bCrosstab

Create pairwise crosstabulation
LU-class

LU Matrix Decompositions
sparseMatrix-class

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

Cholesky and Bunch-Kaufman Decompositions
dsyMatrix-class

Symmetric, dense matrices
dgeMatrix-class

General S4 Matrix class
dgBCMatrix-class

Class "dgBCMatrix" Real Sparse Blocked Column Compressed Matrix
y

A sample response vector
corrmatrix-class

Class "corrmatrix"
rcond

Estimate the Reciprocal Condition Number
expand

Expand a Decomposition into Factors
dMatrix-class

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

Symmetric, compressed, sparse column matrices
dtrMatrix-class

Triangular, dense, numeric matrices
Matrix-class

Virtual Class "Matrix" Class of Matrices
pdmatrix-class

Positive-definite matrices
mm

A sample sparse model matrix
[-methods

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

Positive semi-definite, dense, numeric matrices
Matrix

Construct a Classed Matrix
dgTMatrix-class

Sparse matrices in triplet form
dCholCMatrix-class

Cholesky Decompositions of dsCMatrix Objects
dsparseMatrix-class

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

Triangular, compressed, sparse column matrices
lu

Triangular Decomposition of a Square Matrix
dtpMatrix-class

Packed triangular dense matrices
tcrossprod

Cross-product of transpose
dgCMatrix-class

Compressed, sparse, column-oriented numeric matrices
expm

Matrix exponential
unpack

Full Storage Representation of Packed Matrices
norm

Norm of a Matrix
Hilbert

Generate a Hilbert matrix
Schur

Schur Decomposition of a Matrix
dgRMatrix-class

Compressed, sparse, row-oriented numeric matrices
facmul

Multiplication by Decomposition Factors