ViennaGrid - The Vienna Grid Library
2.1.0
|
Helper routines controlling numeric tolerances. More...
#include <algorithm>
#include <cmath>
Go to the source code of this file.
Data Structures | |
struct | numeric_type< NumericConfigT, OuterNumericT > |
struct | numeric_type< double, OuterNumericT > |
Namespaces | |
namespace | viennagrid |
The main ViennaGrid namespace. Most user functionality resides directly in this namespace rather than in sub-namespaces. | |
namespace | viennagrid::detail |
Namespace for implementation details. Not intended to be used directly by a library user. | |
namespace | viennagrid::detail::result_of |
Namespace for metafunctions for implementation details. Not intended to be used directly by a library user. | |
Functions | |
template<typename OuterNumericT , typename NumericConfigT > | |
result_of::numeric_type < NumericConfigT, OuterNumericT >::type | absolute_tolerance (NumericConfigT config) |
template<typename OuterNumericT > | |
result_of::numeric_type < double, OuterNumericT > ::type | absolute_tolerance (double eps) |
template<typename NumericConfigT , typename NumericT > | |
bool | is_equal (NumericConfigT nc, NumericT first, NumericT second) |
template<typename NumericConfigT , typename NumericT > | |
bool | is_not_equal (NumericConfigT nc, NumericT first, NumericT second) |
template<typename OuterNumericT , typename NumericConfigT > | |
result_of::numeric_type < NumericConfigT, OuterNumericT >::type | relative_tolerance (NumericConfigT config, OuterNumericT base) |
template<typename OuterNumericT > | |
result_of::numeric_type < double, OuterNumericT > ::type | relative_tolerance (double eps, OuterNumericT base) |
Helper routines controlling numeric tolerances.