50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

sstvars (version 1.2.0)

unvec: Reverse vectorization operator

Description

unvec forms a square matrix from a vector of stacked columns, stacked by vec.

Usage

unvec(d, a)

Value

a matrix of size (dxd).

Arguments

d

the number of rows in the square matrix to be formed.

a

a size (d2x1) vector to be unvectorized into a (dxd) matrix.