Function Dune::XT::Common::FloatCmp::internal::float_cmp_eq¶
Function template Dune::XT::Common::FloatCmp::internal::float_cmp_eq¶
-
template<class T>
typename std::enable_if<is_arithmetic<T>::value, bool>::type Dune::XT::Common::FloatCmp::internal::float_cmp_eq(const T &xx, const T &yy, const T &rtol, const T &atol)¶ Taken from http://docs.pymor.org/en/latest/_modules/pymor/tools/floatcmp.html#float_cmp, https://github.com/numpy/numpy/blob/v1.9.1/numpy/core/numeric.py#L2238
Function template Dune::XT::Common::FloatCmp::internal::float_cmp_eq¶
Function template Dune::XT::Common::FloatCmp::internal::float_cmp_eq¶
-
template<class XType, class YType, class TolType>
typename std::enable_if<is_matrix<XType>::value && is_matrix<YType>::value && std::is_same<typename MatrixAbstraction<XType>::S, TolType>::value && std::is_same<typename MatrixAbstraction<YType>::S, TolType>::value, bool>::type Dune::XT::Common::FloatCmp::internal::float_cmp_eq(const XType &xx, const YType &yy, const TolType &rtol, const TolType &atol)¶ No documentation provided.
Function template Dune::XT::Common::FloatCmp::internal::float_cmp_eq¶
-
template<class XType, class YType, class TolType>
typename std::enable_if<is_vector<XType>::value && is_vector<YType>::value && std::is_same<typename VectorAbstraction<XType>::S, TolType>::value && std::is_same<typename VectorAbstraction<YType>::S, TolType>::value, bool>::type Dune::XT::Common::FloatCmp::internal::float_cmp_eq(const XType &xx, const YType &yy, const TolType &rtol, const TolType &atol)¶ No documentation provided.