dvech: Diagonal vectorization
Description
Diagonal vectorization of the upper triangular matrix
Usage
dvech(X, a, d, p, inc_diag)
Arguments
- X
quadratic matrix which should be diagonalized
- a
vector containing the indices which belong to the diagonal of the
matrix
- d
dimension of the matrix which should be vectorized
- p
dimension of the vectorized matrix
- inc_diag
TRUE or FALSE: should the diagonal be included?