Learn R Programming

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

Matrix (version 1.0-4)

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

107,780

Version

1.0-4

License

GPL (>= 2)

Maintainer

Last Published

February 22nd, 2012

Functions in Matrix (1.0-4)

Hilbert

Generate a Hilbert matrix
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
CAex

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

Bunch-Kaufman Decomposition Methods
Schur

Schur Decomposition of a Matrix
chol2inv-methods

Inverse from Choleski or QR Decomposition -- Matrix Methods
Cholesky

Cholesky Decomposition of a Sparse Matrix
Matrix

Construct a Classed Matrix
band

Extract bands of a matrix
TsparseMatrix-class

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

Numeric Symmetric Sparse (column compressed) Matrices
dtCMatrix-class

Triangular, (compressed) sparse column matrices
Diagonal

Create Diagonal Matrix Object
dsyMatrix-class

Symmetric Dense Numeric Matrices
formatSparseM

Formatting Sparse Numeric Matrices Utilities
norm

Matrix Norms
dtpMatrix-class

Packed triangular dense matrices
Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
nsparseMatrix-classes

Sparse "pattern" Matrices
dMatrix-class

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

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
CsparseMatrix-class

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

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

Positive Semi-definite Dense Numeric Matrices
abIndex-class

Class "abIndex" of Abstract Index Vectors
KNex

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

Class "Schur" of Schur Matrix Factorizations
cBind

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

Virtual Class "Matrix" Class of Matrices
bdiag

Construct a Block Diagonal Matrix
[-methods

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

CHOLMOD-based Cholesky Factorizations
dtrMatrix-class

Triangular, dense, numeric matrices
USCounties

USCounties Contiguity Matrix
dgRMatrix-class

Sparse Compressed, Row-oriented Numeric Matrices
sparse.model.matrix

Construct Sparse Design / Model Matrices
[<--methods

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

Virtual Class "ldenseMatrix" of Dense Logical Matrices
condest

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

Virtual Class of Symmetric Matrices in package:Matrix
rep2abI

Replicate Vectors into 'abIndex' Result
compMatrix-class

Class "compMatrix" of Composite (Factorizable) Matrices
diagU2N

Transform Triangular Matrices from Unit Triangular to General and back
abIseq

Sequence Generation of "abIndex", Abstract Index Vectors
generalMatrix-class

Class "generalMatrix" of General Matrices
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
RsparseMatrix-class

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

Triangular Dense Logical Matrices
spMatrix

Sparse Matrix Constructor From Triplet
nMatrix-class

Class "nMatrix" of Non-zero Pattern Matrices
sparseMatrix

General Sparse Matrix Construction from Nonzero Entries
MatrixFactorization-class

Class "MatrixFactorization" of Matrix Factorizations
externalFormats

Read and write external matrix formats
facmul

Multiplication by Decomposition Factors
SparseM-conversions

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

Virtual Class "denseMatrix" of All Dense Matrices
lu

(Generalized) Triangular Decomposition of a Matrix
dgTMatrix-class

Sparse matrices in triplet form
number-class

Class "number" of Possibly Complex Numbers
nearPD

Nearest Positive Definite Matrix
bandSparse

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

Form Row and Column Sums and Means
tcrossprod

Cross-product of transpose
diagonalMatrix-class

Class "diagonalMatrix" of Diagonal Matrices
expand

Expand a Decomposition into Factors
isSymmetric-methods

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

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

Sparse LU decomposition of a square sparse matrix
kronecker-methods

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

Sparse Vector Classes
replValue-class

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

Symmetric Part and Skew(symmetric) Part of a Matrix
all-methods

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

Choleski Decomposition - 'Matrix' S4 Generic
nnzero

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

Compressed, sparse, column-oriented numeric matrices
qr-methods

QR Decomposition -- S4 Methods and Generic
forceSymmetric

Force a Matrix to 'symmetricMatrix' Without Symmetry Checks
drop0

Drop "Explicit Zeroes" from a Sparse Matrix
printSpMatrix

Format and Print Sparse Matrices Flexibly
Unused-classes

Virtual Classes Not Yet Really Implemented and Used
ngeMatrix-class

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

LU (dense) Matrix Decompositions
lsparseMatrix-classes

Sparse logical matrices
image-methods

Methods for image() in Package 'Matrix'
all.equal-methods

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

Class "lgeMatrix" of General Dense Logical Matrices
is.na-methods

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

Class "ldiMatrix" of Diagonal Logical Matrices
pMatrix-class

Permutation matrices
triangularMatrix-class

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

Triangular Dense Logical Matrices
lsyMatrix-class

Symmetric Dense Logical Matrices
ndenseMatrix-class

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

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

Sparse QR decomposition of a sparse matrix
rcond

Estimate the Reciprocal Condition Number
xtabs

Cross Tabulation, Optionally Sparse
unpack

Full Storage Representation of Packed Matrices
rankMatrix

Rank of a Matrix
sparseMatrix-class

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

Matrix Exponential
atomicVector-class

Virtual Class "atomicVector" of Atomic Vectors
nsyMatrix-class

Symmetric Dense Nonzero-Pattern Matrices
index-class

Virtual Class "index" - Simple Class for Matrix Indices