Re: matrix of coefficients?
- To: mathgroup at christensen.cybernetics.net
- Subject: Re: matrix of coefficients?
- From: wself at viking.emcmt.edu (Will Self)
- Date: Mon, 24 Oct 94 15:21:04 -0600
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