sparse grid method in the libor market model. option valuation and the
sparse grid method in the libor market model. option valuation and the
sparse grid method in the libor market model. option valuation and the
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Appendix A<br />
Implementation Details<br />
In this appendix, we present a brief list of software tools we employed throughout <strong>the</strong><br />
project:<br />
1. C++, as <strong>the</strong> language of choice, allowed us to take advantage of <strong>the</strong> power of<br />
templates, operator overload<strong>in</strong>g <strong>and</strong> generic STL conta<strong>in</strong>ers <strong>and</strong> algorithms.<br />
2. Sub<strong>grid</strong>s have been implemented on top of Blitz++ generic array library, described<br />
<strong>in</strong> [Veldhuizen].<br />
3. LMM PDE solver made use of <strong>the</strong> BiCGSTAB rout<strong>in</strong>e <strong>and</strong> supplimentary data<br />
structures of <strong>the</strong> free-source iterative <strong>method</strong>s library, described <strong>in</strong> [Dongarra<br />
et al.].<br />
4. As <strong>in</strong> case of full <strong>grid</strong>, off-<strong>grid</strong> po<strong>in</strong>ts of <strong>sparse</strong> <strong>grid</strong> solution need to be found<br />
with <strong>in</strong>terpolation. The current implementation of <strong>sparse</strong> <strong>grid</strong> solver doesn’t<br />
provide a rout<strong>in</strong>e to <strong>in</strong>terpolat<strong>in</strong>g non-uniform meshes, so this procedure has<br />
been outsourced to Matlab. Interpolation of off-<strong>grid</strong> values has been peformed<br />
as a post-process<strong>in</strong>g step with <strong>grid</strong>data <strong>and</strong> <strong>grid</strong>data3 rout<strong>in</strong>es.<br />
5. GnuPlot software came very h<strong>and</strong>y <strong>in</strong> draw<strong>in</strong>g pretty graphs <strong>and</strong> color-mapped<br />
surfaces.<br />
6. The text of <strong>the</strong> <strong>the</strong>sis has been typeset <strong>in</strong> L A TEX.<br />
69