« Return to Thread: documentation on 'Leg' ?

Re: documentation on 'Leg' ?

by Luigi Ballabio :: Rate this Message:

Reply to Author | View in Thread

On Fri, 2009-05-22 at 23:17 +0200, Kim Kuen Tang wrote:
> 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. :-)

The Leg object has no finance-related methods itself.
Most functions acting on legs are in the CashFlows class (see
<ql/cashflows/cashflows.hpp>.)

Luigi


--

Vin: It's like this fellow I knew in El Paso. One day, he just took
all his clothes off and jumped in a mess of cactus. I asked him that
same question, "Why?"
Calvera: And?
Vin: He said, "It seemed like a good idea at the time."
-- The Magnificent Seven



------------------------------------------------------------------------------
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

 « Return to Thread: documentation on 'Leg' ?