Changeset 3005 in Sophya for trunk


Ignore:
Timestamp:
Jul 4, 2006, 5:47:58 PM (19 years ago)
Author:
ansari
Message:

inclusion fichier sspvflags.h pour gestion LAPACK_V2_EXTSOP , fait, link OK (sur OSF) mais SVD semble avoir change d'interface - Reza 4/7/2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/LinAlg/intflapack.cc

    r2964 r3005  
    33#include "sopnamsp.h"
    44#include "intflapack.h"
     5#include "sspvflags.h"
     6
    57#include "tvector.h"
    68#include "tmatrix.h"
     
    614616int LapackServer<T>::LeastSquareSolveSVD_DC(TMatrix<T>& a,TMatrix<T>& b,TVector<r_8>& s,int_4& rank,r_8 rcond)
    615617{
     618#ifdef LAPACK_V2_EXTSOP
     619  throw NotAvailableOperation("LapackServer::LeastSquareSolveSVD_DC(a,b) NOT implemented in LapackV2") ;
     620#else
    616621  if ( ( a.NbDimensions() != 2 ) )
    617622    throw(SzMismatchError("LapackServer::LeastSquareSolveSVD_DC(a,b) a != 2"));
     
    726731  }
    727732  return(info);
     733#endif
    728734}
    729735
     
    904910int LapackServer<T>::SVD_DC(TMatrix<T>& a, TVector<r_8>& s, TMatrix<T>& u, TMatrix<T>& vt)
    905911{
    906 
     912#ifdef LAPACK_V2_EXTSOP
     913  throw NotAvailableOperation("LapackServer::SVD_DC(a,b) NOT implemented in LapackV2") ;
     914#else
    907915  if ( !a.IsPacked() )
    908916     throw(SzMismatchError("LapackServer::SVD_DC(a, ...) a Not Packed "));
     
    988996  }
    989997  return(info);
     998#endif
    990999}
    9911000
Note: See TracChangeset for help on using the changeset viewer.