MathGroup Archive 2008

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

Search the Archive

Re: A interesting case

  • To: mathgroup at smc.vnet.net
  • Subject: [mg91981] Re: A interesting case
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 16 Sep 2008 19:21:45 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <gal3j9$e0k$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

because 1/a^n is Power[a,-n] and
k/a^n is Times[k,Power[a,-n]] it would be
nonsense to store Times[1,Power[a,-n]] in the
first case and Times[1,q__] simplify to Times[q]

Regards
   Jens

Miguel wrote:
> I have spent work hours with this case.
> 
> ToString[#,InputForm]&/@{1/a^2,2/a^2,3/a^2}
> {a^(-2),2/a^2,3/a^2}
> 
> When the numerator of a rational element is 1, the structure string is
> diferent. Why?
> 


  • Prev by Date: imagesize to full width of current screen
  • Next by Date: Re: eliminate values while caculating Mean[data]
  • Previous by thread: A interesting case
  • Next by thread: Re: A interesting case