Re: HoldForm Question
- To: mathgroup at smc.vnet.net
- Subject: [mg41356] Re: HoldForm Question
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 16 May 2003 06:40:17 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <b9viur$e0i$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, RelpaceAll[] is not a evaluation and MatrixForm[ Table[HoldForm[(2*Pi*rr*cc)/8] /. {rr -> r, cc -> c}, {r, 0, 7}, {c, 0, 7}]] may help you. Regards Jens Dana DeLouis wrote: > > Hello. Could someone point me in the right direction on the use of > Hold? I cannot seem to find a solution. > > In this simple table, I would like to first substitute the values of r & > c, but then not reduce the equation. > > MatrixForm[Table[HoldForm[(2*Pi*r*c)/8], {r, 0, 7}, {c, 0, 7}]] > > Here, I get a table of all "2 Pi r c / 8" > > This is close, but I would like the r's and c's to have the appropriate > values. > > I would like "2 Pi 0 0 / 8", "2 Pi 0 1 / 8"....etc > > I have gone thru all the Hold functions without much luck. > I could not find anything in the achieves either. > > InputForm[Names["Hold*"]] > > {"Hold", "HoldAll", "HoldAllComplete", "HoldComplete", "Holdfirst", > "HoldFirst", "HoldForm", "HoldPattern", "HoldRest"} > > Thank you very much for your help. > > -- > Dana > Windows XP > $VersionNumber -> 4.2 > = = = = = = = = = = = = = = = = =