MathGroup Archive 2008

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

Search the Archive

Re: A interesting case


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]


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