MathGroup Archive 2003

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

Search the Archive

HoldForm Question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41351] HoldForm Question
  • From: "Dana DeLouis" <delouis at bellsouth.net>
  • Date: Thu, 15 May 2003 04:07:57 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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
= = = = = = = = = = = = = = = = = 




  • Prev by Date: Re: Apart, Factor on different operations
  • Next by Date: Mathematica output
  • Previous by thread: Re: Help using variables with subscripts
  • Next by thread: RE: HoldForm Question