Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: HoldForm[1*2*3] should give 1 x 2 x 3 not 2 x 3

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96895] Re: HoldForm[1*2*3] should give 1 x 2 x 3 not 2 x 3
  • From: "Nasser Abbasi" <nma at 12000.org>
  • Date: Thu, 26 Feb 2009 08:03:03 -0500 (EST)
  • References: <go31o6$ffv$1@smc.vnet.net>
  • Reply-to: "Nasser Abbasi" <nma at 12000.org>

"Q.E.D." <aoe at netzero.net> wrote in message 
news:go31o6$ffv$1 at smc.vnet.net...
> HoldForm[] is loosing the 1* when it apparently should not:
>
> In[1]:= HoldForm[1*2*3]
> Out[1]= 2 x 3
>

Another interesting case, is if you replace the above with

In[16]:= HoldForm[1*2*1]
Out[16]= 1 2 1

So, adding a '1' at the end, brings back the '1' at the front?

Mathematica 7.0 on Windows XP SP2

--Nasser



  • Prev by Date: About Reduce and Mod
  • Next by Date: AbsoluteOptions and ViewMatrix
  • Previous by thread: Re: HoldForm[1*2*3] should give 1 x 2 x 3 not 2 x 3
  • Next by thread: Re: HoldForm[1*2*3] should give 1 x 2 x 3 not 2 x 3