3 boost/numeric/odeint/external/vexcl/vexcl_copy.hpp
6 copy_impl specializations for vexcl
9 Copyright 2009-2011 Karsten Ahnert
10 Copyright 2009-2011 Mario Mulansky
12 Distributed under the Boost Software License, Version 1.0.
13 (See accompanying file LICENSE_1_0.txt or
14 copy at http://www.boost.org/LICENSE_1_0.txt)
18 #ifndef BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_COPY_HPP_INCLUDED
19 #define BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_COPY_HPP_INCLUDED
21 #include <vexcl/vector.hpp>
22 #include <vexcl/multivector.hpp>
24 #include <boost/numeric/odeint/util/copy.hpp>
30 template< typename T1, typename T2 >
31 struct copy_impl< vex::vector<T1>, vex::vector<T2> >
33 static void copy( const vex::vector<T1> &from , vex::vector<T2> &to )
39 template< typename T1, typename T2, size_t N >
40 struct copy_impl< vex::multivector<T1, N>, vex::multivector<T2, N> >
42 static void copy( const vex::multivector<T1, N> &from , vex::multivector<T2, N> &to )
50 } // namespace numeric
55 #endif // BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_COPY_HPP_INCLUDED