Learn R Programming

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

Matrix (version 0.999375-31)

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

License

GPL (>= 2)

Maintainer

Doug

Last Published

October 8th, 2009

Functions in Matrix (0.999375-31)

tcrossprod

Cross-product of transpose
qr-methods

QR Decomposition -- S4 Methods and Generic
dgTMatrix-class

Sparse matrices in triplet form
[-methods

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

Class "TsparseMatrix" of Sparse Matrices in Triplet Form
all-methods

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

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

Class "MatrixFactorization" of Matrix Factorizations
CHMfactor-class

CHOLMOD-based Cholesky Factorizations
dpoMatrix-class

Positive Semi-definite Dense Numeric Matrices
spMatrix

Sparse Matrix Constructor From Triplet
sparse.model.matrix

Construct Sparse Design / Model Matrices
ltrMatrix-class

Triangular Dense Logical Matrices
sparseQR-class

Sparse QR decomposition of a sparse matrix
Matrix

Construct a Classed Matrix
norm

Matrix Norms
dtCMatrix-class

Triangular, (compressed) sparse column matrices
cBind

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

Extract bands of a matrix
Matrix-class

Virtual Class "Matrix" Class of Matrices
ndenseMatrix-class

Virtual Class "ndenseMatrix" of Dense Logical Matrices
Cholesky

Cholesky Decomposition of a Sparse Matrix
lgeMatrix-class

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

Class "compMatrix" of Composite (Factorizable) Matrices
Diagonal

Create Diagonal Matrix Object
ldiMatrix-class

Class "ldiMatrix" of Diagonal Logical Matrices
chol2inv-methods

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

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
expand

Expand a Decomposition into Factors
Schur-class

Class "Schur" of Schur Matrix Factorizations
chol

Choleski Decomposition - 'Matrix' S4 Generic
bandSparse

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

Sparse LU decomposition of a square sparse matrix
symmpart

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

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

LU (dense) Matrix Decompositions
CsparseMatrix-class

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

Virtual Class of Symmetric Matrices in package:Matrix
rcond

Estimate the Reciprocal Condition Number
RsparseMatrix-class

Class "RsparseMatrix" of Sparse Matrices in Column-compressed Form
nsparseMatrix-classes

Sparse "pattern" Matrices
is.na-methods

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

Construct a Block Diagonal Matrix
BunchKaufman-methods

Bunch-Kaufman Decomposition Methods
KNex

Koenker-Ng Example Sparse Model Matrix and Response Vector
rankMatrix

Rank of a Matrix
denseMatrix-class

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

Triangular Dense Logical Matrices
nearPD

Nearest Matrix to a Positive Definite Matrix
dgRMatrix-class

Sparse Compressed, Row-oriented Numeric Matrices
ngeMatrix-class

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

Cholesky and Bunch-Kaufman Decompositions
Unused-classes

Virtual Classes Not Yet Really Implemented and Used
expm

Matrix Exponential
contrast

Contrast Matrices, Optionally Sparse
ldenseMatrix-class

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

Triangular Sparse Compressed Row Matrices
sparseVector-class

Sparse Vector Classes
dgCMatrix-class

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

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices
xtabs

Cross Tabulation, Optionally Sparse
forceSymmetric

Force a Matrix to 'symmetricMatrix' Without Symmetry Checks
lsparseMatrix-classes

Sparse logical matrices
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
unpack

Full Storage Representation of Packed Matrices
image-methods

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

Symmetric Dense Numeric Matrices
printSpMatrix

Print Sparse Matrices Flexibly
drop0

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

Permutation matrices
USCounties

USCounties Contiguity Matrix
lu

Triangular Decomposition of a Square Matrix
number-class

Class "number" of Possibly Complex Numbers
colSums

Form Row and Column Sums and Means
externalFormats

Read and write external matrix formats
dgeMatrix-class

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

Symmetric Sparse Compressed Row Matrices
triangularMatrix-class

Virtual Class of Triangular Matrices in package:Matrix
CAex

Albers' example Matrix with "Difficult" Eigen Factorization
kronecker-methods

Methods for Function 'kronecker()' in Package 'Matrix'
dtpMatrix-class

Packed triangular dense matrices
lsyMatrix-class

Symmetric Dense Logical Matrices
sparseMatrix

General Sparse Matrix Construction from Nonzero Entries
atomicVector-class

Virtual Class "atomicVector" of Atomic Vectors
SparseM-conversions

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

Class "generalMatrix" of General Matrices
nnzero

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

Symmetric Dense Nonzero-Pattern Matrices
sparseMatrix-class

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

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

Generate a Hilbert matrix
all.equal-methods

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

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

Class "diagonalMatrix" of Diagonal Matrices
facmul

Multiplication by Decomposition Factors
Schur

Schur Decomposition of a Matrix
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
isSymmetric-methods

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

Class "nMatrix" of Non-zero Pattern Matrices