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

MathGroup Archive 2009

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96821] HoldForm[1*2*3] should give 1 x 2 x 3 not 2 x 3
  • From: "Q.E.D." <aoe at netzero.net>
  • Date: Wed, 25 Feb 2009 04:07:47 -0500 (EST)

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: Inverse of a Big Matrix
  • Next by Date: Counting Categories
  • Previous by thread: Re: Inverse of a Big Matrix
  • Next by thread: Re: HoldForm[1*2*3] should give 1 x 2 x 3 not 2 x 3