ALPSCore reference
boost_multi_array_functions.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1998-2018 ALPS Collaboration. See COPYRIGHT.TXT
3  * All rights reserved. Use is subject to license terms. See LICENSE.TXT
4  * For use in publications, see ACKNOWLEDGE.TXT
5  */
6 
7 #ifndef ALPS_NUMERIC_MULTIARRAY_HEADER
8 #define ALPS_NUMERIC_MULTIARRAY_HEADER
9 
10 #include <alps/multi_array/functions.hpp>
11 
12 // Import multi_array functions into ngs::numeric namespace.
13 namespace alps {
14  namespace numeric {
15 
16  using alps::sin;
17  using alps::cos;
18  using alps::tan;
19  using alps::sinh;
20  using alps::cosh;
21  using alps::tanh;
22  using alps::asin;
23  using alps::acos;
24  using alps::atan;
25  using alps::abs;
26  using alps::sqrt;
27  using alps::exp;
28  using alps::log;
29  using alps::fabs;
30 
31  using alps::sq;
32  using alps::cb;
33  using alps::cbrt;
34 
35  using alps::pow;
36  using alps::sum;
37  }
38 }
39 
40 #endif
boost::array< T, N > sinh(boost::array< T, N > arg)
boost::array< T, N > tanh(boost::array< T, N > arg)
boost::array< T, N > cbrt(boost::array< T, N > arg)
boost::array< T, N > atan(boost::array< T, N > arg)
boost::array< T, N > log(boost::array< T, N > arg)
boost::array< T, N > sqrt(boost::array< T, N > arg)
boost::array< T, N > abs(boost::array< T, N > arg)
boost::array< T, N > cos(boost::array< T, N > arg)
boost::array< T, N > cosh(boost::array< T, N > arg)
boost::array< T, N > exp(boost::array< T, N > arg)
boost::array< T, N > asin(boost::array< T, N > arg)
boost::array< T, N > sin(boost::array< T, N > arg)
std::vector< T > pow(std::vector< T > vec, U index)
boost::array< T, N > acos(boost::array< T, N > arg)
boost::array< T, N > cb(boost::array< T, N > arg)
boost::array< T, N > tan(boost::array< T, N > arg)
boost::array< T, N > sq(boost::array< T, N > arg)