Zero Coupon Swap

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

Zero Coupon Swap

Keith Weintraub

Folks,

  Could any of you point me to an example (or give me an example) of how to value a Zero Coupon Swap in QuantLib?

 

Thanx,

KW

 

Reply | Threaded
Open this post in threaded view
|

Quick question about yBegin_[i]

Ben Khosrownia
Had a quick question about the following line (within
"linearinterpolation.hpp file"):

s_[i-1] = (this->yBegin_[i]-this->yBegin_[i-1])/dx;

Where does yBegin get populated? I am trying to debug
a code but can't access elements of this->yBegin_[i]
and can't detect where it is being initialized.

Thank you for your input.

Ben


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 


Reply | Threaded
Open this post in threaded view
|

Re: Quick question about yBegin_[i]

Ben Khosrownia
Never mind this. I found out where my problem was.

Thank you;

Ben

--- Ben Khosrownia <[hidden email]> wrote:

> Had a quick question about the following line
> (within
> "linearinterpolation.hpp file"):
>
> s_[i-1] = (this->yBegin_[i]-this->yBegin_[i-1])/dx;
>
> Where does yBegin get populated? I am trying to
> debug
> a code but can't access elements of this->yBegin_[i]
> and can't detect where it is being initialized.
>
> Thank you for your input.
>
> Ben
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com 
>
>
>
-------------------------------------------------------
> This SF.Net email is sponsored by xPML, a
> groundbreaking scripting language
> that extends applications into web and mobile media.
> Attend the live webcast
> and join the prime developer group breaking into
> this new coding territory!
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Quantlib-users mailing list
> [hidden email]
>
https://lists.sourceforge.net/lists/listinfo/quantlib-users
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com