/usr/include/boost/numeric/odeint/util
NameSizeModeActions
detail/-0755rm
bind.hpp17100644editdlrm
copy.hpp21580644editdlrm
is_pair.hpp8950644editdlrm
is_resizeable.hpp21020644editdlrm
multi_array_adaption.hpp34930644editdlrm
n_ary_helper.hpp40770644editdlrm
odeint_error.hpp15360644editdlrm
resize.hpp30790644editdlrm
resizer.hpp19410644editdlrm
same_instance.hpp11720644editdlrm
same_size.hpp30660644editdlrm
split.hpp14730644editdlrm
split_adaptor.hpp31010644editdlrm
state_wrapper.hpp10980644editdlrm
stepper_traits.hpp15460644editdlrm
ublas_wrapper.hpp98890644editdlrm
unit_helper.hpp32090644editdlrm
unwrap_reference.hpp24420644editdlrm
Edit: /usr/include/boost/numeric/odeint/util/copy.hpp (2158B)
/* [auto_generated] boost/numeric/odeint/util/copy.hpp [begin_description] Copy abstraction for the usage in the steppers. [end_description] Copyright 2011-2012 Karsten Ahnert Copyright 2011-2012 Mario Mulansky Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_NUMERIC_ODEINT_UTIL_COPY_HPP_INCLUDED #define BOOST_NUMERIC_ODEINT_UTIL_COPY_HPP_INCLUDED #include #include #include namespace boost { namespace numeric { namespace odeint { namespace detail { template< class Container1 , class Container2 > void do_copying( const Container1 &from , Container2 &to , boost::mpl::true_ ) { boost::range::copy( from , boost::begin( to ) ); } template< class Container1 , class Container2 > void do_copying( const Container1 &from , Container2 &to , boost::mpl::false_ ) { to = from; } } // namespace detail /* * Default implementation of the copy operation used the assign operator * gsl_vector must copied differently */ template< class Container1 , class Container2 , class Enabler = void > struct copy_impl_sfinae { static void copy( const Container1 &from , Container2 &to ) { typedef typename boost::numeric::odeint::detail::is_range< Container1 >::type is_range_type; detail::do_copying( from , to , is_range_type() ); } }; template< class Container1, class Container2 > struct copy_impl { static void copy( const Container1 &from , Container2 &to ) { copy_impl_sfinae< Container1 , Container2 >::copy( from , to ); } }; // ToDo: allow also to copy INTO a range, not only from a range! Needs "const Container2 &to" template< class Container1 , class Container2 > void copy( const Container1 &from , Container2 &to ) { copy_impl< Container1 , Container2 >::copy( from , to ); } } // namespace odeint } // namespace numeric } // namespace boost #endif // BOOST_NUMERIC_ODEINT_UTIL_COPY_HPP_INCLUDED