unWvec: Reverse vectorization operator that restores zeros
Description
unWvec
forms a square matrix from a vector of
stacked columns where zeros are removed according to impact
matrix constraints.
Usage
unWvec(Wvector, d, B_constraints)
Value
a \((d x d)\) impact matrix \(W\).
Arguments
- Wvector
a length \(d^2 - n_zeros\) vector where \(n_zeros\) is the
number of zero entries in the impact matrix.
- d
the number of rows in the square matrix to be formed.