Learn R Programming

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

Matrix (version 0.999375-22)

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

181,790

Version

0.999375-22

License

GPL (>= 2)

Maintainer

Doug

Last Published

March 13th, 2009

Functions in Matrix (0.999375-22)

dsyMatrix-class

Symmetric Dense Numeric Matrices
RsparseMatrix-class

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

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

Extract bands of a matrix
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
[<--methods

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

Form Row and Column Sums and Means
USCounties

USCounties Contiguity Matrix
Schur

Schur Decomposition of a Matrix
dgTMatrix-class

Sparse matrices in triplet form
Matrix-class

Virtual Class "Matrix" Class of Matrices
BunchKaufman-methods

Bunch-Kaufman Decomposition Methods
CAex

Albers' example Matrix with "Difficult" Eigen Factorization
MatrixFactorization-class

Class "MatrixFactorization" of Matrix Factorizations
bdiag

Construct a Block Diagonal Matrix
dMatrix-class

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

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

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

Matrix Exponential
Schur-class

Class "Schur" of Schur Matrix Factorizations
image-methods

Methods for image() in Package 'Matrix'
Hilbert

Generate a Hilbert matrix
Cholesky

Cholesky Decomposition of a Sparse Matrix
Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
atomicVector-class

Virtual Class "atomicVector" of Atomic Vectors
dpoMatrix-class

Positive Semi-definite Dense Numeric Matrices
Diagonal

Create Diagonal Matrix Object
lsparseMatrix-classes

Sparse logical matrices
all.equal-methods

Matrix Methods for Function all.equal()
TsparseMatrix-class

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

Triangular Dense Logical Matrices
is.na-methods

is.na() Methods for 'Matrix' Objects
forceSymmetric

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

Sparse Compressed, Row-oriented Numeric Matrices
symmetricMatrix-class

Virtual Class of Symmetric Matrices in package:Matrix
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
ntrMatrix-class

Triangular Dense Logical Matrices
ndenseMatrix-class

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

Class "ldiMatrix" of Diagonal Logical Matrices
facmul

Multiplication by Decomposition Factors
ngeMatrix-class

Class "ngeMatrix" of General Dense Nonzero-pattern Matrices
Unused-classes

Virtual Classes Not Yet Really Implemented and Used
expand

Expand a Decomposition into Factors
lgeMatrix-class

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

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

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

Triangular, (compressed) sparse column matrices
spMatrix

Sparse Matrix Constructor From Triplet
ldenseMatrix-class

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

Sparse LU decomposition of a square sparse matrix
dtpMatrix-class

Packed triangular dense matrices
chol

Choleski Decomposition - 'Matrix' S4 Generic
tcrossprod

Cross-product of transpose
diagonalMatrix-class

Class "diagonalMatrix" of Diagonal Matrices
LU-class

LU (dense) Matrix Decompositions
printSpMatrix

Print Sparse Matrices Flexibly
triangularMatrix-class

Virtual Class of Triangular Matrices in package:Matrix
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
generalMatrix-class

Class "generalMatrix" of General Matrices
unpack

Full Storage Representation of Packed Matrices
nMatrix-class

Class "nMatrix" of Non-zero Pattern Matrices
sparseMatrix

General Sparse Matrix Construction from Nonzero Entries
pMatrix-class

Permutation matrices
sparseMatrix-class

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

Drop "Explicit Zeroes" from a Sparse Matrix
SparseM-conversions

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

Symmetric Dense Logical Matrices
externalFormats

Read and write external matrix formats
rcond

Estimate the Reciprocal Condition Number
nnzero

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

Triangular Sparse Compressed Row Matrices
denseMatrix-class

Virtual Class "denseMatrix" of All Dense Matrices
kronecker-methods

Methods for Function 'kronecker()' in Package 'Matrix'
isSymmetric-methods

Methods for Function isSymmetric in Package 'Matrix'
index-class

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

Cross Tabulation, Optionally Sparse
symmpart

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

Triangular Decomposition of a Square Matrix
nsyMatrix-class

Symmetric Dense Nonzero-Pattern Matrices
nsparseMatrix-classes

Sparse "pattern" Matrices
sparseVector-class

Sparse Vector Classes
KNex

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

CHOLMOD-based Cholesky Factorizations
compMatrix-class

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

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

Matrix Norms
qr-methods

QR Decomposition -- S4 Methods and Generic
Matrix

Construct a Classed Matrix
number-class

Class "number" of Possibly Complex Numbers
sparseQR-class

Sparse QR decomposition of a sparse matrix
all-methods

"Matrix" Methods for Functions all() and any()
ddenseMatrix-class

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
nearPD

Nearest Matrix to a Positive Definite Matrix
[-methods

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

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