How to invoke HullWhite::tree()

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to invoke HullWhite::tree()

YuHong-4

May I ask:
about class HullWhite ('ql/models/shortrate/onefactormodels/hullwhite.hpp'), how to invoke the class method tree() in application code?

Thanks a lot!

Regards,

Hong Yu


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: How to invoke HullWhite::tree()

Luigi Ballabio
On Sun, 2011-07-10 at 11:05 +0000, YuHong wrote:
>
> May I ask:
> about class HullWhite
> ('ql/models/shortrate/onefactormodels/hullwhite.hpp'), how to invoke
> the class method tree() in application code?

See for instance <ql/pricingengines/swaption/treeswaptionengine.cpp>.

Luigi


--

Grabel's Law:
2 is not equal to 3 -- not even for large values of 2.



------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: How to invoke HullWhite::tree()

YuHong-4

Thanks for the suggestion!  I can now invoke 'tree()' in the code with 3-time-step and pass compilation.  Next shall check the values.

Regards,

Hong Yu



> Subject: Re: [Quantlib-users] How to invoke HullWhite::tree()

> From: [hidden email]
> To: [hidden email]
> CC: [hidden email]
> Date: Mon, 11 Jul 2011 13:45:41 +0200
>
> On Sun, 2011-07-10 at 11:05 +0000, YuHong wrote:
> >
> > May I ask:
> > about class HullWhite
> > ('ql/models/shortrate/onefactormodels/hullwhite.hpp'), how to invoke
> > the class method tree() in application code?
>
> See for instance <ql/pricingengines/swaption/treeswaptionengine.cpp>.
>
> Luigi
>
>
> --
>
> Grabel's Law:
> 2 is not equal to 3 -- not even for large values of 2.
>
>

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users