Learn R Programming

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

Matrix (version 1.0-3)

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

71,171

Version

1.0-3

License

GPL (>= 2)

Maintainer

Doug

Last Published

January 14th, 2012

Functions in Matrix (1.0-3)

Hilbert

Generate a Hilbert matrix
MatrixFactorization-class

Class "MatrixFactorization" of Matrix Factorizations
USCounties

USCounties Contiguity Matrix
colSums

Form Row and Column Sums and Means
sparseQR-class

Sparse QR decomposition of a sparse matrix
[-methods

Methods for "[": Extraction or Subsetting in Package 'Matrix'
nsparseMatrix-classes

Sparse "pattern" Matrices
cBind

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

Class "abIndex" of Abstract Index Vectors
LU-class

LU (dense) Matrix Decompositions
Matrix-class

Virtual Class "Matrix" Class of Matrices
isSymmetric-methods

Methods for Function isSymmetric in Package 'Matrix'
printSpMatrix

Format and Print Sparse Matrices Flexibly
ntrMatrix-class

Triangular Dense Logical Matrices
band

Extract bands of a matrix
Diagonal

Create Diagonal Matrix Object
dgTMatrix-class

Sparse matrices in triplet form
BunchKaufman-methods

Bunch-Kaufman Decomposition Methods
diagU2N

Transform Triangular Matrices from Unit Triangular to General and back
sparseLU-class

Sparse LU decomposition of a square sparse matrix
denseMatrix-class

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

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices
chol2inv-methods

Inverse from Choleski or QR Decomposition -- Matrix Methods
Matrix

Construct a Classed Matrix
ddenseMatrix-class

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
externalFormats

Read and write external matrix formats
condest

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

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

Sequence Generation of "abIndex", Abstract Index Vectors
[<--methods

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

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

Virtual Class "ldenseMatrix" of Dense Logical Matrices
nearPD

Nearest Positive Definite Matrix
compMatrix-class

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

Class "ddiMatrix" of Diagonal Numeric Matrices
dtrMatrix-class

Triangular, dense, numeric matrices
facmul

Multiplication by Decomposition Factors
CHMfactor-class

CHOLMOD-based Cholesky Factorizations
ltrMatrix-class

Triangular Dense Logical Matrices
chol

Choleski Decomposition - 'Matrix' S4 Generic
lsparseMatrix-classes

Sparse logical matrices
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
forceSymmetric

Force a Matrix to 'symmetricMatrix' Without Symmetry Checks
rep2abI

Replicate Vectors into 'abIndex' Result
Schur-class

Class "Schur" of Schur Matrix Factorizations
Cholesky

Cholesky Decomposition of a Sparse Matrix
KNex

Koenker-Ng Example Sparse Model Matrix and Response Vector
lu

(Generalized) Triangular Decomposition of a Matrix
generalMatrix-class

Class "generalMatrix" of General Matrices
sparseMatrix-class

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

Matrix Exponential
nsyMatrix-class

Symmetric Dense Nonzero-Pattern Matrices
sparse.model.matrix

Construct Sparse Design / Model Matrices
lsyMatrix-class

Symmetric Dense Logical Matrices
ldiMatrix-class

Class "ldiMatrix" of Diagonal Logical Matrices
rcond

Estimate the Reciprocal Condition Number
SparseM-conversions

Sparse Matrix Coercion from and to those from package "SparseM"
all-methods

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

Sparse Compressed, Row-oriented Numeric Matrices
number-class

Class "number" of Possibly Complex Numbers
norm

Matrix Norms
unpack

Full Storage Representation of Packed Matrices
is.na-methods

is.na() Methods for 'Matrix' Objects
dMatrix-class

(Virtual) Class "dMatrix" of "double" Matrices
all.equal-methods

Matrix Package Methods for Function all.equal()
rankMatrix

Rank of a Matrix
RsparseMatrix-class

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

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

Triangular, (compressed) sparse column matrices
drop0

Drop "Explicit Zeroes" from a Sparse Matrix
bandSparse

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

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

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

The Number of Non-Zero Values of a Matrix
Unused-classes

Virtual Classes Not Yet Really Implemented and Used
triangularMatrix-class

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

Permutation matrices
diagonalMatrix-class

Class "diagonalMatrix" of Diagonal Matrices
dpoMatrix-class

Positive Semi-definite Dense Numeric Matrices
lgeMatrix-class

Class "lgeMatrix" of General Dense Logical Matrices
sparseMatrix

General Sparse Matrix Construction from Nonzero Entries
xtabs

Cross Tabulation, Optionally Sparse
rleDiff-class

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

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

QR Decomposition -- S4 Methods and Generic
image-methods

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

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

Cross-product of transpose
atomicVector-class

Virtual Class "atomicVector" of Atomic Vectors
replValue-class

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

Numeric Symmetric Sparse (column compressed) Matrices
expand

Expand a Decomposition into Factors
formatSparseM

Formatting Sparse Numeric Matrices Utilities
ndenseMatrix-class

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

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

Cholesky and Bunch-Kaufman Decompositions
Schur

Schur Decomposition of a Matrix
bdiag

Construct a Block Diagonal Matrix
dsyMatrix-class

Symmetric Dense Numeric Matrices
dtpMatrix-class

Packed triangular dense matrices
ngeMatrix-class

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

Sparse Matrix Constructor From Triplet
symmpart

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

Sparse Vector Classes
dgCMatrix-class

Compressed, sparse, column-oriented numeric matrices