Hi,
I need to generate a skew symmetric matrix from some weights. It would suffice to generate an upper triangular matrix A from the weights, since then
S = A - A.t()

would do the trick. The hard part is generating the matrix A from a vector, i.e. [x,y,z] to
0,x,y
0,0,z
0,0,0
and similarly for longer vectors.
Any ideas for how to do this?