Re: Unevaluated a[[1]]*a[[2]]
- To: mathgroup at smc.vnet.net
- Subject: [mg65171] Re: [mg65165] Unevaluated a[[1]]*a[[2]]
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Thu, 16 Mar 2006 06:22:43 -0500 (EST)
- References: <200603160459.XAA12176@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
On 16 Mar 2006, at 05:59, Alexandre Costa wrote:
> 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
>
>
In[4]:=
a = {0.1245, 0.543};
Times@@(HoldForm/@a)
Out[5]=
0.1245 0.543
In[6]:=
ReleaseHold[%]
Out[6]=
0.0676035
Andrzej Kozlowski
- References:
- Unevaluated a[[1]]*a[[2]]
- From: "Alexandre Costa" <amscosta@uem.br>
- Unevaluated a[[1]]*a[[2]]