First time here? Check out the FAQ!
answered 2019-04-10 23:26:02 +0100
Another option: if v is a matrix of any shape with $3^2$ entries, then v.list() will list those entries. So then you can do matrix(3, 3, v.list()) to turn v into a 3 by 3 matrix.
v
v.list()
matrix(3, 3, v.list())