Function lupnt::Vech¶ Defined in File math_utils.h Function Documentation¶ VecX lupnt::Vech(const MatX &x)¶ Half-vectorization of a square matrix: stack the lower-triangular elements (including the diagonal) column-wise into a vector. Parameters: x – Square input matrix (size n x n) Returns: Vector of length n*(n+1)/2 containing the lower-triangular elements of x