svec
Svec, short for symmetric vectorization, is an operator used in linear algebra and optimization to convert a symmetric matrix into a vector. It is designed to preserve the inner product structure between symmetric matrices and their vector representations, which is particularly useful in semidefinite programming and related fields.
Given an n by n symmetric matrix A, svec(A) is a vector in R^{n(n+1)/2} formed by stacking
Relationship to other vectorizations
Svec is related to the ordinary vec operator, which stacks all columns of a matrix without weighting
Svec is widely used in semidefinite programming, matrix completion, and other convex optimization problems where constraints
Numerous optimization toolboxes and libraries implement svec, sometimes under names like “symmetric vectorization.” It is a