I have an integral of a term which first needs some massaging, e.g. (EDIT: Made the integral in such a way that it cannot be pulled out)
Integrate[f[x](Integrate[g[x,y],{y,0,x}]*Integrate[h[x,y],{y,-1,0.3x}]),x] where f[x]=Sum[a[i] T[i, x], {i, 0, 10}] and g[x,y]=Sum[a[i,j] T[i, x] T[j, y], {i, 0, 10}, {j, 0, 10}] (Similarly h). I wrote it in this way to reference Truncation by coefficient size .
The coefficients are numerical and I will, after taking their product, chop the products of coefficients after a certain size. After this has been done I want to replace T by the actual functions and evaluate the integrals.
Doing this using Hold does not produce the desired result, since Chopof a product won't work unless expanded, however Holdprecisely forbids the product to expand. And I also have two Holdsif I naively just put hold around the Integrate.
How would I best proceed? Any way to tell Mathematica that I want only the Integrate to evaluate last, but still be able to take products and other operations on the integrands?
Inactiveinstead ofHold? $\endgroup$Inactivetoday and come back to you. Thanks for the hint, looks promising. @Domen $\endgroup$