Thanks very much. I totally missed the mkmat command in the manual.
Although I probably made the example too simple, I am trying to write
a program to solve for two equations in two unknowns so I am building
a partial derivative matrix for inverting. I calculate each of the 4
partials as variables and then combine them into a matrix. I was
stuck on the create matrix step. Using local macros worked as well
with a matrix command. I assume that I would need to first create two
column vectors from 2 of the four variables and then combine these
with another mkmat command.