October 15th, 2008, 12:32 pm
QuoteOriginally posted by: gileperI am building my own library in c++ .. I have many ideas for structuring yield curve class, but I am confused..What could be a Simple and efficient design in terms of base class, derived class, composition?What relationship between rates, discount factor, and zc curve/ zcb? I thought to create a simple structure for rates and to create private pointers in the others mentioned classes.Moreover, how to deal with discount factors and other basic rate's functions? ( friend functions? .. I dont like this way..)brgdsDaniel do you have some pdf about that?Have you written up what you want to have in the library? how flexible should it be and what products should it suppport? A nice way to do this is concept maps. Then the concepts will be the basis for the OO implementation.hthDaniel Quotefriend functions? .. I dont like this wayAgree So, to answer, I don't have any pdf But just a cubic spline C++ in my 2006 book.
Last edited by
Cuchulainn on October 14th, 2008, 10:00 pm, edited 1 time in total.