Vectorization operator that removes zeros
Wvec
stacks columns of the given matrix to form a vector and removes elements that are zeros.
Wvec(W)
W
: a size square matrix to be vectorized.a vector of length where is the number of zero entries in the matrix W
.