Matrix v1.2-17


Monthly downloads



Sparse and Dense Matrix Classes and Methods

A rich hierarchy of matrix classes, including triangular, symmetric, and diagonal matrices, both dense and sparse and with pattern, logical and numeric entries. Numerous methods for and operations on these matrices, using 'LAPACK' and 'SuiteSparse' libraries.

Functions in Matrix

Name Description
SparseM-conversions Sparse Matrix Coercion from and to those from package SparseM
[<--methods Methods for "[<-" - Assigning to Subsets for 'Matrix'
Schur Schur Decomposition of a Matrix
[-methods Methods for "[": Extraction or Subsetting in Package 'Matrix'
Schur-class Class "Schur" of Schur Matrix Factorizations
band Extract bands of a matrix
CAex Albers' example Matrix with "Difficult" Eigen Factorization
MatrixFactorization-class Class "MatrixFactorization" of Matrix Factorizations
all.equal-methods Matrix Package Methods for Function all.equal()
RsparseMatrix-class Class "RsparseMatrix" of Sparse Matrices in Column-compressed Form
LU-class LU (dense) Matrix Decompositions
compMatrix-class Class "compMatrix" of Composite (Factorizable) Matrices
atomicVector-class Virtual Class "atomicVector" of Atomic Vectors
condest Compute Approximate CONDition number and 1-Norm of (Large) Matrices
Matrix Construct a Classed Matrix
Matrix-class Virtual Class "Matrix" Class of Matrices
dgCMatrix-class Compressed, sparse, column-oriented numeric matrices
chol Choleski Decomposition - 'Matrix' S4 Generic and Methods
cBind Versions of 'cbind' and 'rbind' recursively built on cbind2/rbind2
bandSparse Construct Sparse Banded Matrix from (Sup-/Super-) Diagonals
MatrixClass The Matrix (Super-) Class of a Class
ddiMatrix-class Class "ddiMatrix" of Diagonal Numeric Matrices
TsparseMatrix-class Class "TsparseMatrix" of Sparse Matrices in Triplet Form
USCounties USCounties Contiguity Matrix
abIseq Sequence Generation of "abIndex", Abstract Index Vectors
denseMatrix-class Virtual Class "denseMatrix" of All Dense Matrices
all-methods "Matrix" Methods for Functions all() and any()
diagU2N Transform Triangular Matrices from Unit Triangular to General Triangular and Back
chol2inv-methods Inverse from Choleski or QR Decomposition -- Matrix Methods
colSums Form Row and Column Sums and Means
dtpMatrix-class Packed Triangular Dense Matrices - "dtpMatrix"
dtrMatrix-class Triangular, dense, numeric matrices
dgeMatrix-class Class "dgeMatrix" of Dense Numeric (S4 Class) Matrices
dgTMatrix-class Sparse matrices in triplet form
diagonalMatrix-class Class "diagonalMatrix" of Diagonal Matrices
dgRMatrix-class Sparse Compressed, Row-oriented Numeric Matrices
dMatrix-class (Virtual) Class "dMatrix" of "double" Matrices
ddenseMatrix-class Virtual Class "ddenseMatrix" of Numeric Dense Matrices
abIndex-class Class "abIndex" of Abstract Index Vectors
bdiag Construct a Block Diagonal Matrix
forceSymmetric Force a Matrix to 'symmetricMatrix' Without Symmetry Checks
dtCMatrix-class Triangular, (compressed) sparse column matrices
dsCMatrix-class Numeric Symmetric Sparse (column compressed) Matrices
dsRMatrix-class Symmetric Sparse Compressed Row Matrices
dtRMatrix-class Triangular Sparse Compressed Row Matrices
%&%-methods Boolean Arithmetic Matrix Products: %&% and Methods
dpoMatrix-class Positive Semi-definite Dense (Packed | Non-packed) Numeric Matrices
image-methods Methods for image() in Package 'Matrix'
formatSparseM Formatting Sparse Numeric Matrices Utilities
drop0 Drop "Explicit Zeroes" from a Sparse Matrix
indMatrix-class Index Matrices
generalMatrix-class Class "generalMatrix" of General Matrices
graph-sparseMatrix Conversions "graph" <--> (sparse) Matrix
kronecker-methods Methods for Function 'kronecker()' in Package 'Matrix'
ldenseMatrix-class Virtual Class "ldenseMatrix" of Dense Logical Matrices
expand Expand a Decomposition into Factors
ldiMatrix-class Class "ldiMatrix" of Diagonal Logical Matrices
externalFormats Read and write external matrix formats
facmul Multiplication by Decomposition Factors
matrix-products Matrix (Cross) Products (of Transpose)
expm Matrix Exponential
nMatrix-class Class "nMatrix" of Non-zero Pattern Matrices
lgeMatrix-class Class "lgeMatrix" of General Dense Logical Matrices, is.infinite() Methods for 'Matrix' Objects
dsparseMatrix-class Virtual Class "dsparseMatrix" of Numeric Sparse Matrices
dsyMatrix-class Symmetric Dense (Packed | Non-packed) Numeric Matrices
number-class Class "number" of Possibly Complex Numbers
isSymmetric-methods Methods for Function isSymmetric in Package 'Matrix'
lsparseMatrix-classes Sparse logical matrices
isTriangular isTriangular() and isDiagonal() Methods
index-class Virtual Class "index" - Simple Class for Matrix Indices
lsyMatrix-class Symmetric Dense Logical Matrices
pMatrix-class Permutation matrices
is.null.DN Are the Dimnames dn NULL-like ?
norm Matrix Norms
ndenseMatrix-class Virtual Class "ndenseMatrix" of Dense Logical Matrices
nearPD Nearest Positive Definite Matrix
ltrMatrix-class Triangular Dense Logical Matrices
lu (Generalized) Triangular Decomposition of a Matrix
invPerm Inverse Permutation Vector
nsparseMatrix-classes Sparse "pattern" Matrices
rankMatrix Rank of a Matrix
solve-methods Methods in Package Matrix for Function solve()
printSpMatrix Format and Print Sparse Matrices Flexibly
qr-methods QR Decomposition -- S4 Methods and Generic
rcond Estimate the Reciprocal Condition Number
sparse.model.matrix Construct Sparse Design / Model Matrices
spMatrix Sparse Matrix Constructor From Triplet
ngeMatrix-class Class "ngeMatrix" of General Dense Nonzero-pattern Matrices
symmpart Symmetric Part and Skew(symmetric) Part of a Matrix
triangularMatrix-class Virtual Class of Triangular Matrices in Package Matrix
nsyMatrix-class Symmetric Dense Nonzero-Pattern Matrices
ntrMatrix-class Triangular Dense Logical Matrices
sparseLU-class Sparse LU decomposition of a square sparse matrix
rleDiff-class Class "rleDiff" of rle(diff(.)) Stored Vectors
rsparsematrix Random Sparse Matrix
sparseMatrix-class Virtual Class "sparseMatrix" --- Mother of Sparse Matrices
sparseVector Sparse Vector Construction from Nonzero Entries
Unused-classes Virtual Classes Not Yet Really Implemented and Used
symmetricMatrix-class Virtual Class of Symmetric Matrices in Package Matrix
nnzero The Number of Non-Zero Values of a Matrix
sparseMatrix General Sparse Matrix Construction from Nonzero Entries
updown Up- and Down-Dating a Cholesky Decomposition
rep2abI Replicate Vectors into 'abIndex' Result
replValue-class Virtual Class "replValue" - Simple Class for subassignment Values
sparseQR-class Sparse QR decomposition of a sparse matrix
sparseVector-class Sparse Vector Classes
uniqTsparse Unique (Sorted) TsparseMatrix Representations
unpack Representation of Packed and Unpacked (Dense) Matrices
BunchKaufman-methods Bunch-Kaufman Decomposition Methods
Diagonal Create Diagonal Matrix Object
CsparseMatrix-class Class "CsparseMatrix" of Sparse Matrices in Column-compressed Form
KNex Koenker-Ng Example Sparse Model Matrix and Response Vector
Cholesky Cholesky Decomposition of a Sparse Matrix
KhatriRao Khatri-Rao Matrix Product
CHMfactor-class CHOLMOD-based Cholesky Factorizations
Cholesky-class Cholesky and Bunch-Kaufman Decompositions
Hilbert Generate a Hilbert matrix
No Results!

Vignettes of Matrix

No Results!

Last month downloads


Date 2019-03-11
Priority recommended
Contact Doug and Martin
Encoding UTF-8
LazyData no
LazyDataNote not possible, since we use data/*.R *and* our classes
BuildResaveData no
License GPL (>= 2) | file LICENCE
NeedsCompilation yes
Packaged 2019-03-20 21:37:04 UTC; maechler
Repository CRAN
Date/Publication 2019-03-22 22:56:52 UTC

Include our badge in your README