Learn R Programming

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

Matrix (version 0.999375-42)

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

0.999375-42

License

GPL (>= 2)

Maintainer

Last Published

July 15th, 2010

Functions in Matrix (0.999375-42)

CHMfactor-class

CHOLMOD-based Cholesky Factorizations
Schur-class

Class "Schur" of Schur Matrix Factorizations
RsparseMatrix-class

Class "RsparseMatrix" of Sparse Matrices in Column-compressed Form
isSymmetric-methods

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

Sparse matrices in triplet form
nearPD

Nearest Positive Definite Matrix
abIseq

Sequence Generation of "abIndex", Abstract Index Vectors
bdiag

Construct a Block Diagonal Matrix
contrast

Contrast Matrices, Optionally Sparse
all.equal-methods

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

Triangular Dense Logical Matrices
TsparseMatrix-class

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

Packed triangular dense matrices
CAex

Albers' example Matrix with "Difficult" Eigen Factorization
Matrix

Construct a Classed Matrix
image-methods

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

Class "ddiMatrix" of Diagonal Numeric Matrices
KNex

Koenker-Ng Example Sparse Model Matrix and Response Vector
drop0

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

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

Symmetric Sparse Compressed Row Matrices
BunchKaufman-methods

Bunch-Kaufman Decomposition Methods
[-methods

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

Triangular Dense Logical Matrices
expm

Matrix Exponential
facmul

Multiplication by Decomposition Factors
compMatrix-class

Class "compMatrix" of Composite (Factorizable) Matrices
colSums

Form Row and Column Sums and Means
[<--methods

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

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

Choleski Decomposition - 'Matrix' S4 Generic
generalMatrix-class

Class "generalMatrix" of General Matrices
lsparseMatrix-classes

Sparse logical matrices
all-methods

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

Compute Approximate CONDition number and 1-Norm of (Large) Matrices
kronecker-methods

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

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
rcond

Estimate the Reciprocal Condition Number
model.Matrix

Construct Possibly Sparse Design or Model Matrices
dtCMatrix-class

Triangular, (compressed) sparse column matrices
diagonalMatrix-class

Class "diagonalMatrix" of Diagonal Matrices
band

Extract bands of a matrix
CsparseMatrix-class

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

Class "ldiMatrix" of Diagonal Logical Matrices
dsparseMatrix-class

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

Cholesky and Bunch-Kaufman Decompositions
sparse.model.matrix

Construct Sparse Design / Model Matrices
glpModel-class

Class "glpModel" of General Linear Prediction Models
rankMatrix

Rank of a Matrix
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
lgeMatrix-class

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

Positive Semi-definite Dense Numeric Matrices
SparseM-conversions

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

Class "number" of Possibly Complex Numbers
cBind

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

Triangular Decomposition of a Square Matrix
dgeMatrix-class

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

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

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

Replicate Vectors into 'abIndex' Result
ndenseMatrix-class

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

Class "MatrixFactorization" of Matrix Factorizations
USCounties

USCounties Contiguity Matrix
chol2inv-methods

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

Virtual Class "Matrix" Class of Matrices
dMatrix-class

(Virtual) Class "dMatrix" of "double" Matrices
nsparseMatrix-classes

Sparse "pattern" Matrices
dgRMatrix-class

Sparse Compressed, Row-oriented Numeric Matrices
sparseQR-class

Sparse QR decomposition of a sparse matrix
tcrossprod

Cross-product of transpose
expand

Expand a Decomposition into Factors
sparseVector-class

Sparse Vector Classes
Unused-classes

Virtual Classes Not Yet Really Implemented and Used
printSpMatrix

Print Sparse Matrices Flexibly
symmpart

Symmetric Part and Skew(symmetric) Part of a Matrix
xtabs

Cross Tabulation, Optionally Sparse
sparseMatrix

General Sparse Matrix Construction from Nonzero Entries
symmetricMatrix-class

Virtual Class of Symmetric Matrices in package:Matrix
dtrMatrix-class

Triangular, dense, numeric matrices
rleDiff-class

Class "rleDiff" of rle(diff(.)) Stored Vectors
Cholesky

Cholesky Decomposition of a Sparse Matrix
forceSymmetric

Force a Matrix to 'symmetricMatrix' Without Symmetry Checks
Hilbert

Generate a Hilbert matrix
ldenseMatrix-class

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

"respModule" and derived classes
is.na-methods

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

Permutation matrices
lsyMatrix-class

Symmetric Dense Logical Matrices
sparseMatrix-class

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

Full Storage Representation of Packed Matrices
triangularMatrix-class

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

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

Class "modelMatrix" and SubClasses
LU-class

LU (dense) Matrix Decompositions
Schur

Schur Decomposition of a Matrix
lm.fit.sparse

Fitter Function for Sparse Linear Models
nsyMatrix-class

Symmetric Dense Nonzero-Pattern Matrices
mkRespMod

Create a respModule object
qr-methods

QR Decomposition -- S4 Methods and Generic
externalFormats

Read and write external matrix formats
atomicVector-class

Virtual Class "atomicVector" of Atomic Vectors
dgCMatrix-class

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

Symmetric Dense Numeric Matrices
norm

Matrix Norms
Diagonal

Create Diagonal Matrix Object
abIndex-class

Class "abIndex" of Abstract Index Vectors
bandSparse

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

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

Class "predModule" and SubClasses
spMatrix

Sparse Matrix Constructor From Triplet
sparseLU-class

Sparse LU decomposition of a square sparse matrix