Boost C++ Libraries

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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Boost 1.32.0 Library Documentation - Math and numerics

Math and numerics

Integer

The organization of boost integer headers and classes is designed to take advantage of <stdint.h> types from the 1999 C standard without resorting to undefined behavior in terms of the 1998 C++ standard. The header <boost/cstdint.hpp> makes the standard integer types safely available in namespace boost without placing any names in namespace std.

Author(s)
 
First Release
1.9.0
Categories
Math and numerics
Interval

Extends the usual arithmetic functions to mathematical intervals.

Author(s)
Guillaume Melquiond, Hervé Brönnimann and Sylvain Pion
First Release
1.30.0
Categories
Math and numerics
Math

Boost.Math includes several contributions in the domain of mathematics: The Greatest Common Divisor and Least Common Multiple library provides run-time and compile-time evaluation of the greatest common divisor (GCD) or least common multiple (LCM) of two integers. The Special Functions library currently provides eight templated special functions, in namespace boost. The Complex Number Inverse Trigonometric Functions are the inverses of trigonometric functions currently present in the C++ standard. Quaternions are a relative of complex numbers often used to parameterise rotations in three dimentional space. Octonions, like quaternions, are a relative of complex numbers.

Author(s)
various
First Release
1.23.0
Categories
Math and numerics
Math Common Factor

Greatest common divisor and least common multiple.

Author(s)
Daryle Walker
First Release
1.26.0
Categories
Math and numerics
Math Octonion

Octonions.

Author(s)
Hubert Holin
First Release
1.23.0
Categories
Math and numerics
Math Quaternion

Quaternions.

Author(s)
Hubert Holin
First Release
1.23.0
Categories
Math and numerics
Multi-Array

Boost.MultiArray provides a generic N-dimensional array concept definition and common implementations of that interface.

Author(s)
Ron Garcia
First Release
1.29.0
Categories
Containers, Math and numerics
Numeric Conversion

Optimized Policy-based Numeric Conversions.

Author(s)
Fernando Cacciola
First Release
1.32.0
Categories
Math and numerics, Miscellaneous
Operators

Templates ease arithmetic classes and iterators.

Author(s)
Dave Abrahams and Jeremy Siek
First Release
1.9.0
Categories
Generic Programming, Iterators, Math and numerics
Random

A complete system for random number generation.

Author(s)
Jens Maurer
First Release
1.15.0
Categories
Math and numerics
Rational

A rational number class.

Author(s)
Paul Moore
First Release
1.11.0
Categories
Math and numerics
uBLAS

uBLAS provides matrix and vector classes as well as basic linear algebra routines. Several dense, packed and sparse storage schemes are supported.

Author(s)
Joerg Walter and Mathias Koch
First Release
1.29.0
Categories
Math and numerics