/*! * \brief Compute the 2-norm of a vector. */ static typename Teuchos::ScalarTraits<scalar_type>::magnitudeType norm2( const vector_type& vector ) { return vector.norm2(); }