Boost.Math

Overview
Greatest Common Divisor and Least Common Multiple
Introduction
Synopsis
GCD Function Object
LCM Function Object
Run-time GCD & LCM Determination
Compile time GCD and LCM determination
Header <boost/math/common_factor.hpp>
Demonstration Program
Rationale
History
Credits
Math Special Functions
Overview
Header Files
Synopsis
acosh
asinh
atanh
expm1
hypot
log1p
sinc_pi
sinhc_pi
Test Programs
Acknowledgements
History
To Do
Complex Number Inverse Trigonometric Functions
Implementation and Accuracy
asin
acos
atan
asinh
acosh
atanh
History
Quaternions
Overview
Header File
Synopsis
Template Class quaternion
Quaternion Specializations
Quaternion Member Typedefs
Quaternion Member Functions
Quaternion Non-Member Operators
Quaternion Value Operations
Quaternion Creation Functions
Quaternion Transcendentals
Octonions
Overview
Header File
Synopsis
Template Class octonion
Octonion Specializations
Octonion Member Typedefs
Octonion Member Functions
Octonion Non-Member Operators
Octonion Value Operations
Quaternion Creation Functions
Octonions Transcendentals
Background Information and White Papers
The Inverse Hyperbolic Functions
Sinus Cardinal and Hyperbolic Sinus Cardinal Functions
The Quaternionic Exponential

Overview

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 provides eight templated special functions, in namespace boost. Use the special functions sinc_pi and sinhc_pi for implementation of quaternions and octonions. The functions acosh, asinh and atanh are entirely classical, use the function sinc_pi in signal processing tasks, and the function sinhc_pi is an ad'hoc function whose naming is modelled on sinc_pi and hyperbolic functions. The functions log1p, expm1 and hypot are all part of the C99 standard but not yet C++.The functions log1p and hypot are used in the complex number inverse trigonometric functions.

The Complex Number Inverse Trigonometric Functions are the inverses of trigonometric functions present in the C++ standard. Equivalents to these functions are part of the C99 standard, and will be part of the forthcoming Technical Report on C++ Standard Library Extensions.

Use Quaternions (a relative of complex numbers) to parameterise rotations in three dimentional space.

Octonions, like quaternions, are a relative of complex numbers. Octonions see some use in theoretical physics.


Copyright © 2001 -2002 Daryle Walker, 2001-2003 Hubert Holin, 2005 John Maddock
Distributed under the Boost Software License, Version 1.0. (See accompanying file License.html or copy at http://www.boost.org/License.html)