MathGroup Archive 1993

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

Search the Archive

Re: Hold/Evaluate in Integrate


 >  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