Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63542 - in sandbox/numeric_bindings: boost/numeric/bindings/lapack/driver libs/numeric/bindings/tools/templates/driver
From: thomas.klimpel_at_[hidden]
Date: 2010-07-03 08:55:51


Author: klimpel
Date: 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
New Revision: 63542
URL: http://svn.boost.org/trac/boost/changeset/63542

Log:
removed some no longer required templates from driver
Removed:
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/gegv.hpp
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/ggev.hpp
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/ggglm.hpp
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/gglse.hpp
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/heev.hpp
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hegvx.hpp
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/syev.hpp
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/sygvx.hpp
Text files modified:
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/gegv.hpp | 4 ++--
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/ggev.hpp | 4 ++--
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/ggglm.hpp | 24 ++++++++++++------------
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/gglse.hpp | 4 ++--
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/heev.hpp | 4 ++--
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/hegvx.hpp | 2 +-
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/syev.hpp | 2 +-
   sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/sygvx.hpp | 2 +-
   8 files changed, 23 insertions(+), 23 deletions(-)

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/gegv.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/gegv.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/gegv.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
@@ -270,7 +270,7 @@
     // workspace-array work.
     //
     static std::ptrdiff_t min_size_work( const std::ptrdiff_t n ) {
- return std::max< std::ptrdiff_t >( 1, 8*n );
+ return std::max< std::ptrdiff_t >(1,8*n);
     }
 };
 
@@ -413,7 +413,7 @@
     // workspace-array work.
     //
     static std::ptrdiff_t min_size_work( const std::ptrdiff_t n ) {
- return std::max< std::ptrdiff_t >( 1, 2*n );
+ return std::max< std::ptrdiff_t >(1,2*n);
     }
 
     //

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/ggev.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/ggev.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/ggev.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
@@ -270,7 +270,7 @@
     // workspace-array work.
     //
     static std::ptrdiff_t min_size_work( const std::ptrdiff_t n ) {
- return std::max< std::ptrdiff_t >( 1, 8*n );
+ return std::max< std::ptrdiff_t >(1,8*n);
     }
 };
 
@@ -413,7 +413,7 @@
     // workspace-array work.
     //
     static std::ptrdiff_t min_size_work( const std::ptrdiff_t n ) {
- return std::max< std::ptrdiff_t >( 1, 2*n );
+ return std::max< std::ptrdiff_t >(1,2*n);
     }
 
     //

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/ggglm.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/ggglm.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/ggglm.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
@@ -166,8 +166,8 @@
         BOOST_STATIC_ASSERT( (bindings::is_mutable< VectorY >::value) );
         BOOST_ASSERT( bindings::size(d) >= bindings::size_row(a) );
         BOOST_ASSERT( bindings::size(work.select(real_type())) >=
- min_size_work( bindings::size_column(a),
- bindings::size_row(a), bindings::size_column(b) ));
+ min_size_work( bindings::size_row(a),
+ bindings::size_column(a), bindings::size_column(b) ));
         BOOST_ASSERT( bindings::size(x) >= bindings::size_column(a) );
         BOOST_ASSERT( bindings::size(y) >= bindings::size_column(b) );
         BOOST_ASSERT( bindings::size_column(b) >= bindings::size_row(a)-
@@ -203,7 +203,7 @@
             VectorX& x, VectorY& y, minimal_workspace ) {
         namespace bindings = ::boost::numeric::bindings;
         bindings::detail::array< real_type > tmp_work( min_size_work(
- bindings::size_column(a), bindings::size_row(a),
+ bindings::size_row(a), bindings::size_column(a),
                 bindings::size_column(b) ) );
         return invoke( a, b, d, x, y, workspace( tmp_work ) );
     }
@@ -236,9 +236,9 @@
     // Static member function that returns the minimum size of
     // workspace-array work.
     //
- static std::ptrdiff_t min_size_work( const std::ptrdiff_t m,
- const std::ptrdiff_t n, const std::ptrdiff_t p ) {
- return std::max< std::ptrdiff_t >( 1, n+m+p );
+ static std::ptrdiff_t min_size_work( const std::ptrdiff_t n,
+ const std::ptrdiff_t m, const std::ptrdiff_t p ) {
+ return std::max< std::ptrdiff_t >(1,n+m+p);
     }
 };
 
@@ -286,8 +286,8 @@
         BOOST_STATIC_ASSERT( (bindings::is_mutable< VectorY >::value) );
         BOOST_ASSERT( bindings::size(d) >= bindings::size_row(a) );
         BOOST_ASSERT( bindings::size(work.select(value_type())) >=
- min_size_work( bindings::size_column(a),
- bindings::size_row(a), bindings::size_column(b) ));
+ min_size_work( bindings::size_row(a),
+ bindings::size_column(a), bindings::size_column(b) ));
         BOOST_ASSERT( bindings::size(x) >= bindings::size_column(a) );
         BOOST_ASSERT( bindings::size(y) >= bindings::size_column(b) );
         BOOST_ASSERT( bindings::size_column(b) >= bindings::size_row(a)-
@@ -323,7 +323,7 @@
             VectorX& x, VectorY& y, minimal_workspace ) {
         namespace bindings = ::boost::numeric::bindings;
         bindings::detail::array< value_type > tmp_work( min_size_work(
- bindings::size_column(a), bindings::size_row(a),
+ bindings::size_row(a), bindings::size_column(a),
                 bindings::size_column(b) ) );
         return invoke( a, b, d, x, y, workspace( tmp_work ) );
     }
@@ -356,9 +356,9 @@
     // Static member function that returns the minimum size of
     // workspace-array work.
     //
- static std::ptrdiff_t min_size_work( const std::ptrdiff_t m,
- const std::ptrdiff_t n, const std::ptrdiff_t p ) {
- return std::max< std::ptrdiff_t >( 1, n+m+p );
+ static std::ptrdiff_t min_size_work( const std::ptrdiff_t n,
+ const std::ptrdiff_t m, const std::ptrdiff_t p ) {
+ return std::max< std::ptrdiff_t >(1,n+m+p);
     }
 };
 

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/gglse.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/gglse.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/gglse.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
@@ -237,7 +237,7 @@
     //
     static std::ptrdiff_t min_size_work( const std::ptrdiff_t m,
             const std::ptrdiff_t n, const std::ptrdiff_t p ) {
- return std::max< std::ptrdiff_t >( 1, m+n+p );
+ return std::max< std::ptrdiff_t >(1,m+n+p);
     }
 };
 
@@ -356,7 +356,7 @@
     //
     static std::ptrdiff_t min_size_work( const std::ptrdiff_t m,
             const std::ptrdiff_t n, const std::ptrdiff_t p ) {
- return std::max< std::ptrdiff_t >( 1, m+n+p );
+ return std::max< std::ptrdiff_t >(1,m+n+p);
     }
 };
 

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/heev.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/heev.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/heev.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
@@ -171,7 +171,7 @@
     // workspace-array work.
     //
     static std::ptrdiff_t min_size_work( const std::ptrdiff_t n ) {
- return std::max< std::ptrdiff_t >( 1, 2*n-1 );
+ return std::max< std::ptrdiff_t >(1,2*n-1);
     }
 
     //
@@ -179,7 +179,7 @@
     // workspace-array rwork.
     //
     static std::ptrdiff_t min_size_rwork( const std::ptrdiff_t n ) {
- return std::max< std::ptrdiff_t >( 1, 3*n-2 );
+ return std::max< std::ptrdiff_t >(1,3*n-2);
     }
 };
 

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/hegvx.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/hegvx.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/hegvx.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
@@ -238,7 +238,7 @@
     // workspace-array work.
     //
     static std::ptrdiff_t min_size_work( const std::ptrdiff_t n ) {
- return std::max< std::ptrdiff_t >( 1, 2*n );
+ return std::max< std::ptrdiff_t >(1,2*n);
     }
 
     //

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/syev.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/syev.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/syev.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
@@ -164,7 +164,7 @@
     // workspace-array work.
     //
     static std::ptrdiff_t min_size_work( const std::ptrdiff_t n ) {
- return std::max< std::ptrdiff_t >( 1, 3*n-1 );
+ return std::max< std::ptrdiff_t >(1,3*n-1);
     }
 };
 

Modified: sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/sygvx.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/sygvx.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/lapack/driver/sygvx.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
@@ -229,7 +229,7 @@
     // workspace-array work.
     //
     static std::ptrdiff_t min_size_work( const std::ptrdiff_t n ) {
- return std::max< std::ptrdiff_t >( 1, 8*n );
+ return std::max< std::ptrdiff_t >(1,8*n);
     }
 
     //

Deleted: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/gegv.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/gegv.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
+++ (empty file)
@@ -1,9 +0,0 @@
-$TEMPLATE[gegv.real.min_size_work.args]
-N
-$TEMPLATE[gegv.real.min_size_work]
-return std::max< $INTEGER_TYPE >( 1, 8*n );
-$TEMPLATE[gegv.complex.min_size_work.args]
-N
-$TEMPLATE[gegv.complex.min_size_work]
-return std::max< $INTEGER_TYPE >( 1, 2*n );
-$TEMPLATE[end]

Deleted: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/ggev.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/ggev.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
+++ (empty file)
@@ -1,9 +0,0 @@
-$TEMPLATE[ggev.real.min_size_work.args]
-N
-$TEMPLATE[ggev.real.min_size_work]
-return std::max< $INTEGER_TYPE >( 1, 8*n );
-$TEMPLATE[ggev.complex.min_size_work.args]
-N
-$TEMPLATE[ggev.complex.min_size_work]
-return std::max< $INTEGER_TYPE >( 1, 2*n );
-$TEMPLATE[end]

Deleted: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/ggglm.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/ggglm.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
+++ (empty file)
@@ -1,5 +0,0 @@
-$TEMPLATE[ggglm.all.min_size_work.args]
-M,N,P
-$TEMPLATE[ggglm.all.min_size_work]
-return std::max< $INTEGER_TYPE >( 1, n+m+p );
-$TEMPLATE[end]

Deleted: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/gglse.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/gglse.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
+++ (empty file)
@@ -1,5 +0,0 @@
-$TEMPLATE[gglse.all.min_size_work.args]
-M,N,P
-$TEMPLATE[gglse.all.min_size_work]
-return std::max< $INTEGER_TYPE >( 1, m+n+p );
-$TEMPLATE[end]

Deleted: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/heev.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/heev.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
+++ (empty file)
@@ -1,9 +0,0 @@
-$TEMPLATE[heev.complex.min_size_rwork.args]
-N
-$TEMPLATE[heev.complex.min_size_rwork]
-return std::max< $INTEGER_TYPE >( 1, 3*n-2 );
-$TEMPLATE[heev.complex.min_size_work.args]
-N
-$TEMPLATE[heev.complex.min_size_work]
-return std::max< $INTEGER_TYPE >( 1, 2*n-1 );
-$TEMPLATE[end]

Deleted: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hegvx.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hegvx.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
+++ (empty file)
@@ -1,5 +0,0 @@
-$TEMPLATE[hegvx.complex.min_size_work.args]
-N
-$TEMPLATE[hegvx.complex.min_size_work]
-return std::max< $INTEGER_TYPE >( 1, 2*n );
-$TEMPLATE[end]

Deleted: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/syev.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/syev.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
+++ (empty file)
@@ -1,5 +0,0 @@
-$TEMPLATE[syev.real.min_size_work.args]
-N
-$TEMPLATE[syev.real.min_size_work]
-return std::max< $INTEGER_TYPE >( 1, 3*n-1 );
-$TEMPLATE[end]

Deleted: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/sygvx.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/sygvx.hpp 2010-07-03 08:55:49 EDT (Sat, 03 Jul 2010)
+++ (empty file)
@@ -1,5 +0,0 @@
-$TEMPLATE[sygvx.real.min_size_work.args]
-N
-$TEMPLATE[sygvx.real.min_size_work]
-return std::max< $INTEGER_TYPE >( 1, 8*n );
-$TEMPLATE[end]


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk