Function Dune::GDT::l2_norm¶
-
template<class GridViewType, size_t r>
double Dune::GDT::l2_norm(const GridViewType &grid_view, const int, int)¶ Computes the (optionally weighted) L2 norm of a vector-valued grid function over the given grid view.
-
template<class GridViewType>
double Dune::GDT::l2_norm(const GridViewType &grid_view, int)¶ Computes the (optionally weighted) L2 norm of a scalar grid function over the given grid view.