Wikipedia / Duplication and elimination matrices
Wikipedia / Duplication and elimination matrices
In mathematics, especially in linear algebra and matrix theory, the duplication matrix and the elimination matrix are linear transformations used for transforming half-vectorizationss of matrices into vectorizations or (respectively) vice versa.
Duplication matrix
.
, this transformation reads
matrix is:
Where:
and 0 elsewhere;
and zero elsewhere
Here is a C++ function using Armadillo (C++ library):
Elimination matrix
:
.
By the explicit (constructive) definition given by is given by
.
Here is a C++ function using Armadillo (C++ library):
, one choice for this transformation is given by
.
Notes
References
.
Jan R. Magnus and Heinz Neudecker (1988), Matrix Differential Calculus with Applications in Statistics and Econometrics, Wiley. .
Jan R. Magnus (1988), Linear Structures, Oxford University Press.