Learn R Programming

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

Matrix (version 1.2-7.1)

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

71,171

Version

1.2-7.1

License

GPL (>= 2) | file LICENCE

Maintainer

Martin Maechler

Last Published

September 1st, 2016

Functions in Matrix (1.2-7.1)

all.equal-methods

Matrix Package Methods for Function all.equal()
all-methods

"Matrix" Methods for Functions all() and any()
BunchKaufman-methods

Bunch-Kaufman Decomposition Methods
atomicVector-class

Virtual Class "atomicVector" of Atomic Vectors
%&%-methods

Boolean Arithmetic Matrix Products: %&% and Methods
band

Extract bands of a matrix
abIseq

Sequence Generation of "abIndex", Abstract Index Vectors
bdiag

Construct a Block Diagonal Matrix
bandSparse

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

Class "abIndex" of Abstract Index Vectors
cBind

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

Albers' example Matrix with "Difficult" Eigen Factorization
Cholesky

Cholesky Decomposition of a Sparse Matrix
colSums

Form Row and Column Sums and Means
condest

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

CHOLMOD-based Cholesky Factorizations
compMatrix-class

Class "compMatrix" of Composite (Factorizable) Matrices
chol

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

Cholesky and Bunch-Kaufman Decompositions
chol2inv-methods

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

Sparse Compressed, Row-oriented Numeric Matrices
Diagonal

Create Diagonal Matrix Object
dgTMatrix-class

Sparse matrices in triplet form
dgCMatrix-class

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

Class "diagonalMatrix" of Diagonal Matrices
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
dgeMatrix-class

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

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

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

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

Numeric Symmetric Sparse (column compressed) Matrices
dsparseMatrix-class

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices
drop0

Drop "Explicit Zeroes" from a Sparse Matrix
dpoMatrix-class

Positive Semi-definite Dense Numeric Matrices
diagU2N

Transform Triangular Matrices from Unit Triangular to General Triangular and Back
dtpMatrix-class

Packed Triangular Dense Matrices - "dtpMatrix"
dtCMatrix-class

Triangular, (compressed) sparse column matrices
dMatrix-class

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

Symmetric Dense Numeric Matrices
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
formatSparseM

Formatting Sparse Numeric Matrices Utilities
generalMatrix-class

Class "generalMatrix" of General Matrices
dtrMatrix-class

Triangular, dense, numeric matrices
expand

Expand a Decomposition into Factors
externalFormats

Read and write external matrix formats
graph-sparseMatrix

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

Multiplication by Decomposition Factors
Hilbert

Generate a Hilbert matrix
forceSymmetric

Force a Matrix to 'symmetricMatrix' Without Symmetry Checks
isSymmetric-methods

Methods for Function isSymmetric in Package 'Matrix'
image-methods

Methods for image() in Package 'Matrix'
index-class

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

Khatri-Rao Matrix Product
indMatrix-class

Index Matrices
KNex

Koenker-Ng Example Sparse Model Matrix and Response Vector
is.na-methods

is.na(), is.infinite() Methods for 'Matrix' Objects
invPerm

Inverse Permutation Vector
is.null.DN

Are the Dimnames dn NULL-like ?
kronecker-methods

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

isTriangular() and isDiagonal() Methods
ldenseMatrix-class

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

Virtual Class "ndenseMatrix" of Dense Logical Matrices
MatrixFactorization-class

Class "MatrixFactorization" of Matrix Factorizations
rankMatrix

Rank of a Matrix
rcond

Estimate the Reciprocal Condition Number
sparse.model.matrix

Construct Sparse Design / Model Matrices
Schur

Schur Decomposition of a Matrix
lsyMatrix-class

Symmetric Dense Logical Matrices
lsparseMatrix-classes

Sparse logical matrices
nMatrix-class

Class "nMatrix" of Non-zero Pattern Matrices
nnzero

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

Sparse Vector Classes
sparseQR-class

Sparse QR decomposition of a sparse matrix
TsparseMatrix-class

Class "TsparseMatrix" of Sparse Matrices in Triplet Form
uniqTsparse

Unique TsparseMatrix Representations
MatrixClass

The Matrix (Super-) Class of a Class
Matrix

Construct a Classed Matrix
lgeMatrix-class

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

Class "ldiMatrix" of Diagonal Logical Matrices
nsyMatrix-class

Symmetric Dense Nonzero-Pattern Matrices
ntrMatrix-class

Triangular Dense Logical Matrices
[<--methods

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

Virtual Class of Symmetric Matrices in Package Matrix
Matrix-class

Virtual Class "Matrix" Class of Matrices
number-class

Class "number" of Possibly Complex Numbers
matrix-products

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

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

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

Permutation matrices
Unused-classes

Virtual Classes Not Yet Really Implemented and Used
unpack

Representation of Packed and Unpacked (Dense) Matrices
updown

Up- and Down-Dating a Cholesky Decomposition
[-methods

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

Virtual Class of Triangular Matrices in Package Matrix
symmpart

Symmetric Part and Skew(symmetric) Part of a Matrix
ltrMatrix-class

Triangular Dense Logical Matrices
LU-class

LU (dense) Matrix Decompositions
ngeMatrix-class

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

Nearest Positive Definite Matrix
printSpMatrix

Format and Print Sparse Matrices Flexibly
qr-methods

QR Decomposition -- S4 Methods and Generic
rsparsematrix

Random Sparse Matrix
Schur-class

Class "Schur" of Schur Matrix Factorizations
USCounties

USCounties Contiguity Matrix
nsparseMatrix-classes

Sparse "pattern" Matrices
norm

Matrix Norms
sparseMatrix-class

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

Virtual Class "replValue" - Simple Class for subassignment Values
rep2abI

Replicate Vectors into 'abIndex' Result
sparseMatrix

General Sparse Matrix Construction from Nonzero Entries
sparseVector

Sparse Vector Construction from Nonzero Entries
spMatrix

Sparse Matrix Constructor From Triplet