RE: Unevaluated a[[1]]*a[[2]]
- To: mathgroup at smc.vnet.net
- Subject: [mg65170] RE: [mg65165] Unevaluated a[[1]]*a[[2]]
- From: Hartmut.Wolf at t-systems.com
- Date: Thu, 16 Mar 2006 06:22:42 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
> -----Original Message----- > From: Alexandre Costa [mailto:amscosta at uem.br] To: mathgroup at smc.vnet.net > Subject: [mg65170] [mg65165] Unevaluated a[[1]]*a[[2]] > > Dear Group, > Suppose I have a = {0.1245, 0.543}; > I want to check the values of the product: > a[[1]]*a[[2]]. So I just want to see the product unevaluated > as output: > 0.1245*0.543. > Thanks, > Alex > > Alex, could you be content with In[18]:= Times @@ HoldForm /@ a // FortranForm Out[18]//FortranForm= 0.1245*0.543 In[19]:= % // ReleaseHold Out[19]= 0.0676035 -- Hartmut