Reverse vectorization operator
unvec
forms a square matrix from a vector of stacked columns, stacked by vec
.
unvec(d, a)
d
: the number of rows in the square matrix to be formed.a
: a size vector to be unvectorized into a matrix.a matrix of size .