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