|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58930 - in sandbox/numeric_bindings/libs/numeric/bindings/tools: . templates/driver
From: rutger_at_[hidden]
Date: 2010-01-12 06:16:23
Author: rutger
Date: 2010-01-12 06:16:22 EST (Tue, 12 Jan 2010)
New Revision: 58930
URL: http://svn.boost.org/trac/boost/changeset/58930
Log:
fixed templates/traits of hegv, sbev, sygv, hbev
Text files modified:
sandbox/numeric_bindings/libs/numeric/bindings/tools/netlib.py | 2 +-
sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hbev.hpp | 2 ++
sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hegv.hpp | 2 ++
sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/sbev.hpp | 2 ++
sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/sygv.hpp | 2 ++
5 files changed, 9 insertions(+), 1 deletions(-)
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-01-12 06:16:22 EST (Tue, 12 Jan 2010)
@@ -1179,7 +1179,7 @@
match_matrix_traits = re.compile( '(sub|super|rows|columns|order)([\-]?diagonals|with|in|of|the|band|input|\s)+(matrix|matrices|\s)+' + \
'([A-Z]+\s+and\s+[A-Z]+|[A-Z]+)', re.M | re.S ).findall( comment_block )
if len( match_matrix_traits ) == 1:
- print "Matched trait:", match_matrix_traits[0][0]
+ print "Matched trait:", match_matrix_traits
if match_matrix_traits[0][0] == 'order':
#
# see if the traits are overruled through the template system
Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hbev.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hbev.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hbev.hpp 2010-01-12 06:16:22 EST (Tue, 12 Jan 2010)
@@ -1,3 +1,5 @@
$TEMPLATE[hbev.all.UPLO.trait_of]
AB
+$TEMPLATE[hbev.all.N.trait_of]
+AB
$TEMPLATE[end]
Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hegv.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hegv.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/hegv.hpp 2010-01-12 06:16:22 EST (Tue, 12 Jan 2010)
@@ -6,4 +6,6 @@
N
$TEMPLATE[hegv.complex.min_size_work]
return std::max< $INTEGER_TYPE >( 1, 2*n-1 );
+$TEMPLATE[hegv.all.N.trait_of]
+A
$TEMPLATE[end]
Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/sbev.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/sbev.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/sbev.hpp 2010-01-12 06:16:22 EST (Tue, 12 Jan 2010)
@@ -1,3 +1,5 @@
$TEMPLATE[sbev.all.UPLO.trait_of]
AB
+$TEMPLATE[sbev.all.N.trait_of]
+AB
$TEMPLATE[end]
Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/sygv.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/sygv.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/driver/sygv.hpp 2010-01-12 06:16:22 EST (Tue, 12 Jan 2010)
@@ -2,4 +2,6 @@
N
$TEMPLATE[sygv.real.min_size_work]
return std::max< $INTEGER_TYPE >( 1, 3*n-1 );
+$TEMPLATE[sygv.all.N.trait_of]
+A
$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