Changeset 2556 in Sophya for trunk/SophyaExt/LinAlg/intflapack.h
- Timestamp:
- Jul 21, 2004, 5:52:36 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/LinAlg/intflapack.h
r2554 r2556 4 4 #include "machdefs.h" 5 5 #include "tarray.h" 6 #include "tvector.h" 6 7 7 8 namespace SOPHYA { … … 18 19 19 20 virtual int SVD(TArray<T>& a, TArray<T> & s); 20 virtual int SVD(TArray<T>& a, TArray<T> & s, TArray<T> & u, TArray<T> & vt); 21 virtual int SVD(TArray<T>& a, TArray<T> & s, TArray<T> & u, TArray<T> & vt); 22 23 virtual int LapackEigenSym(TArray<T>& a, TVector<r_8>& b, bool eigenvector=true); 24 virtual int LapackEigen(TArray<T>& a, TVector< complex<r_8> >& eval, TMatrix<T>& evec, bool eigenvector); 21 25 22 26 //! Set the workspace size factor for LAPACK routines … … 78 82 79 83 84 /*! \ingroup LinAlg 85 \fn LapackEigenSym(TArray<T>&, TArray<T> &) 86 \brief Compute the eigenvalues and eigenvectors of A (symetric or hermitian). 87 */ 88 template <class T> 89 inline int LapackEigenSym(TArray<T>& a, TVector<r_8>& b, bool eigenvector=true) 90 { LapackServer<T> lps; return( lps.LapackEigenSym(a,b,eigenvector) ); } 91 92 /*! \ingroup LinAlg 93 \fn LapackEigen(TArray<T>&, TArray<T> &) 94 \brief Compute the eigenvalues and (right) eigenvectors of A (general square matrix). 95 */ 96 template <class T> 97 inline int LapackEigen(TArray<T>& a, TVector< complex<r_8> >& eval, TMatrix<T>& evec, bool eigenvector=true) 98 { LapackServer<T> lps; return( lps.LapackEigen(a,eval,evec,eigenvector) ); } 99 80 100 } // Fin du namespace 81 101
Note:
See TracChangeset
for help on using the changeset viewer.