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 for the latest Boost documentation.
Next

Math Toolkit

John Maddock

Paul A. Bristow

Hubert Holin

Xiaogang Zhang

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)


Table of Contents

Overview
About the Math Toolkit
Navigation
Directory and File Structure
Namespaces
Calculation of the Type of the Result
Error Handling
Compilers
Configuration and Policies
Thread Safety
Performance
History and What's New
Contact Info and Support
Statistical Distributions and Functions
Statistical Distributions Tutorial
Overview
Worked Examples
Distribution Construction Example
Student's t Distribution Examples
Chi Squared Distribution Examples
F Distribution Examples
Binomial Distribution Examples
Negative Binomial Distribution Examples
Normal Distribution Examples
Error Handling Example
Find Location and Scale Examples
Comparison with C, R, FORTRAN-style Free Functions
Random Variates and Distribution Parameters
Discrete Probability Distributions
Statistical Distributions Reference
Non-Member Properties
Distributions
Bernoulli Distribution
Beta Distribution
Binomial Distribution
Cauchy-Lorentz Distribution
Chi Squared Distribution
Exponential Distribution
Extreme Value Distribution
F Distribution
Gamma (and Erlang) Distribution
Log Normal Distribution
Negative Binomial Distribution
Normal (Gaussian) Distribution
Pareto Distribution
Poisson Distribution
Rayleigh Distribution
Students t Distribution
Triangular Distribution
Weibull Distribution
Uniform Distribution
Distribution Algorithms
Extras/Future Directions
Special Functions
Gamma Functions
Gamma
Log Gamma
Digamma
Ratios of Gamma Functions
Incomplete Gamma Functions
Incomplete Gamma Function Inverses
Derivative of the Incomplete Gamma Function
Factorials and Binomial Coefficients
Factorial
Double Factorial
Rising Factorial
Falling Factorial
Binomial Coefficients
Beta Functions
Beta
Incomplete Beta Functions
The Incomplete Beta Function Inverses
Derivative of the Incomplete Beta Function
Error Functions
Error Functions
Error Function Inverses
Polynomials
Legendre (and Associated) Polynomials
Laguerre (and Associated) Polynomials
Hermite Polynomials
Spherical Harmonics
Bessel Functions
Bessel Function Overview
Bessel Functions of the First and Second Kinds
Modified Bessel Functions of the First and Second Kinds
Spherical Bessel Functions of the First and Second Kinds
Elliptic Integrals
Elliptic Integral Overview
Elliptic Integrals - Carlson Form
Elliptic Integrals of the First Kind - Legendre Form
Elliptic Integrals of the Second Kind - Legendre Form
Elliptic Integrals of the Third Kind - Legendre Form
Logs, Powers, Roots and Exponentials
log1p
expm1
cbrt
sqrt1pm1
powm1
hypot
Sinus Cardinal and Hyperbolic Sinus Cardinal Functions
Sinus Cardinal and Hyperbolic Sinus Cardinal Functions Overview
sinc_pi
sinhc_pi
Inverse Hyperbolic Functions
Inverse Hyperbolic Functions Overview
acosh
asinh
atanh
Floating Point Classification: Infinities and NaN's
Internal Details and Tools (Experimental)
Overview
Reused Utilities
Series Evaluation
Continued Fraction Evaluation
Polynomial and Rational Function Evaluation
Root Finding With Derivatives
Root Finding Without Derivatives
Locating Function Minima
Testing and Development
Polynomials
Minimax Approximations and the Remez Algorithm
Relative Error and Testing
Graphing, Profiling, and Generating Test Data for Special Functions
Use with User Defined Floating-Point Types
Using With NTL - a High-Precision Floating-Point Library
Conceptual Requirements for Real Number Types
Conceptual Requirements for Distribution Types
Conceptual Archetypes and Testing
Policies
Policy Overview
Policy Tutorial
So Just What is a Policy Anyway?
Policies Have Sensible Defaults
So How are Policies Used Anyway?
Changing the Policy Defaults
Setting Policies for Distributions on an Ad Hoc Basis
Changing the Policy on an Ad Hoc Basis for the Special Functions
Setting Policies at Namespace or Translation Unit Scope
Calling User Defined Error Handlers
Understanding Quantiles of Discrete Distributions
Policy Reference
Error Handling Policies
Internal Promotion Policies
Mathematically Undefined Function Policies
Discrete Quantile Policies
Precision Policies
Iteration Limits Policies
Using macros to Change the Policy Defaults
Setting Polices at Namespace Scope
Policy Class Reference
Performance
Performance Overview
Interpreting these Results
Getting the Best Performance from this Library
Comparing Compilers
Performance Tuning Macros
Comparisons to Other Open Source Libraries
The Performance Test Application
Backgrounders
Additional Implementation Notes
Relative Error
The Lanczos Approximation
The Remez Method
References
Library Status
History and What's New
Compilers
Known Issues, and Todo List
Credits and Acknowledgements

ISBN 0-9504833-2-X 978-0-9504833-2-0, Classification 519.2-dc22

This manual is also available in printer friendly PDF format.

Last revised: March 15, 2008 at 13:34:43 GMT


Next