Learn R Programming

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

Matrix (version 1.2-0)

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

74,588

Version

1.2-0

License

GPL (>= 2)

Maintainer

Martin Maechler

Last Published

April 4th, 2015

Functions in Matrix (1.2-0)

chol

Choleski Decomposition - 'Matrix' S4 Generic and Methods
condest

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

Class "dgeMatrix" of Dense Numeric (S4 Class) Matrices
rleDiff-class

Class "rleDiff" of rle(diff(.)) Stored Vectors
Schur-class

Class "Schur" of Schur Matrix Factorizations
externalFormats

Read and write external matrix formats
abIseq

Sequence Generation of "abIndex", Abstract Index Vectors
all.equal-methods

Matrix Package Methods for Function all.equal()
diagU2N

Transform Triangular Matrices from Unit Triangular to General and back
sparse.model.matrix

Construct Sparse Design / Model Matrices
Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
MatrixFactorization-class

Class "MatrixFactorization" of Matrix Factorizations
abIndex-class

Class "abIndex" of Abstract Index Vectors
CAex

Albers' example Matrix with "Difficult" Eigen Factorization
band

Extract bands of a matrix
LU-class

LU (dense) Matrix Decompositions
dgRMatrix-class

Sparse Compressed, Row-oriented Numeric Matrices
dgTMatrix-class

Sparse matrices in triplet form
dMatrix-class

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

Drop "Explicit Zeroes" from a Sparse Matrix
expand

Expand a Decomposition into Factors
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
nsyMatrix-class

Symmetric Dense Nonzero-Pattern Matrices
generalMatrix-class

Class "generalMatrix" of General Matrices
ntrMatrix-class

Triangular Dense Logical Matrices
nearPD

Nearest Positive Definite Matrix
ngeMatrix-class

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

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

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

Class "TsparseMatrix" of Sparse Matrices in Triplet Form
cBind

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

Packed Triangular Dense Matrices - "dtpMatrix"
isTriangular

isTriangular() and isDiagonal() Methods
BunchKaufman-methods

Bunch-Kaufman Decomposition Methods
isSymmetric-methods

Methods for Function isSymmetric in Package 'Matrix'
sparseMatrix

General Sparse Matrix Construction from Nonzero Entries
is.null.DN

Are the Dimnames dn NULL-like ?
sparseQR-class

Sparse QR decomposition of a sparse matrix
Unused-classes

Virtual Classes Not Yet Really Implemented and Used
CsparseMatrix-class

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

Inverse Permutation Vector
kronecker-methods

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

Generate a Hilbert matrix
nnzero

The Number of Non-Zero Values of a Matrix
all-methods

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

Replicate Vectors into 'abIndex' Result
denseMatrix-class

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

Triangular Sparse Compressed Row Matrices
rankMatrix

Rank of a Matrix
dtCMatrix-class

Triangular, (compressed) sparse column matrices
qr-methods

QR Decomposition -- S4 Methods and Generic
lu

(Generalized) Triangular Decomposition of a Matrix
sparseMatrix-class

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

Representation of Packed and Unpacked (Dense) Matrices
ldenseMatrix-class

Virtual Class "ldenseMatrix" of Dense Logical Matrices
facmul

Multiplication by Decomposition Factors
USCounties

USCounties Contiguity Matrix
Matrix

Construct a Classed Matrix
norm

Matrix Norms
bdiag

Construct a Block Diagonal Matrix
diagonalMatrix-class

Class "diagonalMatrix" of Diagonal Matrices
symmpart

Symmetric Part and Skew(symmetric) Part of a Matrix
SparseM-conversions

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

CHOLMOD-based Cholesky Factorizations
KNex

Koenker-Ng Example Sparse Model Matrix and Response Vector
graph-sparseMatrix

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

Form Row and Column Sums and Means
sparseVector-class

Sparse Vector Classes
%&%-methods

Boolean Arithmetic Matrix Products: %&% and Methods
KhatriRao

Khatri-Rao Matrix Product
chol2inv-methods

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

Triangular Dense Logical Matrices
compMatrix-class

Class "compMatrix" of Composite (Factorizable) Matrices
image-methods

Methods for image() in Package 'Matrix'
matrix-products

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

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

Symmetric Dense Logical Matrices
triangularMatrix-class

Virtual Class of Triangular Matrices in Package Matrix
dsparseMatrix-class

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

Permutation matrices
Cholesky

Cholesky Decomposition of a Sparse Matrix
number-class

Class "number" of Possibly Complex Numbers
Matrix-class

Virtual Class "Matrix" Class of Matrices
replValue-class

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

Virtual Class of Symmetric Matrices in Package Matrix
Schur

Schur Decomposition of a Matrix
uniqTsparse

Unique TsparseMatrix Representations
bandSparse

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

Positive Semi-definite Dense Numeric Matrices
updown

Up- and Down-Dating a Cholesky Decomposition
formatSparseM

Formatting Sparse Numeric Matrices Utilities
is.na-methods

is.na(), is.{in}finite() Methods for 'Matrix' Objects
rcond

Estimate the Reciprocal Condition Number
Diagonal

Create Diagonal Matrix Object
[<--methods

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

Virtual Class "atomicVector" of Atomic Vectors
dsyMatrix-class

Symmetric Dense Numeric Matrices
ddenseMatrix-class

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

Symmetric Sparse Compressed Row Matrices
ldiMatrix-class

Class "ldiMatrix" of Diagonal Logical Matrices
ndenseMatrix-class

Virtual Class "ndenseMatrix" of Dense Logical Matrices
rsparsematrix

Random Sparse Matrix
sparseLU-class

Sparse LU decomposition of a square sparse matrix
sparseVector

Sparse Vector Construction from Nonzero Entries
RsparseMatrix-class

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

Force a Matrix to 'symmetricMatrix' Without Symmetry Checks
lsparseMatrix-classes

Sparse logical matrices
spMatrix

Sparse Matrix Constructor From Triplet
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
nMatrix-class

Class "nMatrix" of Non-zero Pattern Matrices
printSpMatrix

Format and Print Sparse Matrices Flexibly
[-methods

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

Matrix Exponential
indMatrix-class

Index Matrices
lgeMatrix-class

Class "lgeMatrix" of General Dense Logical Matrices
nsparseMatrix-classes

Sparse "pattern" Matrices