Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards


Math Toolkit 4.2.0

Nikhar Agrawal

Anton Bikineev

Matthew Borland

Paul A. Bristow

Hubert Holin

Marco Guazzone

Christopher Kormanyos

Bruno Lalande

John Maddock

Evan Miller

Jeremy W. Murphy

Matthew Pulver

Johan Råde

Benjamin Sobotta

Gautam Sewani

Nicholas Thompson

Thijs van den Berg

Daryle Walker

Xiaogang Zhang

This manual is also available in printer friendly PDF format, and as a CD ISBN 0-9504833-2-X 978-0-9504833-2-0, Classification 519.2-dc22.

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at

Table of Contents

1. Overview
2. Floating Point Utilities
3. Specified-width floating-point typedefs
4. Mathematical Constants
5. Statistical Distributions and Functions
6. Statistics
7. Vector Functionals - Norms
8. Special Functions
9. TR1 and C99 external "C" Functions
10. Root Finding & Minimization Algorithms
11. Optimization
12. Polynomials and Rational Functions
13. Interpolation
14. Quadrature and Differentiation
15. Filters
16. Complex Number Functions
17. Quaternions
18. Octonions
19. Integer Utilities (Greatest Common Divisor and Least Common Multiple)
20. Internal Details: Series, Rationals and Continued Fractions, Testing, and Development Tools
21. Use with User-Defined Floating-Point Types - Boost.Multiprecision and others
22. Policies: Controlling Precision, Error Handling etc
23. Performance
24. Backgrounders
25. Library Status
26. Indexes