|
[Date Index]
[Thread Index]
[Author Index]
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?
|