MathGroup Archive 1994

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: matrix of coefficients?


wmm at chem.wayne.edu (Martin McClain) writes:
----------------
If 
varsN = a list of N variables, 
and if
exprsN = a list of of N expressions, each one linear in the variables of
varsN,

Is there some operator (that I haven't found yet), or some clever way to
use a nonobvious operator, to get the matrix of coefficients? 
...
Thanks-  Martin McClain, Chemistry, Wayne State University, Detroit
----------------

Martin,
Table[Coefficient[exprsN[[i]],varsN[[j]]],{i,N},{j,N}]
should do the trick.

Will Self
Billings, Montana





  • Prev by Date: Re: real number -> scientific C like string
  • Next by Date: notebooks from MathSource
  • Previous by thread: RE: matrix of coefficients
  • Next by thread: Re: matrix of coefficients?