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

matrix of coefficients?

  • To: mathgroup at christensen.cybernetics.net
  • Subject: matrix of coefficients?
  • From: Lou Talman <me at talmanl.mscd.edu>
  • Date: Wed, 26 Oct 94 09:27:20 -0600

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


> I'm doing it, but it is not a pretty sight.  

> I just have a feeling there must be some neat way to do this very >
> commonly
> needed operation.
> Thanks-  Martin McClain, Chemistry, Wayne State University, Detroit

Try:

Outer[Coefficient, exprsN, varsN]

           --Lou Talman
             Department of Mathematical Sciences
             Metropolitan State College of Denver

             ME at TALMANL.MSCD.EDU






  • Prev by Date: Re: transposing a graph
  • Next by Date: HTML Mathematica
  • Previous by thread: Re: matrix of coefficients?
  • Next by thread: notebooks from MathSource