1 | <html> |
---|
2 | <head> |
---|
3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
---|
4 | <title>Chapter 9. Boost.Math</title> |
---|
5 | <link rel="stylesheet" href="boostbook.css" type="text/css"> |
---|
6 | <meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> |
---|
7 | <link rel="start" href="index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> |
---|
8 | <link rel="up" href="libraries.html" title="Part I. The Boost C++ Libraries (BoostBook Subset)"> |
---|
9 | <link rel="prev" href="apa.html" title="Appendix A. Rationale for some of the design decisions"> |
---|
10 | <link rel="next" href="boost_math/gcd_lcm.html" title=" Greatest Common Divisor and Least Common Multiple"> |
---|
11 | </head> |
---|
12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
---|
13 | <table cellpadding="2" width="100%"> |
---|
14 | <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../boost.png"></td> |
---|
15 | <td align="center"><a href="../../index.htm">Home</a></td> |
---|
16 | <td align="center"><a href="../../libs/libraries.htm">Libraries</a></td> |
---|
17 | <td align="center"><a href="../../people/people.htm">People</a></td> |
---|
18 | <td align="center"><a href="../../more/faq.htm">FAQ</a></td> |
---|
19 | <td align="center"><a href="../../more/index.htm">More</a></td> |
---|
20 | </table> |
---|
21 | <hr> |
---|
22 | <div class="spirit-nav"> |
---|
23 | <a accesskey="p" href="apa.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="boost_math/gcd_lcm.html"><img src="images/next.png" alt="Next"></a> |
---|
24 | </div> |
---|
25 | <div class="chapter" lang="en"> |
---|
26 | <div class="titlepage"><div> |
---|
27 | <div><h2 class="title"> |
---|
28 | <a name="boost_math"></a>Chapter 9. Boost.Math</h2></div> |
---|
29 | <div><div class="author"><h3 class="author"> |
---|
30 | <span class="firstname">Hubert</span> <span class="surname">Holin</span> |
---|
31 | </h3></div></div> |
---|
32 | <div><div class="author"><h3 class="author"> |
---|
33 | <span class="firstname">John</span> <span class="surname">Maddock</span> |
---|
34 | </h3></div></div> |
---|
35 | <div><div class="author"><h3 class="author"> |
---|
36 | <span class="firstname">Daryle</span> <span class="surname">Walker</span> |
---|
37 | </h3></div></div> |
---|
38 | <div><p class="copyright">Copyright © 2001 -2002 Daryle Walker, 2001-2003 Hubert Holin, 2005 |
---|
39 | John Maddock</p></div> |
---|
40 | <div><div class="legalnotice"> |
---|
41 | <a name="id1250634"></a><p> |
---|
42 | Distributed under the Boost Software License, Version 1.0. (See accompanying |
---|
43 | 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>) |
---|
44 | </p> |
---|
45 | </div></div> |
---|
46 | </div></div> |
---|
47 | <div class="toc"> |
---|
48 | <p><b>Table of Contents</b></p> |
---|
49 | <dl> |
---|
50 | <dt><span class="section"><a href="boost_math.html#boost_math.overview">Overview</a></span></dt> |
---|
51 | <dt><span class="section"><a href="boost_math/gcd_lcm.html"> Greatest Common Divisor and Least Common Multiple</a></span></dt> |
---|
52 | <dd><dl> |
---|
53 | <dt><span class="section"><a href="boost_math/gcd_lcm.html#boost_math.gcd_lcm.introduction">Introduction</a></span></dt> |
---|
54 | <dt><span class="section"><a href="boost_math/gcd_lcm.html#boost_math.gcd_lcm.synopsis">Synopsis</a></span></dt> |
---|
55 | <dt><span class="section"><a href="boost_math/gcd_lcm.html#boost_math.gcd_lcm.gcd_function_object">GCD Function Object</a></span></dt> |
---|
56 | <dt><span class="section"><a href="boost_math/gcd_lcm.html#boost_math.gcd_lcm.lcm_function_object">LCM Function Object</a></span></dt> |
---|
57 | <dt><span class="section"><a href="boost_math/gcd_lcm.html#boost_math.gcd_lcm.run_time_gcd___lcm_determination">Run-time GCD & LCM Determination</a></span></dt> |
---|
58 | <dt><span class="section"><a href="boost_math/gcd_lcm.html#boost_math.gcd_lcm.compile_time_gcd_and_lcm_determination">Compile time GCD and LCM determination</a></span></dt> |
---|
59 | <dt><span class="section"><a href="boost_math/gcd_lcm.html#boost_math.gcd_lcm.header__boost_math_common_factor_hpp_">Header <boost/math/common_factor.hpp></a></span></dt> |
---|
60 | <dt><span class="section"><a href="boost_math/gcd_lcm.html#boost_math.gcd_lcm.demonstration_program">Demonstration Program</a></span></dt> |
---|
61 | <dt><span class="section"><a href="boost_math/gcd_lcm.html#boost_math.gcd_lcm.rationale">Rationale</a></span></dt> |
---|
62 | <dt><span class="section"><a href="boost_math/gcd_lcm.html#boost_math.gcd_lcm.history">History</a></span></dt> |
---|
63 | <dt><span class="section"><a href="boost_math/gcd_lcm.html#boost_math.gcd_lcm.credits">Credits</a></span></dt> |
---|
64 | </dl></dd> |
---|
65 | <dt><span class="section"><a href="boost_math/math_special_functions.html">Math Special Functions</a></span></dt> |
---|
66 | <dd><dl> |
---|
67 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.overview">Overview</a></span></dt> |
---|
68 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.header_files">Header Files</a></span></dt> |
---|
69 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.synopsis">Synopsis</a></span></dt> |
---|
70 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.acosh">acosh</a></span></dt> |
---|
71 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.asinh">asinh</a></span></dt> |
---|
72 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.atanh">atanh</a></span></dt> |
---|
73 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.expm1"> expm1</a></span></dt> |
---|
74 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.hypot"> hypot</a></span></dt> |
---|
75 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.log1p"> log1p</a></span></dt> |
---|
76 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.sinc_pi">sinc_pi</a></span></dt> |
---|
77 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.sinhc_pi">sinhc_pi</a></span></dt> |
---|
78 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.test_programs">Test Programs</a></span></dt> |
---|
79 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.acknowledgements">Acknowledgements</a></span></dt> |
---|
80 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.history">History</a></span></dt> |
---|
81 | <dt><span class="section"><a href="boost_math/math_special_functions.html#boost_math.math_special_functions.to_do">To Do</a></span></dt> |
---|
82 | </dl></dd> |
---|
83 | <dt><span class="section"><a href="boost_math/inverse_complex.html"> Complex Number Inverse Trigonometric Functions</a></span></dt> |
---|
84 | <dd><dl> |
---|
85 | <dt><span class="section"><a href="boost_math/inverse_complex.html#boost_math.inverse_complex.implementation_and_accuracy">Implementation and Accuracy</a></span></dt> |
---|
86 | <dt><span class="section"><a href="boost_math/inverse_complex.html#boost_math.inverse_complex.asin"> asin</a></span></dt> |
---|
87 | <dt><span class="section"><a href="boost_math/inverse_complex.html#boost_math.inverse_complex.acos"> acos</a></span></dt> |
---|
88 | <dt><span class="section"><a href="boost_math/inverse_complex.html#boost_math.inverse_complex.atan"> atan</a></span></dt> |
---|
89 | <dt><span class="section"><a href="boost_math/inverse_complex.html#boost_math.inverse_complex.asinh"> asinh</a></span></dt> |
---|
90 | <dt><span class="section"><a href="boost_math/inverse_complex.html#boost_math.inverse_complex.acosh"> acosh</a></span></dt> |
---|
91 | <dt><span class="section"><a href="boost_math/inverse_complex.html#boost_math.inverse_complex.atanh"> atanh</a></span></dt> |
---|
92 | <dt><span class="section"><a href="boost_math/inverse_complex.html#boost_math.inverse_complex.history">History</a></span></dt> |
---|
93 | </dl></dd> |
---|
94 | <dt><span class="section"><a href="boost_math/quaternions.html">Quaternions</a></span></dt> |
---|
95 | <dd><dl> |
---|
96 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.overview">Overview</a></span></dt> |
---|
97 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.header_file">Header File</a></span></dt> |
---|
98 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.synopsis">Synopsis</a></span></dt> |
---|
99 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.template_class_quaternion">Template Class quaternion</a></span></dt> |
---|
100 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.quaternion_specializations">Quaternion Specializations</a></span></dt> |
---|
101 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.quaternion_member_typedefs">Quaternion Member Typedefs</a></span></dt> |
---|
102 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.quaternion_member_functions">Quaternion Member Functions</a></span></dt> |
---|
103 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.quaternion_non_member_operators">Quaternion Non-Member Operators</a></span></dt> |
---|
104 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.quaternion_value_operations">Quaternion Value Operations</a></span></dt> |
---|
105 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.quaternion_creation_functions">Quaternion Creation Functions</a></span></dt> |
---|
106 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.quaternion_transcendentals">Quaternion Transcendentals</a></span></dt> |
---|
107 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.test_program">Test Program</a></span></dt> |
---|
108 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.acknowledgements">Acknowledgements</a></span></dt> |
---|
109 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.history">History</a></span></dt> |
---|
110 | <dt><span class="section"><a href="boost_math/quaternions.html#boost_math.quaternions.to_do">To Do</a></span></dt> |
---|
111 | </dl></dd> |
---|
112 | <dt><span class="section"><a href="boost_math/octonions.html">Octonions</a></span></dt> |
---|
113 | <dd><dl> |
---|
114 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.overview">Overview</a></span></dt> |
---|
115 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.header_file">Header File</a></span></dt> |
---|
116 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.synopsis">Synopsis</a></span></dt> |
---|
117 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.template_class_octonion">Template Class octonion</a></span></dt> |
---|
118 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.octonion_specializations">Octonion Specializations</a></span></dt> |
---|
119 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.octonion_member_typedefs">Octonion Member Typedefs</a></span></dt> |
---|
120 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.octonion_member_functions">Octonion Member Functions</a></span></dt> |
---|
121 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.octonion_non_member_operators">Octonion Non-Member Operators</a></span></dt> |
---|
122 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.octonion_value_operations">Octonion Value Operations</a></span></dt> |
---|
123 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.quaternion_creation_functions">Quaternion Creation Functions</a></span></dt> |
---|
124 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.octonions_transcendentals">Octonions Transcendentals</a></span></dt> |
---|
125 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.test_program">Test Program</a></span></dt> |
---|
126 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.acknowledgements">Acknowledgements</a></span></dt> |
---|
127 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.history">History</a></span></dt> |
---|
128 | <dt><span class="section"><a href="boost_math/octonions.html#boost_math.octonions.to_do">To Do</a></span></dt> |
---|
129 | </dl></dd> |
---|
130 | <dt><span class="section"><a href="boost_math/background_information_and_white_papers.html">Background Information and White Papers</a></span></dt> |
---|
131 | <dd><dl> |
---|
132 | <dt><span class="section"><a href="boost_math/background_information_and_white_papers.html#boost_math.background_information_and_white_papers.the_inverse_hyperbolic_functions">The Inverse Hyperbolic Functions</a></span></dt> |
---|
133 | <dt><span class="section"><a href="boost_math/background_information_and_white_papers.html#boost_math.background_information_and_white_papers.sinus_cardinal_and_hyperbolic_sinus_cardinal_functions">Sinus Cardinal and Hyperbolic Sinus Cardinal Functions</a></span></dt> |
---|
134 | <dt><span class="section"><a href="boost_math/background_information_and_white_papers.html#boost_math.background_information_and_white_papers.the_quaternionic_exponential">The Quaternionic Exponential</a></span></dt> |
---|
135 | </dl></dd> |
---|
136 | </dl> |
---|
137 | </div> |
---|
138 | <div class="section" lang="en"> |
---|
139 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> |
---|
140 | <a name="boost_math.overview"></a>Overview</h2></div></div></div> |
---|
141 | <p> |
---|
142 | This documentation is <a href="http://boost-consulting.com/vault/index.php?action=downloadfile&filename=boost_math-1.34.pdf&directory=PDF%20Documentation&" target="_top">also |
---|
143 | available in printer-friendly PDF format</a>. |
---|
144 | </p> |
---|
145 | <p> |
---|
146 | The <a href="boost_math/gcd_lcm.html" title=" Greatest Common Divisor and Least Common Multiple">Greatest Common Divisor and Least Common |
---|
147 | Multiple library</a> provides run-time and compile-time evaluation of the |
---|
148 | greatest common divisor (GCD) or least common multiple (LCM) of two integers. |
---|
149 | </p> |
---|
150 | <p> |
---|
151 | The <a href="boost_math/math_special_functions.html" title="Math Special Functions">Special Functions library</a> |
---|
152 | currently provides eight templated special functions, in namespace boost. Two |
---|
153 | of these (<a href="boost_math/math_special_functions.html#boost_math.math_special_functions.sinc_pi" title="sinc_pi">sinc_pi</a> |
---|
154 | and <a href="boost_math/math_special_functions.html#boost_math.math_special_functions.sinhc_pi" title="sinhc_pi">sinhc_pi</a>) |
---|
155 | are needed by our implementation of quaternions and octonions. The functions |
---|
156 | <a href="boost_math/math_special_functions.html#boost_math.math_special_functions.acosh" title="acosh">acosh</a>, <a href="boost_math/math_special_functions.html#boost_math.math_special_functions.asinh" title="asinh">asinh</a> and <a href="boost_math/math_special_functions.html#boost_math.math_special_functions.atanh" title="atanh">atanh</a> |
---|
157 | are entirely classical, the function <a href="boost_math/math_special_functions.html#boost_math.math_special_functions.sinc_pi" title="sinc_pi">sinc_pi</a> |
---|
158 | sees heavy use in signal processing tasks, and the function <a href="boost_math/math_special_functions.html#boost_math.math_special_functions.sinhc_pi" title="sinhc_pi">sinhc_pi</a> |
---|
159 | is an ad'hoc function whose naming is modelled on <a href="boost_math/math_special_functions.html#boost_math.math_special_functions.sinc_pi" title="sinc_pi">sinc_pi</a> |
---|
160 | and hyperbolic functions. The functions <a href="boost_math/math_special_functions.html#boost_math.math_special_functions.log1p" title=" log1p">log1p</a>, |
---|
161 | <a href="boost_math/math_special_functions.html#boost_math.math_special_functions.expm1" title=" expm1">expm1</a> and <a href="boost_math/math_special_functions.html#boost_math.math_special_functions.hypot" title=" hypot">hypot</a> are all part |
---|
162 | of the C99 standard but not yet C++. Two of these (<a href="boost_math/math_special_functions.html#boost_math.math_special_functions.log1p" title=" log1p">log1p</a> |
---|
163 | and <a href="boost_math/math_special_functions.html#boost_math.math_special_functions.hypot" title=" hypot">hypot</a>) were |
---|
164 | needed for the <a href="boost_math/inverse_complex.html" title=" Complex Number Inverse Trigonometric Functions">complex number inverse |
---|
165 | trigonometric functions</a>. |
---|
166 | </p> |
---|
167 | <p> |
---|
168 | The <a href="boost_math/inverse_complex.html" title=" Complex Number Inverse Trigonometric Functions">Complex Number Inverse Trigonometric |
---|
169 | Functions</a> are the inverses of trigonometric functions currently present |
---|
170 | in the C++ standard. Equivalents to these functions are part of the C99 standard, |
---|
171 | and they will be part of the forthcoming Technical Report on C++ Standard Library |
---|
172 | Extensions. |
---|
173 | </p> |
---|
174 | <p> |
---|
175 | <a href="boost_math/quaternions.html" title="Quaternions">Quaternions</a> are a relative of |
---|
176 | complex numbers often used to parameterise rotations in three dimentional space. |
---|
177 | </p> |
---|
178 | <p> |
---|
179 | <a href="boost_math/octonions.html" title="Octonions">Octonions</a>, like <a href="boost_math/quaternions.html" title="Quaternions">quaternions</a>, |
---|
180 | are a relative of complex numbers. <a href="boost_math/octonions.html" title="Octonions">Octonions</a> |
---|
181 | see some use in theoretical physics. |
---|
182 | </p> |
---|
183 | </div> |
---|
184 | </div> |
---|
185 | <table width="100%"><tr> |
---|
186 | <td align="left"><small><p>Last revised: May 09, 2007 at 17:20:56 GMT</p></small></td> |
---|
187 | <td align="right"><small></small></td> |
---|
188 | </tr></table> |
---|
189 | <hr> |
---|
190 | <div class="spirit-nav"> |
---|
191 | <a accesskey="p" href="apa.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="boost_math/gcd_lcm.html"><img src="images/next.png" alt="Next"></a> |
---|
192 | </div> |
---|
193 | </body> |
---|
194 | </html> |
---|