Covariance vech function
This function returns the half-vectorization of an input matrix as a column vector.
covar_vech(mat)
mat
n x n
A (n+1)*n/2 column vector.
(n+1)*n/2
Useful links