50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


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

Matrix (version 1.0-0)

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

74,588

Version

1.0-0

License

GPL (>= 2)

Maintainer

Doug

Last Published

October 4th, 2011

Functions in Matrix (1.0-0)

pMatrix-class

Permutation matrices
compMatrix-class

Class "compMatrix" of Composite (Factorizable) Matrices
expand

Expand a Decomposition into Factors
SparseM-conversions

Sparse Matrix Coercion from and to those from package "SparseM"
bandSparse

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

Class "diagonalMatrix" of Diagonal Matrices
lu

(Generalized) Triangular Decomposition of a Matrix
band

Extract bands of a matrix
dgRMatrix-class

Sparse Compressed, Row-oriented Numeric Matrices
ddenseMatrix-class

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

CHOLMOD-based Cholesky Factorizations
cBind

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

Triangular, (compressed) sparse column matrices
Diagonal

Create Diagonal Matrix Object
dsyMatrix-class

Symmetric Dense Numeric Matrices
dgCMatrix-class

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

Class "RsparseMatrix" of Sparse Matrices in Column-compressed Form
Hilbert

Generate a Hilbert matrix
rankMatrix

Rank of a Matrix
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
dMatrix-class

(Virtual) Class "dMatrix" of "double" Matrices
bdiag

Construct a Block Diagonal Matrix
CAex

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

Class "ddiMatrix" of Diagonal Numeric Matrices
abIndex-class

Class "abIndex" of Abstract Index Vectors
nsyMatrix-class

Symmetric Dense Nonzero-Pattern Matrices
Matrix

Construct a Classed Matrix
dpoMatrix-class

Positive Semi-definite Dense Numeric Matrices
abIseq

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

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

Virtual Class "denseMatrix" of All Dense Matrices
[<--methods

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

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

Symmetric Sparse Compressed Row Matrices
dsparseMatrix-class

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

Triangular Dense Logical Matrices
ldiMatrix-class

Class "ldiMatrix" of Diagonal Logical Matrices
KNex

Koenker-Ng Example Sparse Model Matrix and Response Vector
norm

Matrix Norms
dgeMatrix-class

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

Class "nMatrix" of Non-zero Pattern Matrices
[-methods

Methods for "[": Extraction or Subsetting in Package 'Matrix'
forceSymmetric

Force a Matrix to 'symmetricMatrix' Without Symmetry Checks
nearPD

Nearest Positive Definite Matrix
all-methods

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

General Sparse Matrix Construction from Nonzero Entries
nsparseMatrix-classes

Sparse "pattern" Matrices
sparse.model.matrix

Construct Sparse Design / Model Matrices
printSpMatrix

Format and Print Sparse Matrices Flexibly
expm

Matrix Exponential
symmpart

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

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

Virtual Class of Symmetric Matrices in package:Matrix
Cholesky

Cholesky Decomposition of a Sparse Matrix
qr-methods

QR Decomposition -- S4 Methods and Generic
kronecker-methods

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

Virtual Class "Matrix" Class of Matrices
LU-class

LU (dense) Matrix Decompositions
isSymmetric-methods

Methods for Function isSymmetric in Package 'Matrix'
formatSparseM

Formatting Sparse Numeric Matrices Utilities
externalFormats

Read and write external matrix formats
BunchKaufman-methods

Bunch-Kaufman Decomposition Methods
lsyMatrix-class

Symmetric Dense Logical Matrices
number-class

Class "number" of Possibly Complex Numbers
unpack

Full Storage Representation of Packed Matrices
ngeMatrix-class

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

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

Sparse QR decomposition of a sparse matrix
MatrixFactorization-class

Class "MatrixFactorization" of Matrix Factorizations
sparseMatrix-class

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

Schur Decomposition of a Matrix
sparseLU-class

Sparse LU decomposition of a square sparse matrix
xtabs

Cross Tabulation, Optionally Sparse
chol2inv-methods

Inverse from Choleski or QR Decomposition -- Matrix Methods
chol

Choleski Decomposition - 'Matrix' S4 Generic
all.equal-methods

Matrix Package Methods for Function all.equal()
USCounties

USCounties Contiguity Matrix
rcond

Estimate the Reciprocal Condition Number
Unused-classes

Virtual Classes Not Yet Really Implemented and Used
dtrMatrix-class

Triangular, dense, numeric matrices
generalMatrix-class

Class "generalMatrix" of General Matrices
rleDiff-class

Class "rleDiff" of rle(diff(.)) Stored Vectors
lsparseMatrix-classes

Sparse logical matrices
ntrMatrix-class

Triangular Dense Logical Matrices
is.na-methods

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

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

Packed triangular dense matrices
Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
TsparseMatrix-class

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

Sparse Vector Classes
diagU2N

Transform Triangular Matrices from Unit Triangular to General and back
image-methods

Methods for image() in Package 'Matrix'
rep2abI

Replicate Vectors into 'abIndex' Result
CsparseMatrix-class

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

Sparse matrices in triplet form
colSums

Form Row and Column Sums and Means
Schur-class

Class "Schur" of Schur Matrix Factorizations
lgeMatrix-class

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

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

Sparse Matrix Constructor From Triplet
atomicVector-class

Virtual Class "atomicVector" of Atomic Vectors
facmul

Multiplication by Decomposition Factors
ldenseMatrix-class

Virtual Class "ldenseMatrix" of Dense Logical Matrices
nnzero

The Number of Non-Zero Values of a Matrix
tcrossprod

Cross-product of transpose