Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: unexpected Simplify[] ouput

  • To: mathgroup at smc.vnet.net
  • Subject: [mg24259] Re: [mg24240] unexpected Simplify[] ouput
  • From: BobHanlon at aol.com
  • Date: Wed, 5 Jul 2000 23:10:40 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 7/4/2000 3:38:57 PM, gorni at dimi.uniud.it writes:

>With Mathematica 4:
>
>7(-1 + a) (1 + a) // FullSimplify    gives  7(-1  + a^2)
>
>8(-1 + a) (1 + a) // FullSimplify    gives  8(-1 + a) (1 + a)

SetOptions[Simplify, ComplexityFunction -> LeafCount ];

7(-1 + a) (1 + a) // Simplify

7*(-1 + a^2)

8(-1 + a) (1 + a) // Simplify

8*(-1 + a^2)

b(-1 + a) (1 + a) // Expand // Simplify

(-1 + a^2)*b

SetOptions[Simplify, ComplexityFunction -> Automatic ];


Bob Hanlon


  • Prev by Date: Re: Why doesn't Log[ E^x ] = x ?
  • Next by Date: Division still cost more than multiplication?
  • Previous by thread: Re: unexpected Simplify[] ouput
  • Next by thread: Using Block instead of Module?