February 12th, 2008, 3:28 pm
Hi,Does anybody here have experience using the NAG library with C++ ? The main problem I am having it is written mainly for C.For example, I want to write a GARCH fitting program, using the NAG library to do the optimization for the MLE. It made sense for me to have a GARCH class, and then have a log-likelihood function as a member function. But then there's the problem of a non-static member function cannot be passed as a static/non-member function, which the optimization procedure of NAG requires.There is a NAG_comm device but I can't find much info about it in the documentation.Has anybody use the NAG library with C++ classes/inheritence etc?In general, is the NAG library used a lot in the quant finance world? It seems good because at least you can worry about implementing the actually math finance pricing problems, and not worrying about having a super-slick optimization function, which is somewhat far away from finance.Thanks.