vech: Parsimonious vectorization operator for symmetric matrices

View source: R/matcal.R

vechR Documentation

Parsimonious vectorization operator for symmetric matrices

Description

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

Usage

vech(A)

Arguments

A

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

Value

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

Warning

No argument checks!


saviviro/gmvarkit documentation built on March 8, 2024, 4:15 a.m.