Hi Khanh,
the definition of Leg is the following:
typedef std::vector<boost::shared_ptr<CashFlow> > Leg; .
This can be seen in the file ql\cashflow.hpp.
Sorry that i cannot provide you with a documentation on the object Leg.
Perhaps someone else has a documentation, and can post it here. :-)
Hope that helps.
Best regards,
Kim
Khanh Nguyen schrieb:
> Hi all,
>
> I am trying to calculate the cashflow of a fixed rate bond. The
> documentation leads me to method cashflow() that returns an object of
> type 'Leg' but I can not find any documentation for it. Please help.
> Thanks.
>
> -k
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship.
http://www.creativitycat.com
> _______________________________________________
> QuantLib-users mailing list
>
QuantLib-users@...
>
https://lists.sourceforge.net/lists/listinfo/quantlib-users>
>
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship.
http://www.creativitycat.com
_______________________________________________
QuantLib-users mailing list
QuantLib-users@...
https://lists.sourceforge.net/lists/listinfo/quantlib-users