Learn R Programming

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

Matrix (version 1.2-6)

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-6

License

GPL (>= 2) | file LICENCE

Maintainer

Martin Maechler

Last Published

May 2nd, 2016

Functions in Matrix (1.2-6)

denseMatrix-class

Virtual Class "denseMatrix" of All Dense Matrices
abIseq

Sequence Generation of "abIndex", Abstract Index Vectors
lu

(Generalized) Triangular Decomposition of a Matrix
chol2inv-methods

Inverse from Choleski or QR Decomposition -- Matrix Methods
USCounties

USCounties Contiguity Matrix
TsparseMatrix-class

Class "TsparseMatrix" of Sparse Matrices in Triplet Form
condest

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

Construct a Classed Matrix
expm

Matrix Exponential
ltrMatrix-class

Triangular Dense Logical Matrices
Cholesky

Cholesky Decomposition of a Sparse Matrix
[-methods

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

Virtual Class "atomicVector" of Atomic Vectors
dpoMatrix-class

Positive Semi-definite Dense Numeric Matrices
dgTMatrix-class

Sparse matrices in triplet form
forceSymmetric

Force a Matrix to 'symmetricMatrix' Without Symmetry Checks
graph-sparseMatrix

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

Drop "Explicit Zeroes" from a Sparse Matrix
cBind

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

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

Symmetric Sparse Compressed Row Matrices
%&%-methods

Boolean Arithmetic Matrix Products: %&% and Methods
externalFormats

Read and write external matrix formats
dtCMatrix-class

Triangular, (compressed) sparse column matrices
expand

Expand a Decomposition into Factors
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
isTriangular

isTriangular() and isDiagonal() Methods
Schur-class

Class "Schur" of Schur Matrix Factorizations
all.equal-methods

Matrix Package Methods for Function all.equal()
dtrMatrix-class

Triangular, dense, numeric matrices
LU-class

LU (dense) Matrix Decompositions
lsyMatrix-class

Symmetric Dense Logical Matrices
rleDiff-class

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

Virtual Class "sparseMatrix" --- Mother of Sparse Matrices
BunchKaufman-methods

Bunch-Kaufman Decomposition Methods
dsparseMatrix-class

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices
rep2abI

Replicate Vectors into 'abIndex' Result
dgeMatrix-class

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

Khatri-Rao Matrix Product
CsparseMatrix-class

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

Class "diagonalMatrix" of Diagonal Matrices
lgeMatrix-class

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

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
lsparseMatrix-classes

Sparse logical matrices
generalMatrix-class

Class "generalMatrix" of General Matrices
replValue-class

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

Matrix Norms
Matrix-class

Virtual Class "Matrix" Class of Matrices
Hilbert

Generate a Hilbert matrix
MatrixClass

The Matrix (Super-) Class of a Class
dgCMatrix-class

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

Triangular Dense Logical Matrices
bandSparse

Construct Sparse Banded Matrix from (Sup-/Super-) Diagonals
is.na-methods

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

Sparse Matrix Constructor From Triplet
ndenseMatrix-class

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

Class "MatrixFactorization" of Matrix Factorizations
image-methods

Methods for image() in Package 'Matrix'
solve-methods

Methods in Package Matrix for Function solve()
kronecker-methods

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

Choleski Decomposition - 'Matrix' S4 Generic and Methods
Schur

Schur Decomposition of a Matrix
qr-methods

QR Decomposition -- S4 Methods and Generic
CAex

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

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

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

Cholesky and Bunch-Kaufman Decompositions
triangularMatrix-class

Virtual Class of Triangular Matrices in Package Matrix
is.null.DN

Are the Dimnames dn NULL-like ?
symmetricMatrix-class

Virtual Class of Symmetric Matrices in Package Matrix
sparseVector-class

Sparse Vector Classes
number-class

Class "number" of Possibly Complex Numbers
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
nsyMatrix-class

Symmetric Dense Nonzero-Pattern Matrices
dMatrix-class

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

Unique TsparseMatrix Representations
abIndex-class

Class "abIndex" of Abstract Index Vectors
invPerm

Inverse Permutation Vector
isSymmetric-methods

Methods for Function isSymmetric in Package 'Matrix'
band

Extract bands of a matrix
formatSparseM

Formatting Sparse Numeric Matrices Utilities
dgRMatrix-class

Sparse Compressed, Row-oriented Numeric Matrices
Diagonal

Create Diagonal Matrix Object
colSums

Form Row and Column Sums and Means
dtpMatrix-class

Packed Triangular Dense Matrices - "dtpMatrix"
bdiag

Construct a Block Diagonal Matrix
symmpart

Symmetric Part and Skew(symmetric) Part of a Matrix
facmul

Multiplication by Decomposition Factors
sparse.model.matrix

Construct Sparse Design / Model Matrices
ldiMatrix-class

Class "ldiMatrix" of Diagonal Logical Matrices
nearPD

Nearest Positive Definite Matrix
matrix-products

Matrix (Cross) Products (of Transpose)
nsparseMatrix-classes

Sparse "pattern" Matrices
ngeMatrix-class

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

Estimate the Reciprocal Condition Number
rsparsematrix

Random Sparse Matrix
printSpMatrix

Format and Print Sparse Matrices Flexibly
rankMatrix

Rank of a Matrix
indMatrix-class

Index Matrices
sparseVector

Sparse Vector Construction from Nonzero Entries
nMatrix-class

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

Sparse LU decomposition of a square sparse matrix
pMatrix-class

Permutation matrices
updown

Up- and Down-Dating a Cholesky Decomposition
unpack

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

CHOLMOD-based Cholesky Factorizations
dsyMatrix-class

Symmetric Dense Numeric Matrices
index-class

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

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

Sparse QR decomposition of a sparse matrix
all-methods

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

General Sparse Matrix Construction from Nonzero Entries
diagU2N

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

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

Virtual Class "ldenseMatrix" of Dense Logical Matrices
Unused-classes

Virtual Classes Not Yet Really Implemented and Used
SparseM-conversions

Sparse Matrix Coercion from and to those from package SparseM