Function Dune::XT::Common::min

Function template Dune::XT::Common::min

template<class L, class R>
typename PromotionTraits<L, R>::PromotedType Dune::XT::Common::min(const L &left, const R &right)

returns the smaller of two values of differing types, promoted to their common type

Function template Dune::XT::Common::min

template<class T>
T Dune::XT::Common::min(const T &left, const T &right)

returns the smaller of two values of the same type