summaryrefslogtreecommitdiff
path: root/libs/numeric/odeint/performance/rt_algebra.hpp
diff options
context:
space:
mode:
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];
- }
- }
-};