Learn R Programming

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

Matrix (version 0.999375-23)

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

90,263

Version

0.999375-23

License

GPL (>= 2)

Maintainer

Doug

Last Published

March 31st, 2009

Functions in Matrix (0.999375-23)

band

Extract bands of a matrix
dgCMatrix-class

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

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

Cholesky and Bunch-Kaufman Decompositions
CHMfactor-class

CHOLMOD-based Cholesky Factorizations
generalMatrix-class

Class "generalMatrix" of General Matrices
cBind

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

Virtual Class of Symmetric Matrices in package:Matrix
chol

Choleski Decomposition - 'Matrix' S4 Generic
dtpMatrix-class

Packed triangular dense matrices
sparseMatrix-class

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

Sparse Compressed, Row-oriented Numeric Matrices
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
ddenseMatrix-class

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
is.na-methods

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

Cholesky Decomposition of a Sparse Matrix
all.equal-methods

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

Sparse matrices in triplet form
Matrix

Construct a Classed Matrix
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
KNex

Koenker-Ng Example Sparse Model Matrix and Response Vector
Diagonal

Create Diagonal Matrix Object
sparseLU-class

Sparse LU decomposition of a square sparse matrix
[-methods

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

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

Positive Semi-definite Dense Numeric Matrices
expand

Expand a Decomposition into Factors
CAex

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

Class "diagonalMatrix" of Diagonal Matrices
expm

Matrix Exponential
dgeMatrix-class

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

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

Symmetric Dense Numeric Matrices
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
kronecker-methods

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

Schur Decomposition of a Matrix
ntrMatrix-class

Triangular Dense Logical Matrices
index-class

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

Virtual Class of Triangular Matrices in package:Matrix
colSums

Form Row and Column Sums and Means
dtCMatrix-class

Triangular, (compressed) sparse column matrices
TsparseMatrix-class

Class "TsparseMatrix" of Sparse Matrices in Triplet Form
rcond

Estimate the Reciprocal Condition Number
norm

Matrix Norms
unpack

Full Storage Representation of Packed Matrices
ngeMatrix-class

Class "ngeMatrix" of General Dense Nonzero-pattern Matrices
nsyMatrix-class

Symmetric Dense Nonzero-Pattern Matrices
number-class

Class "number" of Possibly Complex Numbers
ndenseMatrix-class

Virtual Class "ndenseMatrix" of Dense Logical Matrices
Hilbert

Generate a Hilbert matrix
bdiag

Construct a Block Diagonal Matrix
qr-methods

QR Decomposition -- S4 Methods and Generic
printSpMatrix

Print Sparse Matrices Flexibly
replValue-class

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

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

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

Nearest Matrix to a Positive Definite Matrix
Matrix-class

Virtual Class "Matrix" Class of Matrices
SparseM-conversions

Sparse Matrix Coercion from and to those from package "SparseM"
externalFormats

Read and write external matrix formats
LU-class

LU (dense) Matrix Decompositions
ldiMatrix-class

Class "ldiMatrix" of Diagonal Logical Matrices
dtrMatrix-class

Triangular, dense, numeric matrices
atomicVector-class

Virtual Class "atomicVector" of Atomic Vectors
facmul

Multiplication by Decomposition Factors
symmpart

Symmetric Part and Skew(symmetric) Part of a Matrix
Unused-classes

Virtual Classes Not Yet Really Implemented and Used
USCounties

USCounties Contiguity Matrix
forceSymmetric

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

Class "Schur" of Schur Matrix Factorizations
isSymmetric-methods

Methods for Function isSymmetric in Package 'Matrix'
sparseMatrix

General Sparse Matrix Construction from Nonzero Entries
ldenseMatrix-class

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

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

Class "lgeMatrix" of General Dense Logical Matrices
BunchKaufman-methods

Bunch-Kaufman Decomposition Methods
spMatrix

Sparse Matrix Constructor From Triplet
sparseVector-class

Sparse Vector Classes
sparseQR-class

Sparse QR decomposition of a sparse matrix
image-methods

Methods for image() in Package 'Matrix'
lu

Triangular Decomposition of a Square Matrix
lsyMatrix-class

Symmetric Dense Logical Matrices
tcrossprod

Cross-product of transpose
nsparseMatrix-classes

Sparse "pattern" Matrices
nnzero

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

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

Triangular Dense Logical Matrices
xtabs

Cross Tabulation, Optionally Sparse
dMatrix-class

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

Class "MatrixFactorization" of Matrix Factorizations
lsparseMatrix-classes

Sparse logical matrices
[<--methods

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

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

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

Permutation matrices