MathGroup Archive 1993

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

Search the Archive

Re: Hold/Evaluate in Integrate

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: Re: Hold/Evaluate in Integrate
  • From: Richard Mercer <richard at rmercer.wright.edu>
  • Date: Fri, 10 Dec 1993 16:41:13 -0500

 >  Can anyone tell me why
>  

>  Hold[Integrate[Evaluate[x+x], x]]
>  

>  returns
>  

>  Hold[Integrate[Evaluate[x+x],x]]
>  

>  not Hold[Integrate[2x, x]]?
>  

>  I want to force evaluation of the arguments to Integrate
>  but not evaluate the integral.
>  

>  Thanks in advance.
>  

>  Daryl (dreece at cad.gatech.edu)

No mystery here. Hold[] prevents anything from going on inside it.

My guess is you want 

Integrate[Hold[Evaluate[x+x]], x], which returns
Integrate[Hold[2x], x].

Richard Mercer





  • Prev by Date: Parsing a string within a block using ToExpression
  • Next by Date: Rules for MPS format
  • Previous by thread: Re: Hold/Evaluate in Integrate
  • Next by thread: Re: Hold/Evaluate in Integrate