powered by
Wvec stacks columns of the given matrix to form a vector and removes elements that are zeros.
Wvec
Wvec(W)
a vector of length \(d^2 - n_zeros\) where \(n_zeros\) is the number of zero entries in the matrix W.
W
a size \((dxd)\) square matrix to be vectorized.