|
From: Joseph W. <jo...@co...> - 2005-11-15 18:26:11
|
Luigi Ballabio wrote: > > On 11/15/2005 05:15:09 AM, Joseph Wang wrote: > >> 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. > > > Joe, > the extrapolation parameter is optional, so the interpolations > can be used as a unary function. In what way it doesn't work? Is it > because you do want to pass the parameter? > It's because I want to set extrapolate to true. At first I thought it would be easy to add it to C++ class, but that would break the bridge pattern. > Later, > Luigi > > > ---------------------------------------- > > Olmstead's Law: > After all is said and done, a hell of a lot more is said > than done. |