Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

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


  • Prev by Date: Re: Finding a shorter form for coplanar point in 3D space
  • Next by Date: Re: Unevaluated a[[1]]*a[[2]]
  • Previous by thread: Unevaluated a[[1]]*a[[2]]
  • Next by thread: Re: Unevaluated a[[1]]*a[[2]]