3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>About the Math Toolkit</title>
5 <link rel="stylesheet" href="../math.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="../index.html" title="Math Toolkit 2.11.0">
8 <link rel="up" href="../overview.html" title="Chapter 1. Overview">
9 <link rel="prev" href="../overview.html" title="Chapter 1. Overview">
10 <link rel="next" href="navigation.html" title="Navigation">
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
15 <td align="center"><a href="../../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../../more/index.htm">More</a></td>
22 <div class="spirit-nav">
23 <a accesskey="p" href="../overview.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../overview.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="navigation.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
27 <a name="math_toolkit.main_intro"></a><a class="link" href="main_intro.html" title="About the Math Toolkit">About the Math Toolkit</a>
28 </h2></div></div></div>
30 This library is divided into several interconnected parts:
33 <a name="math_toolkit.main_intro.h0"></a>
34 <span class="phrase"><a name="math_toolkit.main_intro.floating_point_utilities"></a></span><a class="link" href="main_intro.html#math_toolkit.main_intro.floating_point_utilities">Floating
38 Utility functions for dealing with floating-point arithmetic, includes functions
39 for floating point classification (<code class="computeroutput"><span class="identifier">fpclassify</span></code>,
40 <code class="computeroutput"><span class="identifier">isnan</span></code>, <code class="computeroutput"><span class="identifier">isinf</span></code>
41 etc), sign manipulation, rounding, comparison, and computing the distance between
42 floating point numbers.
45 <a name="math_toolkit.main_intro.h1"></a>
46 <span class="phrase"><a name="math_toolkit.main_intro.specific_width_floating_point_ty"></a></span><a class="link" href="main_intro.html#math_toolkit.main_intro.specific_width_floating_point_ty">Specific
47 Width Floating-Point Types</a>
50 A set of <code class="computeroutput"><span class="keyword">typedef</span></code>s similar to those
51 provided by <code class="computeroutput"><span class="special"><</span><span class="identifier">cstdint</span><span class="special">></span></code> but for floating-point types.
54 <a name="math_toolkit.main_intro.h2"></a>
55 <span class="phrase"><a name="math_toolkit.main_intro.mathematical_constants"></a></span><a class="link" href="main_intro.html#math_toolkit.main_intro.mathematical_constants">Mathematical
59 A wide range of high-precision constants ranging from various multiples of
60 π, fractions, through to Euler's constant etc.
63 These are of course usable from template code, or as non-templates with a simplified
64 interface if that is more appropriate.
67 <a name="math_toolkit.main_intro.h3"></a>
68 <span class="phrase"><a name="math_toolkit.main_intro.statistical_distributions"></a></span><a class="link" href="main_intro.html#math_toolkit.main_intro.statistical_distributions">Statistical
72 Provides a reasonably comprehensive set of <a class="link" href="../dist.html" title="Chapter 5. Statistical Distributions and Functions">statistical
73 distributions</a>, upon which higher level statistical tests can be built.
76 The initial focus is on the central <a href="http://en.wikipedia.org/wiki/Univariate" target="_top">univariate
77 </a> <a href="http://mathworld.wolfram.com/StatisticalDistribution.html" target="_top">distributions</a>.
78 Both <a href="http://mathworld.wolfram.com/ContinuousDistribution.html" target="_top">continuous</a>
79 (like <a class="link" href="dist_ref/dists/normal_dist.html" title="Normal (Gaussian) Distribution">normal</a>
80 & <a class="link" href="dist_ref/dists/f_dist.html" title="F Distribution">Fisher</a>) and
81 <a href="http://mathworld.wolfram.com/DiscreteDistribution.html" target="_top">discrete</a>
82 (like <a class="link" href="dist_ref/dists/binomial_dist.html" title="Binomial Distribution">binomial</a>
83 & <a class="link" href="dist_ref/dists/poisson_dist.html" title="Poisson Distribution">Poisson</a>)
84 distributions are provided.
87 A <a class="link" href="stat_tut.html" title="Statistical Distributions Tutorial">comprehensive tutorial is provided</a>,
88 along with a series of <a class="link" href="stat_tut/weg.html" title="Worked Examples">worked examples</a>
89 illustrating how the library is used to conduct statistical tests.
92 <a name="math_toolkit.main_intro.h4"></a>
93 <span class="phrase"><a name="math_toolkit.main_intro.mathematical_special_functions"></a></span><a class="link" href="main_intro.html#math_toolkit.main_intro.mathematical_special_functions">Mathematical
97 Provides a small number of high quality <a class="link" href="../special.html" title="Chapter 8. Special Functions">special functions</a>,
98 initially these were concentrated on functions used in statistical applications
99 along with those in the <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1836.pdf" target="_top">Technical
100 Report on C++ Library Extensions</a>.
103 The function families currently implemented are the gamma, beta & erf functions
104 along with the incomplete gamma and beta functions (four variants of each)
105 and all the possible inverses of these, plus digamma, various factorial functions,
106 Bessel functions, elliptic integrals, sinus cardinals (along with their hyperbolic
107 variants), inverse hyperbolic functions, Legrendre/Laguerre/Hermite polynomials
108 and various special power and logarithmic functions.
111 All the implementations are fully generic and support the use of arbitrary
112 "real-number" types, including <a href="../../../../../libs/multiprecision/doc/html/index.html" target="_top">Boost.Multiprecision</a>,
113 although they are optimised for use with types with known-about <a href="http://en.wikipedia.org/wiki/Significand" target="_top">significand
114 (or mantissa)</a> sizes: typically <code class="computeroutput"><span class="keyword">float</span></code>,
115 <code class="computeroutput"><span class="keyword">double</span></code> or <code class="computeroutput"><span class="keyword">long</span>
116 <span class="keyword">double</span></code>.
119 These functions also provide the basis of support for the TR1 special functions.
122 <a name="math_toolkit.main_intro.h5"></a>
123 <span class="phrase"><a name="math_toolkit.main_intro.root_finding_and_function_minimi"></a></span><a class="link" href="main_intro.html#math_toolkit.main_intro.root_finding_and_function_minimi">Root Finding
124 and Function Minimisation</a>
127 A comprehensive set of root finding algorithms over the real-line, both with
128 and without derivative support.
131 Also function minimisation via Brent's Method.
134 <a name="math_toolkit.main_intro.h6"></a>
135 <span class="phrase"><a name="math_toolkit.main_intro.polynomials_and_rational_functio"></a></span><a class="link" href="main_intro.html#math_toolkit.main_intro.polynomials_and_rational_functio">Polynomials
136 and Rational Functions</a>
139 Tools for manipulating polynomials and for efficient evaluation of rationals
143 <a name="math_toolkit.main_intro.h7"></a>
144 <span class="phrase"><a name="math_toolkit.main_intro.interpolation"></a></span><a class="link" href="main_intro.html#math_toolkit.main_intro.interpolation">Interpolation</a>
147 Function interpolation via Barycentric or cubic B_spline approximations. Smoothing.
150 <a name="math_toolkit.main_intro.h8"></a>
151 <span class="phrase"><a name="math_toolkit.main_intro.numerical_integration_quadrature"></a></span><a class="link" href="main_intro.html#math_toolkit.main_intro.numerical_integration_quadrature">Numerical
152 Integration (Quadrature) and Differentiation</a>
155 A reasonably comprehensive set of routines for integration (trapezoidal, Gauss-Legendre,
156 Gauss-Kronrod and double-exponential) and differentiation. (See also automatic
160 The integration routines are all usable for functions returning complex results
161 - and as a result for contour integrals as well.
164 <a name="math_toolkit.main_intro.h9"></a>
165 <span class="phrase"><a name="math_toolkit.main_intro.quaternions_and_octonions"></a></span><a class="link" href="main_intro.html#math_toolkit.main_intro.quaternions_and_octonions">Quaternions
169 Quaternions and Octonians as class templates similar to <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">complex</span></code>.
172 <a name="math_toolkit.main_intro.h10"></a>
173 <span class="phrase"><a name="math_toolkit.main_intro.automatic_differentiation"></a></span><a class="link" href="main_intro.html#math_toolkit.main_intro.automatic_differentiation">Automatic
177 Autodiff is a header-only C++ library that facilitates the automaticdifferentiation
178 (forward mode) of mathematical functions of single and multiple variables.
181 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
182 <td align="left"></td>
183 <td align="right"><div class="copyright-footer">Copyright © 2006-2019 Nikhar
184 Agrawal, Anton Bikineev, Paul A. Bristow, Marco Guazzone, Christopher Kormanyos,
185 Hubert Holin, Bruno Lalande, John Maddock, Jeremy Murphy, Matthew Pulver, Johan
186 Råde, Gautam Sewani, Benjamin Sobotta, Nicholas Thompson, Thijs van den Berg,
187 Daryle Walker and Xiaogang Zhang<p>
188 Distributed under the Boost Software License, Version 1.0. (See accompanying
189 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
194 <div class="spirit-nav">
195 <a accesskey="p" href="../overview.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../overview.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="navigation.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>