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: [mg96840] Re: HoldForm[1*2*3] should give 1 x 2 x 3 not 2 x 3
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Thu, 26 Feb 2009 07:52:50 -0500 (EST)
  • References: <go31o6$ffv$1@smc.vnet.net>

Indeed, the same happens with Hold and HoldComplete. I'd say this is a
bug.

Cheers -- Sjoerd

On Feb 25, 11:07 am, "Q.E.D." <a... at netzero.net> wrote:
> HoldForm[] is loosing the 1* when it apparently should not:
>
> In[1]:= HoldForm[1*2*3]
> Out[1]= 2 x 3
>
> In[2]:= HoldForm[1*1*1]
> Out[2]= 1 x 1 x 1
>
> In[3]:= HoldForm[3*2*1]
> Out[3]= 3 x 2
>
> In[4]:= HoldForm[2*2*2]
> Out[4]= 2 x 2 x 2
>
> In[5]:= HoldForm[2*1*3]
> Out[5]= 2 x 3
>
> In[6]:= HoldForm[1*2]
> Out[6]= 1 x 2
>
> In[7]:= HoldForm[1*2*1]
> Out[7]= 1 x 2 x 1
>
> Q.E.D.



  • Prev by Date: Re: Counting Categories
  • Next by Date: Re: Map and functional constructs to replace iterative statements
  • Previous by thread: Re: HoldForm[1*2*3] should give 1 x 2 x 3 not 2 x 3
  • Next by thread: Counting Categories