expression M | a matrix for which the column is being set. |
expression i | the zero based column index |
vector col | the vector representation of the column |
nerdamer.setVar('M', 'matrix([x,y],[a,b])');
var M2 = nerdamer('matsetcol(M, 0, [[1],[2]])');
console.log(M2.toString());