Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64583 - in sandbox/numeric_bindings/libs/numeric/bindings/tools: . templates/computational
From: thomas.klimpel_at_[hidden]
Date: 2010-08-03 18:45:08


Author: klimpel
Date: 2010-08-03 18:41:26 EDT (Tue, 03 Aug 2010)
New Revision: 64583
URL: http://svn.boost.org/trac/boost/changeset/64583

Log:
All the nice overloads are gone. And VectorView is gone too.
Text files modified:
   sandbox/numeric_bindings/libs/numeric/bindings/tools/bindings.py | 3 ++-
   sandbox/numeric_bindings/libs/numeric/bindings/tools/netlib.py | 10 ++--------
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/computational/trevc.hpp | 2 +-
   3 files changed, 5 insertions(+), 10 deletions(-)

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/bindings.py
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/bindings.py (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/bindings.py 2010-08-03 18:41:26 EDT (Tue, 03 Aug 2010)
@@ -293,7 +293,8 @@
            'ptrdiff_t' not in argument and \
            'typename' not in argument and \
            '$LIBRARY_INT_TYPE' not in argument and \
- ('Vector' not in argument or 'VectorView' in argument) and \
+ 'Vector' not in argument and \
+ 'Matrix' not in argument and \
            '&' in argument:
             permute_indices.append( i )
         else:

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/netlib.py
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/netlib.py (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/netlib.py 2010-08-03 18:41:26 EDT (Tue, 03 Aug 2010)
@@ -279,10 +279,7 @@
       if properties[ 'io' ] == [ 'input' ]:
         result = 'const ' + result
     elif properties[ 'type' ] == 'vector':
- if 'ref_stride' in properties:
- result = "VectorView" + name + "& " + name.lower()
- else:
- result = "Vector" + name + "& " + name.lower()
+ result = "Vector" + name + "& " + name.lower()
       if properties[ 'io' ] == [ 'input' ]:
         result = 'const ' + result
     else:
@@ -326,10 +323,7 @@
     if properties[ 'type' ] == 'matrix':
       result = "typename Matrix" + name
     if properties[ 'type' ] == 'vector':
- if 'ref_stride' in properties:
- result = "typename VectorView" + name
- else:
- result = "typename Vector" + name
+ result = "typename Vector" + name
   if template_tag_type( name, properties ) == 'passthrough':
     result = "typename " + template_parameter[ name ]
   return result

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/computational/trevc.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/computational/trevc.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/computational/trevc.hpp 2010-08-03 18:41:26 EDT (Tue, 03 Aug 2010)
@@ -1,3 +1,3 @@
-$TEMPLATE[trevc.real.T.level2_permute]
+$TEMPLATE[trevc.all.T.level2_permute]
 $TEMPLATE[trevc.all.SELECT.level2_permute]
 $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