Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1994
*January
*February
*March
*April
*May
*June
*July
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1994

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

Search the Archive

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





  • 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?