C++ Framework and Design Patterns for SDE/FDM

Building Customisable High Performance C++ Applications

C++ Framework and Design Patterns for SDE/FDM

Postby Cuchulainn » Sun Mar 04, 2007 7:06 pm

Below are some results for well-known schemes. Predictor Corrector and Crank Nicolson give good results.

Milstein and Euletr methods give less accurate results in this case.

We use a class hierarchy of SDEs for 1 and n factors using a combination of inheritance and templates.

Extra functionality is achieved with _Visitor_ and _Decorator_. We just create new derived classes and can quickly test new models and schemes.
Number of steps = 50
(55 KiB) Downloaded 948 times
Number of steps = 250
(391.5 KiB) Downloaded 822 times
User avatar
Posts: 677
Joined: Mon Dec 18, 2006 2:48 pm
Location: Amsterdam, the Netherlands

Return to Monte Carlo Frameworks (Duffy/Kienitz)

Who is online

Users browsing this forum: No registered users and 1 guest