Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: PC auto-simplifies output, but mac doesn't

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125720] Re: PC auto-simplifies output, but mac doesn't
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Fri, 30 Mar 2012 04:32:11 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201203290758.CAA21741@smc.vnet.net> <4F74644E.8010009@math.umass.edu> <CABcK+QWUwckLzqCOuGxj2OVdd0fnBtjQwKa2gbVwT3Mn2Gn=Hw@mail.gmail.com>
  • Reply-to: murray at math.umass.edu

To have Simplify act upon every output, set the global variable $Post:

   $Post = Simplify;

Then, for example, evaluating

   x^2 + 2x y + y^2

will produce output:

   (x + y)^2

But do you _really_ want to simplify everything? Especially since that 
can cause a time penalty, something I should think you'd want to avoid 
while using Mathematica for note-taking.

To unset $Post, do this:

   $Post = .




On 3/29/12 9:42 AM, Peter Russo wrote:
> I figured that there shouldn't be a difference. The person on the PC must
> have accidentally set it to simplify without knowing it. How do you get
> Simplify to be applied to all outputs? That could be very useful, but I
> haven't been able to find it anywhere. Thanks
>
> On Thu, Mar 29, 2012 at 9:31 AM, Murray Eisenberg<murray at math.umass.edu>wrote:
>
>> There really should not be any difference between the two platforms --
>> unless possibly the expressions involved floating point reals.
>>
>> It is possible to cause Simplify to be applied to each and every output,
>> but there would be utterly no difference as to how a PC and a Mac would be
>> set by default.
>>
>> On 3/29/12 3:58 AM, peter.russo at gmail.com wrote:
>>
>>> In a class at my school, our professor gave us an example problem to try.
>>> The output is a long complicated expression, but when "Simplify[]" is used,
>>> it reduces to 0. Several people with macs all tried it, and we all got the
>>> same thing. However, one person with a PC tried it and their original
>>> output was simplified to 0. Is this an option that can be turned on on
>>> Macs, to auto-simplify the output? Thanks
>>>
>>>
>> --
>> Murray Eisenberg                     murray at math.umass.edu
>> Mathematics&  Statistics Dept.
>> Lederle Graduate Research Tower      phone 413 549-1020 (H)
>> University of Massachusetts                413 545-2859 (W)
>> 710 North Pleasant Street            fax   413 545-1801
>> Amherst, MA 01003-9305
>>
>
>
>

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305



  • Prev by Date: Re: Schaums outline Mathematica 2nd ed, prob. 11.3 help
  • Next by Date: Re: PC auto-simplifies output, but mac doesn't
  • Previous by thread: Re: PC auto-simplifies output, but mac doesn't
  • Next by thread: Re: PC auto-simplifies output, but mac doesn't