Skip to main content
Tweeted twitter.com/#!/StackMma/status/165448863057055745

For mcolmcol you could use MapThreadMapThread, which I would think would be better than transposing twice. So the following gives you what you want.

mcol = MapThread[Prepend, {m, v}]

mcol = MapThread[Prepend, {m, v}]

For mcol you could use MapThread, which I would think would be better than transposing twice. So the following gives what you want.

mcol = MapThread[Prepend, {m, v}]

For mcol you could use MapThread, which I would think would be better than transposing twice. So the following gives you what you want.

mcol = MapThread[Prepend, {m, v}]
Source Link
Adam Berry
  • 324
  • 1
  • 2

For mcol you could use MapThread, which I would think would be better than transposing twice. So the following gives what you want.

mcol = MapThread[Prepend, {m, v}]