Function Dune::XT::Common::sup_norm

Function template Dune::XT::Common::sup_norm

template<class F, int SIZE>
typename FieldTraits<F>::real_type Dune::XT::Common::sup_norm(const FieldVector<F, SIZE> &vector)

returns the infinity norm of a FieldVector

Function template Dune::XT::Common::sup_norm

template<class F>
typename FieldTraits<F>::real_type Dune::XT::Common::sup_norm(const DynamicVector<F> &vector)

returns the infinity norm of a DynamicVector

Function template Dune::XT::Common::sup_norm

template<class VectorType>
std::enable_if_t<is_vector<VectorType>::value, typename VectorAbstraction<VectorType>::R> Dune::XT::Common::sup_norm(const VectorType &vector)

returns the supremum (infinity) norm of a vector