Hi Ashish,
thanks for your answer,
I'm trying to solve non linear equations. Actually I want to find zero rates which fit bond Prices but I would like to smooth the curve by making a cubic interpolation. So I can't bootstrap because the current bond needs the next bond with a maturity higher than itself.
Thanks a lot.
I would like to integrate Newton-raphson algorithm to quantlib.
Ashish Kulkarni <[hidden email]> wrote: AFAIK QuantLib doesn't have a N-dimensional solver. Building such a solver is a non-trivial task, to say the least :-) Section 9.6 and 9.7 of "Numerical Recipes in C" has very good and highly technical discussions regarding the problem (and some implementations, too). http://www.library.cornell.edu/nr/bookcpdf.html GSL has quite a few N-dimensional solvers also but it's GPL, so it might or might not fit your requirements. http://www.gnu.org/software/gsl/manual/gsl-ref_34.html Hope this helps, Ashish ------------------------------------------------------------------------ Honest disagreement is often a good sign of progress. -- Gandhi > Hi, > > I would like to implement a method with cubic interpolation for an an > interest curve so I need to get > a newton Raphson algorithm to do that. > > Do you know if there is this algorithm in quantlib or a solver wich > takes my equations and my unknowns ? > > regards, > belak
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail |
hello Adjriou, can't help you directly, but I'd suggest looking at these great articles: The Art and Science of Curve Building http://www.fincad.com/news/jun04/The%20Art%20of%20Curve%20Building.pdf David Cox: Yield Curves and how to build them http://tinyurl.com/7y5vb Excel/VBA of McCulloch's model http://tinyurl.com/5dpqz Hope this helps, ashish ------------------------------------------------------------------------ The great use of life is to spend it for something that will outlast it. -- William James Adjriou Belak wrote: > Hi Ashish, > thanks for your answer, > > I'm trying to solve non linear equations. Actually I want to find zero > rates which fit bond Prices but I would like to smooth the curve by > making a cubic interpolation. So I can't bootstrap because the current > bond needs the next bond with a maturity higher than itself. > > Thanks a lot. > I would like to integrate Newton-raphson algorithm to quantlib.
|
Free forum by Nabble | Edit this page |