Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (1.7-2) of this package.
Take me there.
Matrix (version 1.2-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
Link to current version
Version
Version
1.7-2
1.7-1
1.7-0
1.6-5
1.6-4
1.6-3
1.6-2
1.6-1.1
1.6-1
1.6-0
1.5-4.1
1.5-4
1.5-3
1.5-1
1.5-0
1.4-1
1.4-0
1.3-4
1.3-3
1.3-2
1.3-0
1.2-18
1.2-17
1.2-16
1.2-15
1.2-14
1.2-13
1.2-12
1.2-11
1.2-10
1.2-8
1.2-7.1
1.2-7
1.2-6
1.2-5
1.2-4
1.2-3
1.2-2
1.2-1
1.2-0
1.1-5-1
1.1-4
1.1-3
1.1-2-2
1.1-1.1
1.1-0
1.0-14
1.0-13
1.0-12
1.0-11
1.0-10
1.0-9
1.0-6
1.0-5
1.0-4
1.0-3
1.0-2
1.0-1
1.0-0
0.9996875-3
0.9996875-2
0.9996875-1
0.999375-50
0.999375-49
0.999375-48
0.999375-47
0.999375-46
0.999375-45
0.999375-44
0.999375-43
0.999375-42
0.999375-41
0.999375-40
0.999375-39
0.999375-38
0.999375-37
0.999375-36
0.999375-35
0.999375-33
0.999375-32
0.999375-31
0.999375-30
0.999375-29
0.999375-28
0.999375-27
0.999375-26
0.999375-25
0.999375-24
0.999375-23
0.999375-22
0.999375-21
0.999375-20
0.999375-19
0.999375-18
0.999375-17
0.999375-16
0.999375-15
0.999375-14
0.999375-13
0.999375-11
0.999375-10
0.999375-9
0.999375-8
0.999375-7
0.999375-6
0.999375-5
0.999375-4
0.999375-3
0.999375-2
0.999375-1
0.999375-0
0.99875-2
0.99875-1
0.99875-0
0.9975-11
0.9975-10
0.9975-9
0.9975-8
0.9975-7
0.9975-6
0.9975-5
0.9975-3
0.9975-2
0.9975-1
0.9975-0
0.995-20
0.995-19
0.995-18
0.995-16
0.995-15
0.995-14
0.995-13
0.995-12
0.995-11
0.995-10
0.995-8
0.995-7
0.995-6
0.995-5
0.995-4
0.995-2
0.995-1
0.99-6
0.99-4
0.99-3
0.99-2
0.99-1
0.98-7
0.98-5
0.98-3
0.98-2
0.98-1
0.97-4
0.97-3
0.97-2
0.97-1
0.96-3
0.96-2
0.96-1
0.95-13
0.95-12
0.95-11
0.95-10
0.95-9
0.95-8
0.95-7
0.95-6
0.95-5
0.95-4
0.95-3
0.95-2
0.95-1
0.9-1
0.8-22
0.8-21
0.8-19
0.8-17
0.8-16
0.8-15
0.8-14
0.8-13
0.8-12
0.8-11
0.8-10
0.8-9
0.8-8
0.8-7
0.8-6
0.8-5
0.8-4
0.8-3
0.8-2
0.3-26
0.3-25
0.3-24
0.3-23
0.3-22
0.3-21
0.3-20
0.3-19
0.3-18
0.3-17
0.3-16
0.3-15
0.3-13
0.3-10
0.3-9
0.3-8
0.3-7
0.3-6
0.3-5
0.3-3
0.3-1
0.2-4
0.2-1
Install
install.packages('Matrix')
Monthly Downloads
74,588
Version
1.2-0
License
GPL (>= 2)
Maintainer
Martin Maechler
Last Published
April 4th, 2015
Functions in Matrix (1.2-0)
Search all functions
chol
Choleski Decomposition - 'Matrix' S4 Generic and Methods
condest
Compute Approximate CONDition number and 1-Norm of (Large) Matrices
dgeMatrix-class
Class "dgeMatrix" of Dense Numeric (S4 Class) Matrices
rleDiff-class
Class "rleDiff" of rle(diff(.)) Stored Vectors
Schur-class
Class "Schur" of Schur Matrix Factorizations
externalFormats
Read and write external matrix formats
abIseq
Sequence Generation of "abIndex", Abstract Index Vectors
all.equal-methods
Matrix Package Methods for Function all.equal()
diagU2N
Transform Triangular Matrices from Unit Triangular to General and back
sparse.model.matrix
Construct Sparse Design / Model Matrices
Cholesky-class
Cholesky and Bunch-Kaufman Decompositions
MatrixFactorization-class
Class "MatrixFactorization" of Matrix Factorizations
abIndex-class
Class "abIndex" of Abstract Index Vectors
CAex
Albers' example Matrix with "Difficult" Eigen Factorization
band
Extract bands of a matrix
LU-class
LU (dense) Matrix Decompositions
dgRMatrix-class
Sparse Compressed, Row-oriented Numeric Matrices
dgTMatrix-class
Sparse matrices in triplet form
dMatrix-class
(Virtual) Class "dMatrix" of "double" Matrices
drop0
Drop "Explicit Zeroes" from a Sparse Matrix
expand
Expand a Decomposition into Factors
dsCMatrix-class
Numeric Symmetric Sparse (column compressed) Matrices
nsyMatrix-class
Symmetric Dense Nonzero-Pattern Matrices
generalMatrix-class
Class "generalMatrix" of General Matrices
ntrMatrix-class
Triangular Dense Logical Matrices
nearPD
Nearest Positive Definite Matrix
ngeMatrix-class
Class "ngeMatrix" of General Dense Nonzero-pattern Matrices
solve-methods
Methods in Package Matrix for Function
solve()
index-class
Virtual Class "index" - Simple Class for Matrix Indices
TsparseMatrix-class
Class "TsparseMatrix" of Sparse Matrices in Triplet Form
cBind
Versions of 'cbind' and 'rbind' recursively built on cbind2/rbind2
dtpMatrix-class
Packed Triangular Dense Matrices - "dtpMatrix"
isTriangular
isTriangular() and isDiagonal() Methods
BunchKaufman-methods
Bunch-Kaufman Decomposition Methods
isSymmetric-methods
Methods for Function isSymmetric in Package 'Matrix'
sparseMatrix
General Sparse Matrix Construction from Nonzero Entries
is.null.DN
Are the Dimnames
dn
NULL-like ?
sparseQR-class
Sparse QR decomposition of a sparse matrix
Unused-classes
Virtual Classes Not Yet Really Implemented and Used
CsparseMatrix-class
Class "CsparseMatrix" of Sparse Matrices in Column-compressed Form
invPerm
Inverse Permutation Vector
kronecker-methods
Methods for Function 'kronecker()' in Package 'Matrix'
Hilbert
Generate a Hilbert matrix
nnzero
The Number of Non-Zero Values of a Matrix
all-methods
"Matrix" Methods for Functions all() and any()
rep2abI
Replicate Vectors into 'abIndex' Result
denseMatrix-class
Virtual Class "denseMatrix" of All Dense Matrices
dtRMatrix-class
Triangular Sparse Compressed Row Matrices
rankMatrix
Rank of a Matrix
dtCMatrix-class
Triangular, (compressed) sparse column matrices
qr-methods
QR Decomposition -- S4 Methods and Generic
lu
(Generalized) Triangular Decomposition of a Matrix
sparseMatrix-class
Virtual Class "sparseMatrix" --- Mother of Sparse Matrices
unpack
Representation of Packed and Unpacked (Dense) Matrices
ldenseMatrix-class
Virtual Class "ldenseMatrix" of Dense Logical Matrices
facmul
Multiplication by Decomposition Factors
USCounties
USCounties Contiguity Matrix
Matrix
Construct a Classed Matrix
norm
Matrix Norms
bdiag
Construct a Block Diagonal Matrix
diagonalMatrix-class
Class "diagonalMatrix" of Diagonal Matrices
symmpart
Symmetric Part and Skew(symmetric) Part of a Matrix
SparseM-conversions
Sparse Matrix Coercion from and to those from package "SparseM"
CHMfactor-class
CHOLMOD-based Cholesky Factorizations
KNex
Koenker-Ng Example Sparse Model Matrix and Response Vector
graph-sparseMatrix
Conversions "graph" <--> (sparse) Matrix
colSums
Form Row and Column Sums and Means
sparseVector-class
Sparse Vector Classes
%&%-methods
Boolean Arithmetic Matrix Products:
%&%
and Methods
KhatriRao
Khatri-Rao Matrix Product
chol2inv-methods
Inverse from Choleski or QR Decomposition -- Matrix Methods
ltrMatrix-class
Triangular Dense Logical Matrices
compMatrix-class
Class "compMatrix" of Composite (Factorizable) Matrices
image-methods
Methods for image() in Package 'Matrix'
matrix-products
Matrix (Cross) Products (of Transpose)
dgCMatrix-class
Compressed, sparse, column-oriented numeric matrices
lsyMatrix-class
Symmetric Dense Logical Matrices
triangularMatrix-class
Virtual Class of Triangular Matrices in Package Matrix
dsparseMatrix-class
Virtual Class "dsparseMatrix" of Numeric Sparse Matrices
pMatrix-class
Permutation matrices
Cholesky
Cholesky Decomposition of a Sparse Matrix
number-class
Class "number" of Possibly Complex Numbers
Matrix-class
Virtual Class "Matrix" Class of Matrices
replValue-class
Virtual Class "replValue" - Simple Class for subassignment Values
symmetricMatrix-class
Virtual Class of Symmetric Matrices in Package Matrix
Schur
Schur Decomposition of a Matrix
uniqTsparse
Unique TsparseMatrix Representations
bandSparse
Construct Sparse Banded Matrix from (Sup-/Super-) Diagonals
dpoMatrix-class
Positive Semi-definite Dense Numeric Matrices
updown
Up- and Down-Dating a Cholesky Decomposition
formatSparseM
Formatting Sparse Numeric Matrices Utilities
is.na-methods
is.na(), is.{in}finite() Methods for 'Matrix' Objects
rcond
Estimate the Reciprocal Condition Number
Diagonal
Create Diagonal Matrix Object
[<--methods
Methods for "[<-" - Assigning to Subsets for 'Matrix'
atomicVector-class
Virtual Class "atomicVector" of Atomic Vectors
dsyMatrix-class
Symmetric Dense Numeric Matrices
ddenseMatrix-class
Virtual Class "ddenseMatrix" of Numeric Dense Matrices
dsRMatrix-class
Symmetric Sparse Compressed Row Matrices
ldiMatrix-class
Class "ldiMatrix" of Diagonal Logical Matrices
ndenseMatrix-class
Virtual Class "ndenseMatrix" of Dense Logical Matrices
rsparsematrix
Random Sparse Matrix
sparseLU-class
Sparse LU decomposition of a square sparse matrix
sparseVector
Sparse Vector Construction from Nonzero Entries
RsparseMatrix-class
Class "RsparseMatrix" of Sparse Matrices in Column-compressed Form
forceSymmetric
Force a Matrix to 'symmetricMatrix' Without Symmetry Checks
lsparseMatrix-classes
Sparse logical matrices
spMatrix
Sparse Matrix Constructor From Triplet
ddiMatrix-class
Class "ddiMatrix" of Diagonal Numeric Matrices
nMatrix-class
Class "nMatrix" of Non-zero Pattern Matrices
printSpMatrix
Format and Print Sparse Matrices Flexibly
[-methods
Methods for "[": Extraction or Subsetting in Package 'Matrix'
expm
Matrix Exponential
indMatrix-class
Index Matrices
lgeMatrix-class
Class "lgeMatrix" of General Dense Logical Matrices
nsparseMatrix-classes
Sparse "pattern" Matrices