matrix of coefficients ANSWER

*To*: mathgroup at christensen.cybernetics.net*Subject*: matrix of coefficients ANSWER*From*: wmm at chem.wayne.edu (Martin McClain)*Date*: Tue, 25 Oct 94 20:57:47 EDT

Many thanks to all the people who replied so rapidly to my question, which was (nearly): "If varsN is a list of N variables, and if exprsM is a list of of M expressions, each one linear in the variables of varsN, what is the neatest way to extract the matrix of coefficients?" I doubt that anyone can surpass the answer by Richard Mercer: Outer[Coefficient, exprsN, varsM] Many thanks, Richard. There were other good ones too, but this one requires no foreknowledge of N or M, and uses no indices. Great!