On Wed, 2007-06-27 at 14:28 -0700, jing lu wrote:
> I am trying to build a term structure using the PiecewiseYieldCurve
> class
> like foo = new PiecewiseYieldCurve<ZeroYield,LogLinear>(......). I
> can use
> class LogLinear, class Linear or Class ForwardFlat for the 2nd
> argument, I
> wonder which class should I use if I want CubicSpline as the
> interpolation
> method.
You can use Cubic. You can specify a few parameters, too---see
test-suite/piecewiseyieldcurve.cpp for examples.
Luigi
--
Do the right thing. It will gratify some people and astonish the rest.
-- Mark Twain
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users