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.75.0 Library Documentation - Math and numerics

Math and numerics

Accumulators

Framework for incremental calculation, and collection of statistical accumulators.

Author(s)
Eric Niebler
First Release
1.36.0
Categories
Math and numerics
Endian

Types and conversion functions for correct byte ordering and more regardless of processor endianness.

Author(s)
Beman Dawes
First Release
1.58.0
Categories
Input/Output, Math and numerics, Miscellaneous
Geometry

The Boost.Geometry library provides geometric algorithms, primitives and spatial index.

Author(s)
Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam Wulkiewicz and Menelaos Karavelas
First Release
1.47.0
Categories
Algorithms, Data structures, Math and numerics
Histogram

Fast multi-dimensional histogram with convenient interface for C++14

Author(s)
Hans Dembinski
First Release
1.70.0
Categories
Algorithms, Data structures, 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
Math/Special Functions

A wide selection of mathematical special functions.

Author(s)
John Maddock, Paul Bristow, Hubert Holin and Xiaogang Zhang
First Release
1.35.0
Categories
Math and numerics
Math/Statistical Distributions

A wide selection of univariate statistical distributions and functions that operate on them.

Author(s)
John Maddock and Paul Bristow
First Release
1.35.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
Multiprecision

Extended precision arithmetic types for floating point, integer andrational arithmetic.

Author(s)
John Maddock and Christopher Kormanyos
First Release
1.53.0
Categories
Math and numerics
Numeric Conversion

Optimized Policy-based Numeric Conversions.

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

Solving ordinary differential equations.

Author(s)
Karsten Ahnert and Mario Mulansky
First Release
1.53.0
Categories
Math and numerics
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
Polygon

Voronoi diagram construction and booleans/clipping, resizing/offsetting and more for planar polygons with integral coordinates.

Author(s)
Lucanus Simonson and Andrii Sydorchuk
First Release
1.44.0
Categories
Algorithms, Data structures, Math and numerics
QVM

Generic {CPP} library for working with Quaternions Vectors and Matrices.

Author(s)
Emil Dotchevski
First Release
1.62.0
Categories
Algorithms, Generic Programming, Math and numerics
Random

A complete system for random number generation.

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

Compile time rational arithmetic. C++11.

Author(s)
Howard Hinnant, Beman Dawes and Vicente J. Botet Escriba
First Release
1.47.0
Categories
Math and numerics
Rational

A rational number class.

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

Guaranteed Correct Integer Arithmetic

Author(s)
Robert Ramey
First Release
1.69.0
Categories
Correctness and testing, Math and numerics
uBLAS

uBLAS provides tensor, 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