MathGroup Archive 1994

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

Search the Archive

RE: matrix of coefficients


In response to Martin McClain who writes:

>Dear mathgroupers:
>
>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?

Try:

  Outer[Coefficient,exprsN,varsN]

This is not very "nonobvious" so I guess many other people will suggest it.

Jon Selig





  • Prev by Date: Arrowheads in plots
  • Next by Date: Re: real number -> scientific C like string
  • Previous by thread: Arrowheads in plots
  • Next by thread: Re: matrix of coefficients?