vech function

Parsimonious vectorization operator for symmetric matrices

Parsimonious vectorization operator for symmetric matrices

vech stacks columns of the given matrix from the principal diagonal downwards (including elements on the diagonal) to form a vector.

vech(A)

Arguments

  • A: a size (dxd)(dxd) symmetric matrix to be vectorized parsimoniously.

Returns

a vector of size (d(d+1)/2x1)(d(d+1)/2x1).

  • Maintainer: Savi Virolainen
  • License: GPL-3
  • Last published: 2025-02-27