Re: Non copyable curves.

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Non-copyable-curves-tp12013p12022.html

On Fri, 2008-05-30 at 14:41 +0000, Simon Ibbotson - Straumur wrote:
> I did think of that, but the new functionality I submitted
> (LocalBootstrap) relies on other information than just the data vectors
> (information created during the curve-stripping process).
> I'll continue testing this - unless you've got a particular preference
> for factory classes over polymorphic cloning?

Nothing major, but the issue I have is that cloning would duplicate the
code in factory classes, and would have to be added to all
interpolations in order to cope with a single particular case (local
bootstrap and convex-monotone.) I'd rather try and adapt the single
case---for instance, could a call to ConvexMonotone::localInterpolate()
store in the interpolator the additional passed information so that it
could be retrieved after copying?

Luigi


--

Age is an issue of mind over matter. If you don't mind, it doesn't
matter.
-- Mark Twain



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev