Reverse vectorization operator that restores zeros
unWvec
forms a square matrix from a vector of stacked columns where zeros are removed according to impact matrix constraints.
unWvec(Wvector, d, B_constraints)
Wvector
: a length vector where is the number of zero entries in the impact matrix.d
: the number of rows in the square matrix to be formed.a impact matrix .