MathGroup Archive 2009

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

Search the Archive

Simplify

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98659] Simplify
  • From: dh <dh at metrohm.com>
  • Date: Wed, 15 Apr 2009 05:02:06 -0400 (EDT)


Hi,

can somebody explain, why

Simplify[x^2/y^2,ComplexityFunction->LeafCount]

does not simplify to (x/y)^2, although the LeafCount is:

LeafCount[Hold[x^2/y^2]] gives 10

and

LeafCount[Hold[(x/y)^2]] gives 8



Daniel




  • Follow-Ups:
  • Prev by Date: hyperlink problem in a ActionMenu
  • Next by Date: Plotting a x,y,z function
  • Previous by thread: Re: hyperlink problem in a ActionMenu
  • Next by thread: Re: Simplify