C++ design patterns
C ++ DESIGN PATTERNS AND DERIVATIVES PRICING
2nd edition
Design patterns are the cutting-edge paradigm for programming in object-oriented languages. Here they are discussed in the context of implementing financial models in C++.
Assuming only a basic knowledge of C++ and mathematical finance, the reader is taught how to produce well-designed, structured, reusable code via concrete examples.
This new edition includes several new chapters describing how to increase robustness in the presence of exceptions, how to design a generic factory, how to interface C++ with EXCEL, and how to improve code design using the idea of decoupling. Complete
ANSI/ISO compatible C++ source code is hosted on an accompanying website for the reader to study in detail, and reuse as they see fit.
A good understanding of C++ design is a necessity for working financial mathematician; this book provides a thorough introduction to the topic.
Mathematics, Finance and Risk
Editorial Board
Mark Broadie, Graduate School of Business, Columbia University
Sam Howison, Mathematical Institute, University of Oxford
Neil Johnson, Centre for Computational Finance, University of Oxford
George Papanicolaou, Department of Mathematics, Stanford University
C++ DESIGN PATTERNS AND
D E R I VA T I V E S P R I C I N G
M. S. J O S H I
University of Melbourne
CAMBRIDGE UNIVERSITY PRESS
Cambridge, New York, Melbourne, Madrid, Cape Town, Singapore, São Paulo
Cambridge University Press
The Edinburgh Building, Cambridge CB2 8RU, UK
Published in the United States of America by Cambridge University Press, New York www.cambridge.org Information on this title: www.cambridge.org/9780521721622
© M. S. Joshi 2008
This publication is in copyright. Subject to statutory exception and to the provision of relevant collective licensing agreements, no reproduction of any part may take place without the written permission of Cambridge University Press.