Introduction to C++ for Financial Engineers with CD: An by Daniel J. Duffy

By Daniel J. Duffy

This ebook introduces the reader to the C++ programming language and the way to exploit it to jot down functions in quantitative finance (QF) and comparable parts. No past wisdom of C or C++ is needed. - adventure with VBA, Matlab or different programming language is adequate. The e-book adopts an incremental strategy; ranging from simple rules then relocating directly to complicated advanced concepts after which to real-life purposes in monetary engineering. There are 5 significant components within the booklet: * C++ basics and object-oriented pondering in QF * complex object-oriented good points corresponding to inheritance and polymorphism * Template programming and the normal Template Library (STL) * An creation to GOF layout styles and their functions in QF purposes the categories of functions contain binomial and trinomial tools, Monte Carlo simulation, complicated bushes, partial differential equations and finite distinction equipment. This ebook includes a CD with all resource code and plenty of invaluable C++ periods that you should use on your personal functions. Examples, try circumstances and purposes are without delay proper to QF. This e-book is the ideal significant other to Daniel J. Duffy's ebook monetary device Pricing utilizing C++ (Wiley 2004, 0470855096)"

Show description

Read Online or Download Introduction to C++ for Financial Engineers with CD: An Object-Oriented Approach PDF

Best programming: programming languages books

Objektorientierte Programmiersprache C++: Vollständige Einführung anhand von Beispielen (VDI-Buch) (German Edition)

In diesem Werk werden alle Aspekte der Sprache C++ behandelt, deshalb ist das Buch ebenso für Einsteiger, mit oder ohne Vorkenntnisse über eine andere Programmiersprache, als auch für Umsteiger von anderen Programmiersprachen bzw. C-Programmierer geeignet. Die Darstellung der Sachverhalte erfolgt knapp und systematisch, die Beispiele sind kurz, prägnant und compiler- unabhängig und auf allen Rechnern mit C++ 2.

Extra resources for Introduction to C++ for Financial Engineers with CD: An Object-Oriented Approach

Example text

The public member functions in the options class can be categorised as follows (see the code below): r r r r r Constructors: the different ways of creating instances of the option class Destructor: deleting an object when it is no longer needed (automatically taken care of by the runtime system) Assignment operator: the ability to assign one object to another object (this is a ‘deep’ copy) ‘Core business’ functions: these are the functions that calculate the price and the delta for the option, for example Other functions: for example, it is possible to switch a call option to a put option (and vice versa).

In this case we usually design them as double precision numbers although C++ allows us to design classes with so-called generic data types. This means that the member data can be customized with different specific data types depending on the current requirements. Having defined the member data we now must decide what to do with the data. To this end, we introduce the concept of object (or instance of a class). A class is abstract in the sense that its member data have not been instantiated (they are just abstract descriptions of data) while an object is tangible and all its member data have been initialised.

2. NET? 3. Which ISO 9126 characteristics are important for the following kinds of software projects: (a) A throwaway prototype application to test if a new pricing model is accurate (b) A COM Addin (written in C++) that will be used on the trading floor (c) A large system using the finite difference method that will be updated, extended and improvement over a period of years 4. What are the three most important ISO 9126 characteristics in general in your opinion? 1 INTRODUCTION AND OBJECTIVES In this chapter we introduce the C++ language by defining just enough syntax to allow us to create and run simple programs.

Download PDF sample

Rated 4.01 of 5 – based on 42 votes