Have you tried vectorizing the inner function?
Hint: integrate() calls the integrand vectorwise...
in your example,
integrate(Vectorize(f),lower=1,upper=2)
should do what you expected.
Best,
Peter
Eddy H. G. Bekkers wrote:
>
> Hi,
>
> Could somebody help me with the following. I want
Hi,
Could somebody help me with the following. I want to calculate the integral
over an implicit function. I thought to integrate over a function depending on
uniroot. In previous topics I found a thread about finding the root of an
integral. And that works. But the other way around, does not w
2 matches
Mail list logo