summaryrefslogtreecommitdiff
path: root/libs/numeric/odeint/performance/rt_algebra.hpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-04-08 03:09:47 +0000
committer <>2015-05-05 14:37:32 +0000
commitf2541bb90af059680aa7036f315f052175999355 (patch)
treea5b214744b256f07e1dc2bd7273035a7808c659f /libs/numeric/odeint/performance/rt_algebra.hpp
parented232fdd34968697a68783b3195b1da4226915b5 (diff)
downloadboost-tarball-master.tar.gz
Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2.HEADboost_1_58_0master
Diffstat (limited to 'libs/numeric/odeint/performance/rt_algebra.hpp')
-rw-r--r--libs/numeric/odeint/performance/rt_algebra.hpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/libs/numeric/odeint/performance/rt_algebra.hpp b/libs/numeric/odeint/performance/rt_algebra.hpp
deleted file mode 100644
index e4805aac8..000000000
--- a/libs/numeric/odeint/performance/rt_algebra.hpp
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright 2011 Mario Mulansky
- * Copyright 2012 Karsten Ahnert
- *
- * 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)
- */
-
-
-#include <vector>
-
-using namespace std;
-
-struct rt_algebra
-{
- template< typename T , size_t dim >
- inline static void foreach( boost::array< T , dim > & x_tmp ,
- const boost::array< T , dim > &x ,
- //const vector< double > &a ,
- const double* a ,
- const boost::array< T , dim > *k_vector ,
- const double dt , const size_t s )
- {
- for( size_t i=0 ; i<dim ; ++i )
- {
- x_tmp[i] = x[i];
- for( size_t j = 0 ; j<s ; ++j )
- x_tmp[i] += a[j]*dt*k_vector[j][i];
- }
- }
-};