MathGroup Archive 1996

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

Search the Archive

Re: Coefficient in multivariate series

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3576] Re: Coefficient in multivariate series
  • From: Harald Berndt <haraldb at nature.berkeley.edu>
  • Date: Mon, 25 Mar 1996 21:35:35 -0500
  • Organization: University of California Forest Prodcts Lab
  • Sender: owner-wri-mathgroup at wolfram.com

Samuel Bengmark wrote:
> 
> I wonder if anyone out there knows how to get mathematica
> to extract a coefficient of a monomial in a multivariate to
> series or polynomial. For example how do I get mathematica to
> give me the coefficient of x*y*z^3 in (1+x+y)^2*(2+y)*(5+z)^4.


It's not very elegant, but I could'n get any simpler forms to work ... 
This will do it for you:

First[
	Select[t,
	(MemberQ[#, x] && MemberQ[#, y] && MemberQ[#, Power[z, 3]])& ]
]

Best,

-- 
______________________________________________________________________
Harald Berndt,                                University of California
Research Specialist                         Forest Products Laboratory

Phone:	510-215-4224                                FAX:			510-215-4299

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: ListContourPlot: AxesLabels? (Q)
  • Next by Date: Re: iterator strings as lists?
  • Previous by thread: Coefficient in multivariate series
  • Next by thread: Re: Coefficient in multivariate series