MathGroup Archive 2007

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

Search the Archive

Re: Coefficient...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg79664] Re: Coefficient...
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 1 Aug 2007 05:06:31 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <f8n1i0$j87$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

Select[Coefficient[fx, x], FreeQ[#, y] && FreeQ[#, z] &]

may be there is an if clause in it .. but

Coefficient[fx, x] /. a_*(y | z) :> Sequence[]

has no if clause

Regards
   Jens

Bruno Campanini wrote:
> Given fx:=ax^2 + dxy + 2cx + bcxz
> Coefficient[fx,x] gives   dy + 2c + bcz   but I only need 2c.
> 
> Without any If clause, is it possible to get Coefficient not
> to look on terms containing y or z?
> 
> Bruno
> 


  • Prev by Date: Exclusions inconsistancy
  • Next by Date: Re: Dot or Inner ... but not quite
  • Previous by thread: Re: Coefficient...
  • Next by thread: Re: Coefficient...