> The corresponding part of GeneralizedHullWhite.hpp in QuantLib isno, it isn't. These are private methods of the class, if I am not
>
> boost::function<Real (Time)> speed() const;
> boost::function<Real (Time)> vol() const;
mistaken, not part of the constructor. The
latter reads
GeneralizedHullWhite(
const Handle<YieldTermStructure>& yieldtermStructure,
const std::vector<Date>& speedstructure,
const std::vector<Date>& volstructure,
const std::vector<Real>& speed,
const std::vector<Real>& vol);
so you should check your wrapper code (or post it here for further
clarification).
Depending on what you are planning to do, a look into the sister
folder ql/experimental/models might also
be interesting (well at the moment probably only if you connect to the
current git master, not on a released
version).
Best regards
Peter
Hyungseok Hahm, PhD, FRM
Quantitative Analyst
Industrial Bank of Korea
Trading Department
Tel : 82-2-729-7081
Fax : 82-2-729-6084
E-mail : [hidden email]
Yahoo Msn : hyungseok.hahm
Google Talk : hs.hahm.ibk[hidden email]
LinkedIn: http://kr.linkedin.com/pub/dir/Hyung-seok/Hahm
| Free forum by Nabble | Edit this page |