Virtual Class "MatrixFactorization" of Matrix Factorizations
Virtual Class "MatrixFactorization" of Matrix Factorizations
MatrixFactorization is the virtual class of factorizations of m−by−n matrices A, having the general form [REMOVE_ME]P1AP2=A1⋯ApP1∗A∗P2=A1∗...∗Ap[REMOVEME2]
or (equivalently) [REMOVE_ME]A=P1′A1⋯ApP2′A=P1′∗A1∗...∗Ap∗P2′[REMOVEME2]
where P1 and P2 are permutation matrices. Factorizations requiring symmetric A have the constraint P2=P1′, and factorizations without row or column pivoting have the constraints P1=Im and P2=In, where Im and In are the m−by−m and n−by−n identity matrices.
CholeskyFactorization, BunchKaufmanFactorization, SchurFactorization, LU, and QR are the virtual subclasses of MatrixFactorization containing all Cholesky, Bunch-Kaufman, Schur, LU, and QR factorizations, respectively.
class
Description
MatrixFactorization is the virtual class of factorizations of m−by−n matrices A, having the general form
P1AP2=A1⋯ApP1∗A∗P2=A1∗...∗Ap
or (equivalently)
A=P1′A1⋯ApP2′A=P1′∗A1∗...∗Ap∗P2′
where P1 and P2 are permutation matrices. Factorizations requiring symmetric A have the constraint P2=P1′, and factorizations without row or column pivoting have the constraints P1=Im and P2=In, where Im and In are the m−by−m and n−by−n identity matrices.
CholeskyFactorization, BunchKaufmanFactorization, SchurFactorization, LU, and QR are the virtual subclasses of MatrixFactorization containing all Cholesky, Bunch-Kaufman, Schur, LU, and QR factorizations, respectively.
Slots
Dim: an integer vector of length 2 giving the dimensions of the factorized matrix.
Dimnames: a list of length 2 preserving the dimnames of the factorized matrix. Each element must be NULL or a character vector of length equal to the corresponding element of Dim.
Methods
determinant: signature(x = "MatrixFactorization", logarithm = "missing"): sets logarithm = TRUE and recalls the generic function.