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

By Category

Containers

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

Iterators

  • Operators: Templates ease arithmetic classes and iterators.

Generic Programming

  • Operators: Templates ease arithmetic classes and iterators.

Math and numerics

  • Operators: Templates ease arithmetic classes and iterators.
  • 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.
  • Rational: A rational number class.
  • Random: A complete system for random number generation.
  • Math Quaternion: Quaternions.
  • Math Octonion: Octonions.
  • 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.
  • Math Common Factor: Greatest common divisor and least common multiple.
  • uBLAS: uBLAS provides matrix and vector classes as well as basic linear algebra routines. Several dense, packed and sparse storage schemes are supported.
  • Multi-Array: Boost.MultiArray provides a generic N-dimensional array concept definition and common implementations of that interface.
  • Interval: Extends the usual arithmetic functions to mathematical intervals.
  • Numeric Conversion: Optimized Policy-based Numeric Conversions.
  • Math/Statistical Distributions: A wide selection of univariate statistical distributions and functions that operate on them.
  • Math/Special Functions: A wide selection of mathematical special functions.
  • Accumulators: Framework for incremental calculation, and collection of statistical accumulators.

Miscellaneous