powered by
unvec forms a square matrix from a vector of stacked columns, stacked by vec.
unvec
vec
unvec(d, a)
a matrix of size (dxd).
the number of rows in the square matrix to be formed.
a size (d2x1) vector to be unvectorized into a (dxd) matrix.