Re: Bug in Coefficient[ ]
- To: mathgroup at smc.vnet.net
- Subject: [mg16349] Re: [mg16283] Bug in Coefficient[ ]
- From: Andrzej Kozlowski <andrzej at tuins.ac.jp>
- Date: Thu, 11 Mar 1999 02:16:32 -0500
- Sender: owner-wri-mathgroup at wolfram.com
Your message has lead me to discover the weirdest thing I have ever seen since I started using Mathematica. I still can't believe my eyes when I see it: In[1]:= Coefficient[u*v^2,u*v^2] Out[1]= 0 In[2]:= Coefficient[v*u^2,v*u^2] Out[2]= 1 This is not a bug, this is black magic! On Sun, Mar 7, 1999, Mahoro Shimura <shimshim at mse.waseda.ac.jp> wrote: >Does anyone know why Coefficient[ ] does not work in >the follwing case? > >In[1]:= Coefficient[x[1]*x[2]^2,x[1]*x[2]^2] > >Out[1]= 0 > >Of course, this value must be 1. > >(I use Matematica Ver.3.0 for SPARC.) > >Thanks, >Mahoro Shimura >e-mail:shimshim at mse.waseda.ac.jp Andrzej Kozlowski Toyama International University JAPAN http://sigma.tuins.ac.jp/ http://eri2.tuins.ac.jp/