Learn R Programming

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

Matrix (version 0.999375-37)

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

78,160

Version

0.999375-37

License

GPL (>= 2)

Maintainer

Doug

Last Published

February 5th, 2010

Functions in Matrix (0.999375-37)

MatrixFactorization-class

Class "MatrixFactorization" of Matrix Factorizations
dgCMatrix-class

Compressed, sparse, column-oriented numeric matrices
nearPD

Nearest Matrix to a Positive Definite Matrix
dgRMatrix-class

Sparse Compressed, Row-oriented Numeric Matrices
pMatrix-class

Permutation matrices
nnzero

The Number of Non-Zero Values of a Matrix
KNex

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

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

Sparse QR decomposition of a sparse matrix
cBind

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

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

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

Symmetric Sparse Compressed Row Matrices
unpack

Full Storage Representation of Packed Matrices
CAex

Albers' example Matrix with "Difficult" Eigen Factorization
Matrix

Construct a Classed Matrix
dsparseMatrix-class

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

Virtual Class "Matrix" Class of Matrices
compMatrix-class

Class "compMatrix" of Composite (Factorizable) Matrices
lu

Triangular Decomposition of a Square Matrix
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
dgTMatrix-class

Sparse matrices in triplet form
colSums

Form Row and Column Sums and Means
expand

Expand a Decomposition into Factors
dpoMatrix-class

Positive Semi-definite Dense Numeric Matrices
isSymmetric-methods

Methods for Function isSymmetric in Package 'Matrix'
all.equal-methods

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

LU (dense) Matrix Decompositions
chol

Choleski Decomposition - 'Matrix' S4 Generic
ntrMatrix-class

Triangular Dense Logical Matrices
Schur-class

Class "Schur" of Schur Matrix Factorizations
all-methods

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

Inverse from Choleski or QR Decomposition -- Matrix Methods
band

Extract bands of a matrix
bdiag

Construct a Block Diagonal Matrix
generalMatrix-class

Class "generalMatrix" of General Matrices
symmetricMatrix-class

Virtual Class of Symmetric Matrices in package:Matrix
[-methods

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

Class "abIndex" of Abstract Index Vectors
forceSymmetric

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

Sparse LU decomposition of a square sparse matrix
dtCMatrix-class

Triangular, (compressed) sparse column matrices
dtrMatrix-class

Triangular, dense, numeric matrices
atomicVector-class

Virtual Class "atomicVector" of Atomic Vectors
bandSparse

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

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
rankMatrix

Rank of a Matrix
ldiMatrix-class

Class "ldiMatrix" of Diagonal Logical Matrices
drop0

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

Class "nMatrix" of Non-zero Pattern Matrices
contrast

Contrast Matrices, Optionally Sparse
CsparseMatrix-class

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

Symmetric Dense Numeric Matrices
nsyMatrix-class

Symmetric Dense Nonzero-Pattern Matrices
Cholesky

Cholesky Decomposition of a Sparse Matrix
tcrossprod

Cross-product of transpose
Hilbert

Generate a Hilbert matrix
number-class

Class "number" of Possibly Complex Numbers
facmul

Multiplication by Decomposition Factors
BunchKaufman-methods

Bunch-Kaufman Decomposition Methods
Diagonal

Create Diagonal Matrix Object
printSpMatrix

Print Sparse Matrices Flexibly
rleDiff-class

Class "rleDiff" of rle(diff(.)) Stored Vectors
SparseM-conversions

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

Sequence Generation of "abIndex", Abstract Index Vectors
sparseMatrix

General Sparse Matrix Construction from Nonzero Entries
USCounties

USCounties Contiguity Matrix
[<--methods

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

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

Triangular Dense Logical Matrices
replValue-class

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

Class "diagonalMatrix" of Diagonal Matrices
xtabs

Cross Tabulation, Optionally Sparse
Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
image-methods

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

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

Matrix Exponential
lsyMatrix-class

Symmetric Dense Logical Matrices
index-class

Virtual Class "index" - Simple Class for Matrix Indices
qr-methods

QR Decomposition -- S4 Methods and Generic
sparseMatrix-class

Virtual Class "sparseMatrix" --- Mother of Sparse Matrices
sparse.model.matrix

Construct Sparse Design / Model Matrices
sparseVector-class

Sparse Vector Classes
ndenseMatrix-class

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

Packed triangular dense matrices
Schur

Schur Decomposition of a Matrix
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
spMatrix

Sparse Matrix Constructor From Triplet
rcond

Estimate the Reciprocal Condition Number
externalFormats

Read and write external matrix formats
dgeMatrix-class

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

Matrix Norms
ldenseMatrix-class

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

Sparse "pattern" Matrices
ngeMatrix-class

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

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

Methods for Function 'kronecker()' in Package 'Matrix'
Unused-classes

Virtual Classes Not Yet Really Implemented and Used
CHMfactor-class

CHOLMOD-based Cholesky Factorizations
is.na-methods

is.na() Methods for 'Matrix' Objects
lsparseMatrix-classes

Sparse logical matrices
triangularMatrix-class

Virtual Class of Triangular Matrices in package:Matrix