Changeset 63894


Ignore:
Timestamp:
Jul 11, 2010, 10:50:56 PM (8 years ago)
Author:
Thomas Klimpel
Message:

improve code generation for computational/hsein.hpp

Location:
sandbox/numeric_bindings
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational.hpp

    r63874 r63894  
    5757#include <boost/numeric/bindings/lapack/computational/gebal.hpp>
    5858#include <boost/numeric/bindings/lapack/computational/gehrd.hpp>
    59 //#include <boost/numeric/bindings/lapack/computational/hsein.hpp>
     59#include <boost/numeric/bindings/lapack/computational/hsein.hpp>
    6060#include <boost/numeric/bindings/lapack/computational/hseqr.hpp>
    6161#include <boost/numeric/bindings/lapack/computational/orghr.hpp>
  • sandbox/numeric_bindings/boost/numeric/bindings/lapack/computational/hsein.hpp

    r63122 r63894  
    195195        BOOST_ASSERT( bindings::size(wi) >= bindings::size_column(h) );
    196196        BOOST_ASSERT( bindings::size(work.select(real_type())) >=
    197                 min_size_work( bindings::size_column(h), ?2 ));
     197                min_size_work( bindings::size_column(h) ));
    198198        BOOST_ASSERT( bindings::size(wr) >= bindings::size_column(h) );
    199199        BOOST_ASSERT( bindings::size_column(h) >= 0 );
     
    235235        namespace bindings = ::boost::numeric::bindings;
    236236        bindings::detail::array< real_type > tmp_work( min_size_work(
    237                 bindings::size_column(h), ?2 ) );
     237                bindings::size_column(h) ) );
    238238        return invoke( side, eigsrc, initv, select, h, wr, wi, vl, vr, mm, m,
    239239                ifaill, ifailr, workspace( tmp_work ) );
     
    264264    // workspace-array work.
    265265    //
    266     static std::ptrdiff_t min_size_work( const std::ptrdiff_t n, ?? ) {
     266    static std::ptrdiff_t min_size_work( const std::ptrdiff_t n ) {
    267267        return (n+2)*n;
    268268    }
  • sandbox/numeric_bindings/libs/numeric/bindings/tools/netlib.py

    r63509 r63894  
    392392  else:
    393393    for a in arg:
    394       result.append( a )
     394      if a != None and re.compile( '^[A-Z]+$' ).match( a ) != None and \
     395            a not in result:
     396        result.append( a )
    395397
    396398  print "returning ",result
Note: See TracChangeset for help on using the changeset viewer.