Learn R Programming

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

Matrix (version 1.2-3)

Sparse and Dense Matrix Classes and Methods

Description

Classes and methods for dense and sparse matrices and operations on them using 'LAPACK' and 'SuiteSparse'.

Copy Link

Version

Install

install.packages('Matrix')

Monthly Downloads

118,373

Version

1.2-3

License

GPL (>= 2)

Maintainer

Martin Maechler

Last Published

November 28th, 2015

Functions in Matrix (1.2-3)

diagonalMatrix-class

Class "diagonalMatrix" of Diagonal Matrices
replValue-class

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

Virtual Class "Matrix" Class of Matrices
[<--methods

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

Sparse Vector Construction from Nonzero Entries
dsyMatrix-class

Symmetric Dense Numeric Matrices
ldiMatrix-class

Class "ldiMatrix" of Diagonal Logical Matrices
dMatrix-class

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

Triangular Sparse Compressed Row Matrices
symmetricMatrix-class

Virtual Class of Symmetric Matrices in Package Matrix
KNex

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

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

Class "CsparseMatrix" of Sparse Matrices in Column-compressed Form
chol2inv-methods

Inverse from Choleski or QR Decomposition -- Matrix Methods
ndenseMatrix-class

Virtual Class "ndenseMatrix" of Dense Logical Matrices
band

Extract bands of a matrix
lu

(Generalized) Triangular Decomposition of a Matrix
Schur-class

Class "Schur" of Schur Matrix Factorizations
abIseq

Sequence Generation of "abIndex", Abstract Index Vectors
drop0

Drop "Explicit Zeroes" from a Sparse Matrix
colSums

Form Row and Column Sums and Means
index-class

Virtual Class "index" - Simple Class for Matrix Indices
uniqTsparse

Unique TsparseMatrix Representations
nnzero

The Number of Non-Zero Values of a Matrix
%&%-methods

Boolean Arithmetic Matrix Products: %&% and Methods
KhatriRao

Khatri-Rao Matrix Product
dgeMatrix-class

Class "dgeMatrix" of Dense Numeric (S4 Class) Matrices
all-methods

"Matrix" Methods for Functions all() and any()
Schur

Schur Decomposition of a Matrix
lgeMatrix-class

Class "lgeMatrix" of General Dense Logical Matrices
Cholesky

Cholesky Decomposition of a Sparse Matrix
dgRMatrix-class

Sparse Compressed, Row-oriented Numeric Matrices
expm

Matrix Exponential
dgTMatrix-class

Sparse matrices in triplet form
rep2abI

Replicate Vectors into 'abIndex' Result
denseMatrix-class

Virtual Class "denseMatrix" of All Dense Matrices
Hilbert

Generate a Hilbert matrix
SparseM-conversions

Sparse Matrix Coercion from and to those from package SparseM
compMatrix-class

Class "compMatrix" of Composite (Factorizable) Matrices
expand

Expand a Decomposition into Factors
Diagonal

Create Diagonal Matrix Object
image-methods

Methods for image() in Package 'Matrix'
sparse.model.matrix

Construct Sparse Design / Model Matrices
MatrixClass

The Matrix (Super-) Class of a Class
norm

Matrix Norms
generalMatrix-class

Class "generalMatrix" of General Matrices
Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
printSpMatrix

Format and Print Sparse Matrices Flexibly
cBind

Versions of 'cbind' and 'rbind' recursively built on cbind2/rbind2
ddenseMatrix-class

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
kronecker-methods

Methods for Function 'kronecker()' in Package 'Matrix'
sparseLU-class

Sparse LU decomposition of a square sparse matrix
dpoMatrix-class

Positive Semi-definite Dense Numeric Matrices
indMatrix-class

Index Matrices
RsparseMatrix-class

Class "RsparseMatrix" of Sparse Matrices in Column-compressed Form
bdiag

Construct a Block Diagonal Matrix
USCounties

USCounties Contiguity Matrix
sparseMatrix-class

Virtual Class "sparseMatrix" --- Mother of Sparse Matrices
chol

Choleski Decomposition - 'Matrix' S4 Generic and Methods
ltrMatrix-class

Triangular Dense Logical Matrices
dsparseMatrix-class

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices
symmpart

Symmetric Part and Skew(symmetric) Part of a Matrix
isSymmetric-methods

Methods for Function isSymmetric in Package 'Matrix'
is.na-methods

is.na(), is.{in}finite() Methods for 'Matrix' Objects
dtCMatrix-class

Triangular, (compressed) sparse column matrices
Unused-classes

Virtual Classes Not Yet Really Implemented and Used
condest

Compute Approximate CONDition number and 1-Norm of (Large) Matrices
updown

Up- and Down-Dating a Cholesky Decomposition
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
lsparseMatrix-classes

Sparse logical matrices
externalFormats

Read and write external matrix formats
formatSparseM

Formatting Sparse Numeric Matrices Utilities
invPerm

Inverse Permutation Vector
isTriangular

isTriangular() and isDiagonal() Methods
nsyMatrix-class

Symmetric Dense Nonzero-Pattern Matrices
matrix-products

Matrix (Cross) Products (of Transpose)
sparseQR-class

Sparse QR decomposition of a sparse matrix
CAex

Albers' example Matrix with "Difficult" Eigen Factorization
[-methods

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

Virtual Class of Triangular Matrices in Package Matrix
Matrix

Construct a Classed Matrix
CHMfactor-class

CHOLMOD-based Cholesky Factorizations
rcond

Estimate the Reciprocal Condition Number
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
bandSparse

Construct Sparse Banded Matrix from (Sup-/Super-) Diagonals
dtpMatrix-class

Packed Triangular Dense Matrices - "dtpMatrix"
forceSymmetric

Force a Matrix to 'symmetricMatrix' Without Symmetry Checks
ldenseMatrix-class

Virtual Class "ldenseMatrix" of Dense Logical Matrices
graph-sparseMatrix

Conversions "graph" <--> (sparse) Matrix
rsparsematrix

Random Sparse Matrix
pMatrix-class

Permutation matrices
MatrixFactorization-class

Class "MatrixFactorization" of Matrix Factorizations
facmul

Multiplication by Decomposition Factors
nearPD

Nearest Positive Definite Matrix
diagU2N

Transform Triangular Matrices from Unit Triangular to General Triangular and Back
is.null.DN

Are the Dimnames dn NULL-like ?
abIndex-class

Class "abIndex" of Abstract Index Vectors
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
ngeMatrix-class

Class "ngeMatrix" of General Dense Nonzero-pattern Matrices
qr-methods

QR Decomposition -- S4 Methods and Generic
solve-methods

Methods in Package Matrix for Function solve()
rleDiff-class

Class "rleDiff" of rle(diff(.)) Stored Vectors
spMatrix

Sparse Matrix Constructor From Triplet
sparseMatrix

General Sparse Matrix Construction from Nonzero Entries
number-class

Class "number" of Possibly Complex Numbers
LU-class

LU (dense) Matrix Decompositions
dgCMatrix-class

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

Symmetric Dense Logical Matrices
rankMatrix

Rank of a Matrix
unpack

Representation of Packed and Unpacked (Dense) Matrices
nsparseMatrix-classes

Sparse "pattern" Matrices
sparseVector-class

Sparse Vector Classes
atomicVector-class

Virtual Class "atomicVector" of Atomic Vectors
TsparseMatrix-class

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

Triangular Dense Logical Matrices
BunchKaufman-methods

Bunch-Kaufman Decomposition Methods
all.equal-methods

Matrix Package Methods for Function all.equal()