Boost logo

Boost :

From: Dan Mcleran (dan.mcleran_at_[hidden])
Date: 2002-10-22 12:30:45

> Dan> In the case of integrating over a function, f(x), vParams is a
> Dan> containing the x values that you wish to pass into f(x). I was
> Dan> that f(x) would be a functor, or function pointer that the user
> Dan> provide along with a container of x values.

> I see. I was thinking that you just provide a functor and the x
> limits.

This would work as well. For some numerical integration algorithms, you
would also have to provide the resolution from x0....xn, i.e. the delta
between x0 and x1, x1 and x2, etc.

> What about multi-dimensional integration? Did you look at the example
> code I posted?

I did. I haven't played with it as much as I would like to yet. My
algorithms currently do not take multi-dimesional integration into account.
I'm glad you raised this point because a complete generic solution should.

Boost list run by bdawes at, gregod at, cpdaniel at, john at