CHAPTER 10

image

Numerical Integration

Integrating a function is a common step in many financial algorithms. However, in several of these algorithms you can find equations that have no known analytical solution, and need to be integrated numerically. Even if an equation can be integrated analytically, it may be more efficient to perform this task using numerical algorithms. For this purpose, this chapter explores some of the common ways of performing numerical integration. After reading this chapter you will have a better understanding of how these numerical integration algorithms work in practice and how to use them in your own projects.

We discuss ...

Get Practical C++ Financial Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.