MathGroup Archive 1994

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

Search the Archive

Re: matrix of coefficents

  • To: mathgroup at christensen.cybernetics.net
  • Subject: Re: matrix of coefficents
  • From: merx at ws02.pc.chemie.th-darmstadt.de (Hendrik Merx)
  • Date: Tue, 25 Oct 94 13:55:35 +0100

Dear MathGroup !

wmm at chem.wayne.edu (Martin McClain) wrote:

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

You should try the Jacobian matrix which is the matrix of derivatives of
all expressions to all variables. It's in the Mathematica book in the
Tour through Mathematica, section 9. Programming ( p. 12 in the german
edition):

Jacobi[funs_List, vars_List] := Outer[D, funs, vars]

Hope this helps

Hendrik

merx at pc.chemie.th-darmstadt.de







  • Prev by Date: Re: function definition
  • Next by Date: Re: a problem with an array
  • Previous by thread: notebooks from MathSource
  • Next by thread: Re: a problem with an array