Vectorization operator
vec stacks columns of the given matrix to form a vector.
vec
vec(A)
A
a vector of size (d2x1)(d^2x1)(d2x1).
Useful links