Posted by
Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/YieldTermStructureHandle-via-SWIG-tp14726p14729.html
Hi,
InterpolatedZeroCurve is a template and can't be exported as such.
Right now the SWIG module exports the ZeroCurve class, which is
InterpolatedZeroCurve<Linear>. If you need a different interpolations,
you can edit QuantLib-SWIG/SWIG/zerocurve.i and add it at the end in
the same way as Linear was.
Luigi
On Thu, Dec 12, 2013 at 5:12 PM, smazzucca <
[hidden email]> wrote:
> I am trying to populate Bond properties by setting the price engine to
> DiscountingBondEngine.
>
> In order to do this I need to pass a YieldTermStructureHandle.
>
> I can instantiate a YieldTermStructureHandle by passing a FlatForward
> instance, but the numbers don't match the R sample we are using.
>
> We want to try by passing an InterpolatedZeroCurve instead of a FlatForward,
> but I see it's not available.
>
> Is there a way to have SWIG expose that ?
>
> Thank you,
> Simon
>
>
>
> --
> View this message in context:
http://quantlib.10058.n7.nabble.com/YieldTermStructureHandle-via-SWIG-tp14726.html> Sent from the quantlib-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
>
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk> _______________________________________________
> QuantLib-users mailing list
>
[hidden email]
>
https://lists.sourceforge.net/lists/listinfo/quantlib-users--
<
https://implementingquantlib.blogspot.com>
<
https://twitter.com/lballabio>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users