Interpolator semantics
Posted by Joseph Wang on
URL: http://quantlib.414.s1.nabble.com/Interpolator-semantics-tp10936.html
I'd like to use the interpolation classes as functors, but it seems to
be difficult because the operator takes both a the domain variable and
an allowExtrapolation. I could try using bind2nd but I don't think that
there is an adaptable typedef there.
Any ideas?
(The context is that I'm going through the finite differencing code and
trying to replace for loops with STL transform functions.)