Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
math.hpp File Reference
Include dependency graph for math.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::geometry::math::detail::equals< Type, IsFloatingPoint >
 
struct  boost::geometry::math::detail::equals< Type, true >
 
struct  boost::geometry::math::detail::smaller< Type, IsFloatingPoint >
 
struct  boost::geometry::math::detail::smaller< Type, true >
 
struct  boost::geometry::math::detail::equals_with_epsilon< Type, IsFloatingPoint >
 
struct  boost::geometry::math::detail::square_root< T, IsFundemantal >
 
struct  boost::geometry::math::detail::square_root< float, true >
 
struct  boost::geometry::math::detail::square_root< long double, true >
 
struct  boost::geometry::math::detail::square_root< T, true >
 
struct  boost::geometry::math::detail::define_pi< T >
 Short construct to enable partial specialization for PI, currently not possible in Math. More...
 
struct  boost::geometry::math::detail::relaxed_epsilon< T >
 
struct  boost::geometry::math::detail::round< Result, Source, ResultIsInteger, SourceIsInteger >
 
struct  boost::geometry::math::detail::round< Result, Source, true, false >
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::geometry
 
 boost::geometry::math
 
 boost::geometry::math::detail
 

Functions

template<typename T >
T boost::geometry::math::pi ()
 
template<typename T >
T boost::geometry::math::relaxed_epsilon (T const &factor)
 
template<typename T1 , typename T2 >
bool boost::geometry::math::equals (T1 const &a, T2 const &b)
 returns true if both arguments are equal. More...
 
template<typename T1 , typename T2 >
bool boost::geometry::math::equals_with_epsilon (T1 const &a, T2 const &b)
 
template<typename T1 , typename T2 >
bool boost::geometry::math::smaller (T1 const &a, T2 const &b)
 
template<typename T1 , typename T2 >
bool boost::geometry::math::larger (T1 const &a, T2 const &b)
 
template<typename T >
T boost::geometry::math::hav (T const &theta)
 Calculates the haversine of an angle. More...
 
template<typename T >
T boost::geometry::math::sqr (T const &value)
 Short utility to return the square. More...
 
template<typename T >
detail::square_root< T >
::return_type 
boost::geometry::math::sqrt (T const &value)
 Short utility to return the square root. More...
 
template<typename T >
T boost::geometry::math::abs (T const &value)
 Short utility to workaround gcc/clang problem that abs is converting to integer and that older versions of MSVC does not support abs of long long... More...
 
template<typename Result , typename T >
Result boost::geometry::math::round (T const &v)
 Short utility to calculate the rounded value of a number. More...
 

Variables

double const boost::geometry::math::d2r = geometry::math::pi<double>() / 180.0
 
double const boost::geometry::math::r2d = 1.0 / d2r