This generic type reports various numeric values for some type. More...
#include <numeric_values.hpp>
Public Types | |
typedef T | value_type |
Static Public Member Functions | |
static T | zero () |
static T | infinity () |
This generic type reports various numeric values for some type.
In the general case, numeric values simply treat their maximum value as infinity and the default-constructed value as 0.
Specializations of this template can redefine the notions of zero and infinity for various types. For example, the class is specialized for floating point types to use the built in notion of infinity.
typedef T boost::numeric_values< T >::value_type |
|
inlinestatic |
References boost::accumulators::extract::max.
Referenced by boost::all_eccentricities(), boost::all_mean_geodesics(), and boost::concepts::BOOST_concept().
|
inlinestatic |
References T.
Referenced by boost::all_eccentricities(), boost::all_mean_geodesics(), and boost::concepts::BOOST_concept().