# mat

function mat<Type>(x:Type[_], columns:Integer) -> Type[_,_]

Matrixize a vector by unstacking it into columns. This is the inverse operation of vec().

• x: The vector.
• columns: The number of columns. Must be a factor of the length of x.