/usr/include/boost/numeric/odeint/external/nt2
Edit: /usr/include/boost/numeric/odeint/external/nt2/nt2_norm_inf.hpp (1148B)
//==============================================================================
// Copyright 2014 LRI UMR 8623 CNRS/Univ Paris Sud XI
// Copyright 2014 NumScale SAS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//==============================================================================
#ifndef BOOST_NUMERIC_ODEINT_EXTERNAL_NT2_NT2_NORM_INF_HPP_INCLUDED
#define BOOST_NUMERIC_ODEINT_EXTERNAL_NT2_NT2_NORM_INF_HPP_INCLUDED
#include
#include
#include
#include
namespace boost { namespace numeric { namespace odeint
{
template
struct vector_space_norm_inf >
{
typedef T result_type;
result_type operator()(const nt2::container::table &v1) const
{
return nt2::globalmax(nt2::abs(v1));
}
};
} } }
#endif