Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63170 - sandbox/numeric_bindings/libs/numeric/bindings/tools
From: thomas.klimpel_at_[hidden]
Date: 2010-06-20 16:43:22


Author: klimpel
Date: 2010-06-20 16:43:21 EDT (Sun, 20 Jun 2010)
New Revision: 63170
URL: http://svn.boost.org/trac/boost/changeset/63170

Log:
improved classification of the auxiliary routines of lapack
Text files modified:
   sandbox/numeric_bindings/libs/numeric/bindings/tools/lapack_generator.py | 8 ++++++--
   1 files changed, 6 insertions(+), 2 deletions(-)

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/lapack_generator.py
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/lapack_generator.py (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/lapack_generator.py 2010-06-20 16:43:21 EDT (Sun, 20 Jun 2010)
@@ -726,6 +726,9 @@
     [ 'LANGB', 'LANGE', 'LANGT', 'LANHB', 'LANHE', 'LANHP', 'LANHS', 'LANHT', 'LANSB',
       'LANSP', 'LANST', 'LANSY', 'LANTB', 'LANTP', 'LANTR' ]
 
+routines[ 'auxiliary' ][ 'helper' ] = {}
+routines[ 'auxiliary' ][ 'helper' ][ 'endings' ] = \
+ [ 'LARZ', 'LATRZ', 'LABRD', 'LACON', 'LATRS', 'LAEBZ', 'LATRD', 'LACGV', 'LARGV', 'LALSD' ]
 
 routines[ 'driver' ] = {}
 routines[ 'driver' ][ 'linear_equations' ] = {}
@@ -787,10 +790,11 @@
   found = False
   for level, level_properties in routines.iteritems():
     for problem_type, problem_properties in level_properties.iteritems():
- if name[ -2: ] in problem_properties[ 'endings' ] or \
+ if name in problem_properties[ 'endings' ] or ( name[ 0:2 ] != 'LA' and ( \
+ name[ -2: ] in problem_properties[ 'endings' ] or \
          name[ -3: ] in problem_properties[ 'endings' ] or \
          name[ -4: ] in problem_properties[ 'endings' ] or \
- name[ -5: ] in problem_properties[ 'endings' ]:
+ name[ -5: ] in problem_properties[ 'endings' ])):
         print name, "is in {"+level+", "+ problem_type + "}"
         if not problem_properties.has_key( 'routines_by_value_type' ):
           problem_properties[ 'routines_by_value_type' ] = {}


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