This function returns the strict half-vectorization of an input matrix as a column vector.
Usage
vechs(x)
Arguments
x
an input matrix.
Details
The half-vectorization of an input matrix consists of the elements in the lower triangle of the matrix, excluding the elements along the diagonal of the matrix, as a column vector. The column vector is created by traversing the matrix in column-major order.