I am a beginner of quantlib. I am trying to figure
out how to use class SimpsonIntegral. Especially, I don't know what's the
structure inside class F, which is a parameter of the operator().
Thanks
On Thu, 2006-10-26 at 19:43 -0400, Qiwen Chen wrote:
> I am a beginner of quantlib. I am trying to figure out how to use
> class SimpsonIntegral. Especially, I don't know what's the structure
> inside class F, which is a parameter of the operator(). Thanks
You can pass anything that can be called as f(). This includes plain
functions as well as instances of any class that defines an operator().
Later,
Luigi
----------------------------------------
There are two ways to write error-free programs; only the third one
works.
-- unknown