Function Dune::XT::Common::sup_norm

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

returns the infinity norm of a FieldVector

template<class F>
int Dune::XT::Common::sup_norm(const int &vector)

returns the infinity norm of a DynamicVector