MathGroup Archive 2012

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

Search the Archive

Re: Rearranging terms - user-defined

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127171] Re: Rearranging terms - user-defined
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Wed, 4 Jul 2012 03:30:09 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

On 7/2/12 at 10:20 PM, Alexei.Boulbitch at iee.lu (Alexei Boulbitch)
wrote:

>Well, in my opinion the best way is:

>a + b x - b y + O[x, y]^2 // Normal

>a+b (x-y)

>Dear Andrzej,

>That is a nice method. Could you please kindly comment, what stays
>behind.

What stays behind is just what is needed to express a+b(x-y) as
can be seen from:

In[1]:= a + b x - b y + O[x, y]^2 // Normal

Out[1]= a+b (x-y)

In[2]:= % // FullForm

Out[2] Plus[a,Times[b,Plus[x,Times[-1,y]]]]




  • Prev by Date: Re: how to export to Excel in Mathematica from a Parametricplot command
  • Next by Date: Re: Evaluate code fragment without making new cell for it?
  • Previous by thread: Re: Rearranging terms - user-defined
  • Next by thread: Re: Rearranging terms - user-defined