Dear All,
I would like to define a command that expands
\vector{2,4} % or vector[2,4] if that’s easier
to
\startpmatrix
\NC 2 \NR
\NC 4 \NR
\stoppmatrix
and more generally
\vector{2,4,1,7}
to
\startpmatrix
\NC 2 \NR
\NC 4 \NR
\NC 1 \NR
\NC 7 \NR
\stoppmatrix
Any hints how to achieve this?
Thanks,