Teuchos_LAPACK_wrappers.hpp

Go to the documentation of this file.
00001 // @HEADER
00002 // ***********************************************************************
00003 // 
00004 //                    Teuchos: Common Tools Package
00005 //                 Copyright (2004) Sandia Corporation
00006 // 
00007 // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
00008 // license for use of this work by or on behalf of the U.S. Government.
00009 // 
00010 // This library is free software; you can redistribute it and/or modify
00011 // it under the terms of the GNU Lesser General Public License as
00012 // published by the Free Software Foundation; either version 2.1 of the
00013 // License, or (at your option) any later version.
00014 //  
00015 // This library is distributed in the hope that it will be useful, but
00016 // WITHOUT ANY WARRANTY; without even the implied warranty of
00017 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018 // Lesser General Public License for more details.
00019 //  
00020 // You should have received a copy of the GNU Lesser General Public
00021 // License along with this library; if not, write to the Free Software
00022 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00023 // USA
00024 // Questions? Contact Michael A. Heroux (maherou@sandia.gov) 
00025 // 
00026 // ***********************************************************************
00027 // @HEADER
00028 
00029 // Kris
00030 // 06.11.03 -- Format cleanup
00031 // 06.17.03 -- Added LAPY2 and GEES by request
00032 // 07.08.03 -- Move into Teuchos package/namespace
00033 
00034 #ifndef _TEUCHOS_LAPACK_WRAPPERS_HPP_
00035 #define _TEUCHOS_LAPACK_WRAPPERS_HPP_
00036 
00037 #include "Teuchos_ConfigDefs.hpp"
00038 
00042 /* Define fcd (Fortran Teuchos_fcd descriptor) for non-standard situations */
00043 
00044 #if defined(CRAY_T3X) || defined(INTEL_CXML) || defined(INTEL_MKL)
00045 
00046 #if defined(CRAY_T3X)
00047 
00048 #include <fortran.h>
00049 #define PREFIX
00050 #define Teuchos_fcd fcd 
00051 
00052 #define DGEQRF_F77  F77_FUNC(sgeqrf,SGEQRF)
00053 #define DGETRF_F77  F77_FUNC(sgetrf,SGETRF)
00054 #define DGETRS_F77  F77_FUNC(sgetrs,SGETRS)
00055 #define DGETRI_F77  F77_FUNC(sgetri,SGETRI)
00056 #define DGERFS_F77  F77_FUNC(sgerfs,SGERFS)
00057 #define DGECON_F77  F77_FUNC(sgecon,SGECON)
00058 #define DGESVX_F77  F77_FUNC(sgesvx,SGESVX)
00059 #define DGESV_F77   F77_FUNC(sgesv,SGESV)
00060 #define DGEEQU_F77  F77_FUNC(sgeequ,SGEEQU)
00061 #define DSYTRD_F77  F77_FUNC(ssytrd,SSYTRD)
00062 #define DPOTRF_F77  F77_FUNC(spotrf,SPOTRF)
00063 #define DPOTRS_F77  F77_FUNC(spotrs,SPOTRS)
00064 #define DPOTRI_F77  F77_FUNC(spotri,SPOTRI)
00065 #define DPOCON_F77  F77_FUNC(spocon,SPOCON)
00066 #define DPOSV_F77   F77_FUNC(sposv,SPOSV)
00067 #define DPOEQU_F77  F77_FUNC(spoequ,SPOEQU)
00068 #define DPORFS_F77  F77_FUNC(sporfs,SPORFS)
00069 #define DPOSVX_F77  F77_FUNC(sposvx,SPOSVX)
00070 #define DLAMCH_F77  F77_FUNC(slamch,SLAMCH)
00071 #define DGELS_F77   F77_FUNC(sgels,SGELS)
00072 #define DGEEV_F77   F77_FUNC(sgeev,SGEEV)
00073 #define DGEHRD_F77  F77_FUNC(sgehrd,SGEHRD)
00074 #define DHSEQR_F77  F77_FUNC(shseqr,SHSEQR)
00075 #define DORMQR_F77  F77_FUNC(sormqr,SORMQR)
00076 #define DORGHR_F77  F77_FUNC(sorghr,SORGHR)
00077 #define DORMHR_F77  F77_FUNC(sormhr,SORMHR)
00078 #define DTREVC_F77  F77_FUNC(strevc,STREVC)
00079 #define DTREXC_F77  F77_FUNC(strexc,STREXC)
00080 #define DGEES_F77   F77_FUNC(sgees,SGEES)
00081 #define DSPEV_F77   F77_FUNC(sspev,SSPEV)
00082 #define DSYEV_F77   F77_FUNC(ssyev,SSYEV)
00083 #define DSYGV_F77   F77_FUNC(ssygv,SSYGV)
00084 #define DSTEQR_F77  F77_FUNC(ssteqr,SSTEQR)
00085 #define DLAPY2_F77  F77_FUNC(slapy2,SLAPY2)
00086 #define DLARND_F77  F77_FUNC(slarnd,SLARND)
00087 #define DLARNV_F77  F77_FUNC(slarnv,SLARNV)
00088 
00089 #ifdef HAVE_TEUCHOS_COMPLEX
00090 
00091 #define ZGEQRF_F77  F77_FUNC(cgeqrf,CGEQRF)
00092 #define ZGETRF_F77  F77_FUNC(cgetrf,CGETRF)
00093 #define ZGETRS_F77  F77_FUNC(cgetrs,CGETRS)
00094 #define ZGETRI_F77  F77_FUNC(cgetri,CGETRI)
00095 #define ZGERFS_F77  F77_FUNC(cgerfs,CGERFS)
00096 #define ZGECON_F77  F77_FUNC(cgecon,CGECON)
00097 #define ZGESVX_F77  F77_FUNC(cgesvx,CGESVX)
00098 #define ZGESV_F77   F77_FUNC(cgesv,CGESV)
00099 #define ZGEEQU_F77  F77_FUNC(cgeequ,CGEEQU)
00100 #define ZPOTRF_F77  F77_FUNC(cpotrf,CPOTRF)
00101 #define ZPOTRS_F77  F77_FUNC(cpotrs,CPOTRS)
00102 #define ZPOTRI_F77  F77_FUNC(cpotri,CPOTRI)
00103 #define ZPOCON_F77  F77_FUNC(cpocon,CPOCON)
00104 #define ZPOSV_F77   F77_FUNC(cposv,CPOSV)
00105 #define ZPOEQU_F77  F77_FUNC(cpoequ,CPOEQU)
00106 #define ZPORFS_F77  F77_FUNC(cporfs,CPORFS)
00107 #define ZPOSVX_F77  F77_FUNC(cposvx,CPOSVX)
00108 #define ZGELS_F77   F77_FUNC(cgels,CGELS)
00109 #define ZGEEV_F77   F77_FUNC(cgeev,CGEEV)
00110 #define ZGEHRD_F77  F77_FUNC(cgehrd,CGEHRD)
00111 #define ZHSEQR_F77  F77_FUNC(chseqr,CHSEQR)
00112 #define ZTREVC_F77  F77_FUNC(ctrevc,CTREVC)
00113 #define ZTREXC_F77  F77_FUNC(ctrexc,CTREXC)
00114 #define ZGEES_F77   F77_FUNC(cgees,CGEES)
00115 #define ZSTEQR_F77  F77_FUNC(csteqr,CSTEQR)
00116 #define ZLARND_F77  F77_FUNC(clarnd,CLARND)
00117 #define ZLARNV_F77  F77_FUNC(clarnv,CLARNV)
00118 
00119 #endif
00120 
00121 #elif defined(INTEL_CXML)
00122 
00123 #define PREFIX __stdcall 
00124 #define Teuchos_fcd const char *, unsigned int 
00125 
00126 #define DGEQRF_F77  F77_FUNC(dgeqrf,DGEQRF)
00127 #define DGETRF_F77  F77_FUNC(dgetrf,DGETRF)
00128 #define DGETRS_F77  F77_FUNC(dgetrs,DGETRS)
00129 #define DGETRI_F77  F77_FUNC(dgetri,DGETRI)
00130 #define DGERFS_F77  F77_FUNC(dgerfs,DGERFS)
00131 #define DGECON_F77  F77_FUNC(dgecon,DGECON)
00132 #define DGESVX_F77  F77_FUNC(dgesvx,DGESVX)
00133 #define DGESV_F77   F77_FUNC(dgesv,DGESV)
00134 #define DGEEQU_F77  F77_FUNC(dgeequ,DGEEQU)
00135 #define DSYTRD_F77  F77_FUNC(dsytrd,DSYTRD)
00136 #define DPOTRF_F77  F77_FUNC(dpotrf,DPOTRF)
00137 #define DPOTRS_F77  F77_FUNC(dpotrs,DPOTRS)
00138 #define DPOTRI_F77  F77_FUNC(dpotri,DPOTRI)
00139 #define DPOCON_F77  F77_FUNC(dpocon,DPOCON)
00140 #define DPOSV_F77   F77_FUNC(dposv,DPOSV)
00141 #define DPOEQU_F77  F77_FUNC(dpoequ,DPOEQU)
00142 #define DPORFS_F77  F77_FUNC(dporfs,DPORFS)
00143 #define DPOSVX_F77  F77_FUNC(dposvx,DPOSVX)
00144 #define DLAMCH_F77  F77_FUNC(dlamch,DLAMCH)
00145 #define DGELS_F77   F77_FUNC(dgels,DGELS)
00146 #define DGEEV_F77   F77_FUNC(dgeev,DGEEV)
00147 #define DGEHRD_F77  F77_FUNC(dgehrd,DGEHRD)
00148 #define DHSEQR_F77  F77_FUNC(dhseqr,DHSEQR)
00149 #define DORGHR_F77  F77_FUNC(dorghr,DORGHR)
00150 #define DORMHR_F77  F77_FUNC(dormhr,DORMHR)
00151 #define DORMQR_F77  F77_FUNC(dormqr,DORMQR)
00152 #define DTREVC_F77  F77_FUNC(dtrevc,DTREVC)
00153 #define DTREXC_F77  F77_FUNC(dtrexc,DTREXC)
00154 #define DGEES_F77   F77_FUNC(dgees,DGEES)
00155 #define DSPEV_F77   F77_FUNC(dspev,DSPEV)
00156 #define DSYEV_F77   F77_FUNC(dsyev,DSYEV)
00157 #define DSYGV_F77   F77_FUNC(dsygv,DSYGV)
00158 #define DSTEQR_F77  F77_FUNC(dsteqr,DSTEQR)
00159 #define DLAPY2_F77  F77_FUNC(dlapy2,DLAPY2)
00160 #define DLARND_F77  F77_FUNC(dlarnd,DLARND)
00161 #define DLARNV_F77  F77_FUNC(dlarnv,DLARNV)
00162 
00163 #ifdef HAVE_TEUCHOS_COMPLEX
00164 
00165 #define ZGEQRF_F77  F77_FUNC(zgeqrf,ZGEQRF)
00166 #define ZGETRF_F77  F77_FUNC(zgetrf,ZGETRF)
00167 #define ZGETRS_F77  F77_FUNC(zgetrs,ZGETRS)
00168 #define ZGETRI_F77  F77_FUNC(zgetri,ZGETRI)
00169 #define ZGERFS_F77  F77_FUNC(zgerfs,ZGERFS)
00170 #define ZGECON_F77  F77_FUNC(zgecon,ZGECON)
00171 #define ZGESVX_F77  F77_FUNC(zgesvx,ZGESVX)
00172 #define ZGESV_F77   F77_FUNC(zgesv,ZGESV)
00173 #define ZGEEQU_F77  F77_FUNC(zgeequ,ZGEEQU)
00174 #define ZPOTRF_F77  F77_FUNC(zpotrf,ZPOTRF)
00175 #define ZPOTRS_F77  F77_FUNC(zpotrs,ZPOTRS)
00176 #define ZPOTRI_F77  F77_FUNC(zpotri,ZPOTRI)
00177 #define ZPOCON_F77  F77_FUNC(zpocon,ZPOCON)
00178 #define ZPOSV_F77   F77_FUNC(zposv,ZPOSV)
00179 #define ZPOEQU_F77  F77_FUNC(zpoequ,ZPOEQU)
00180 #define ZPORFS_F77  F77_FUNC(zporfs,ZPORFS)
00181 #define ZPOSVX_F77  F77_FUNC(zposvx,ZPOSVX)
00182 #define ZGELS_F77   F77_FUNC(zgels,ZGELS)
00183 #define ZGEEV_F77   F77_FUNC(zgeev,ZGEEV)
00184 #define ZGEHRD_F77  F77_FUNC(zgehrd,ZGEHRD)
00185 #define ZHSEQR_F77  F77_FUNC(zhseqr,ZHSEQR)
00186 #define ZTREVC_F77  F77_FUNC(ztrevc,ZTREVC)
00187 #define ZTREXC_F77  F77_FUNC(ztrexc,ZTREXC)
00188 #define ZGEES_F77   F77_FUNC(zgees,ZGEES)
00189 #define ZSTEQR_F77  F77_FUNC(zsteqr,ZSTEQR)
00190 #define ZLARND_F77  F77_FUNC(zlarnd,ZLARND)
00191 #define ZLARNV_F77  F77_FUNC(zlarnv,ZLARNV)
00192 
00193 #endif
00194 
00195 #elif defined(INTEL_MKL)
00196 
00197 #define PREFIX
00198 #define Teuchos_fcd const char *
00199 
00200 #define DGEQRF_F77  F77_FUNC(dgeqrf,DGEQRF)
00201 #define DGETRF_F77  F77_FUNC(dgetrf,DGETRF)
00202 #define DGETRS_F77  F77_FUNC(dgetrs,DGETRS)
00203 #define DGETRI_F77  F77_FUNC(dgetri,DGETRI)
00204 #define DGERFS_F77  F77_FUNC(dgerfs,DGERFS)
00205 #define DGECON_F77  F77_FUNC(dgecon,DGECON)
00206 #define DGESVX_F77  F77_FUNC(dgesvx,DGESVX)
00207 #define DGESV_F77   F77_FUNC(dgesv,DGESV)
00208 #define DGEEQU_F77  F77_FUNC(dgeequ,DGEEQU)
00209 #define DSYTRD_F77  F77_FUNC(dsytrd,DSYTRD)
00210 #define DPOTRF_F77  F77_FUNC(dpotrf,DPOTRF)
00211 #define DPOTRS_F77  F77_FUNC(dpotrs,DPOTRS)
00212 #define DPOTRI_F77  F77_FUNC(dpotri,DPOTRI)
00213 #define DPOCON_F77  F77_FUNC(dpocon,DPOCON)
00214 #define DPOSV_F77   F77_FUNC(dposv,DPOSV)
00215 #define DPOEQU_F77  F77_FUNC(dpoequ,DPOEQU)
00216 #define DPORFS_F77  F77_FUNC(dporfs,DPORFS)
00217 #define DPOSVX_F77  F77_FUNC(dposvx,DPOSVX)
00218 #define DLAMCH_F77  F77_FUNC(dlamch,DLAMCH)
00219 #define DGELS_F77   F77_FUNC(dgels,DGELS)
00220 #define DGEEV_F77   F77_FUNC(dgeev,DGEEV)
00221 #define DGEHRD_F77  F77_FUNC(dgehrd,DGEHRD)
00222 #define DHSEQR_F77  F77_FUNC(dhseqr,DHSEQR)
00223 #define DORGHR_F77  F77_FUNC(dorghr,DORGHR)
00224 #define DORMHR_F77  F77_FUNC(dormhr,DORMHR)
00225 #define DORMQR_F77  F77_FUNC(dormqr,DORMQR)
00226 #define DTREVC_F77  F77_FUNC(dtrevc,DTREVC)
00227 #define DTREXC_F77  F77_FUNC(dtrexc,DTREXC)
00228 #define DGEES_F77   F77_FUNC(dgees,DGEES)
00229 #define DSPEV_F77   F77_FUNC(dspev,DSPEV)
00230 #define DSYEV_F77   F77_FUNC(dsyev,DSYEV)
00231 #define DSYGV_F77   F77_FUNC(dsygv,DSYGV)
00232 #define DSTEQR_F77  F77_FUNC(dsteqr,DSTEQR)
00233 #define DLAPY2_F77  F77_FUNC(dlapy2,DLAPY2)
00234 #define DLARND_F77  F77_FUNC(dlarnd,DLARND)
00235 #define DLARNV_F77  F77_FUNC(dlarnv,DLARNV)
00236 
00237 #ifdef HAVE_TEUCHOS_COMPLEX
00238 
00239 #define ZGEQRF_F77  F77_FUNC(zgeqrf,ZGEQRF)
00240 #define ZGETRF_F77  F77_FUNC(zgetrf,ZGETRF)
00241 #define ZGETRS_F77  F77_FUNC(zgetrs,ZGETRS)
00242 #define ZGETRI_F77  F77_FUNC(zgetri,ZGETRI)
00243 #define ZGERFS_F77  F77_FUNC(zgerfs,ZGERFS)
00244 #define ZGECON_F77  F77_FUNC(zgecon,ZGECON)
00245 #define ZGESVX_F77  F77_FUNC(zgesvx,ZGESVX)
00246 #define ZGESV_F77   F77_FUNC(zgesv,ZGESV)
00247 #define ZGEEQU_F77  F77_FUNC(zgeequ,ZGEEQU)
00248 #define ZPOTRF_F77  F77_FUNC(zpotrf,ZPOTRF)
00249 #define ZPOTRS_F77  F77_FUNC(zpotrs,ZPOTRS)
00250 #define ZPOTRI_F77  F77_FUNC(zpotri,ZPOTRI)
00251 #define ZPOCON_F77  F77_FUNC(zpocon,ZPOCON)
00252 #define ZPOSV_F77   F77_FUNC(zposv,ZPOSV)
00253 #define ZPOEQU_F77  F77_FUNC(zpoequ,ZPOEQU)
00254 #define ZPORFS_F77  F77_FUNC(zporfs,ZPORFS)
00255 #define ZPOSVX_F77  F77_FUNC(zposvx,ZPOSVX)
00256 #define ZGELS_F77   F77_FUNC(zgels,ZGELS)
00257 #define ZGEEV_F77   F77_FUNC(zgeev,ZGEEV)
00258 #define ZGEHRD_F77  F77_FUNC(zgehrd,ZGEHRD)
00259 #define ZHSEQR_F77  F77_FUNC(zhseqr,ZHSEQR)
00260 #define ZTREVC_F77  F77_FUNC(ztrevc,ZTREVC)
00261 #define ZTREXC_F77  F77_FUNC(ztrexc,ZTREXC)
00262 #define ZGEES_F77   F77_FUNC(zgees,ZGEES)
00263 #define ZSTEQR_F77  F77_FUNC(zsteqr,ZSTEQR)
00264 #define ZLARND_F77  F77_FUNC(zlarnd,ZLARND)
00265 #define ZLARNV_F77  F77_FUNC(zlarnv,ZLARNV)
00266 
00267 #endif
00268 
00269 #endif 
00270 
00271 /* All three of these machines use a simple uppercase mangling of Fortran names */
00272 
00273 /* if F77_FUNC is defined undefine it because we want to redefine */
00274 
00275 #ifdef F77_FUNC
00276 #undef F77_FUNC
00277 #endif
00278 
00279 #define F77_FUNC(lcase,UCASE) PREFIX UCASE
00280 
00281 #else /* Define Teuchos_fcd for all other machines */
00282 
00283 #define PREFIX
00284 #define Teuchos_fcd const char * 
00285 
00286 #ifndef HAVE_CONFIG_H
00287 
00288 #ifdef F77_FUNC
00289 #undef F77_FUNC
00290 #endif
00291 
00292 #ifdef TRILINOS_HAVE_NO_FORTRAN_UNDERSCORE
00293 #define F77_FUNC(lcase,UCASE) lcase
00294 #else /* TRILINOS_HAVE_NO_FORTRAN_UNDERSCORE not defined*/
00295 #define F77_FUNC(lcase,UCASE) lcase ## _
00296 #endif /* TRILINOS_HAVE_NO_FORTRAN_UNDERSCORE */
00297 
00298 #endif /* HAVE_CONFIG_H */
00299 
00300 #define DGEQRF_F77  F77_FUNC(dgeqrf,DGEQRF)
00301 #define DGETRF_F77  F77_FUNC(dgetrf,DGETRF)
00302 #define DGETRS_F77  F77_FUNC(dgetrs,DGETRS)
00303 #define DGETRI_F77  F77_FUNC(dgetri,DGETRI)
00304 #define DGERFS_F77  F77_FUNC(dgerfs,DGERFS)
00305 #define DGECON_F77  F77_FUNC(dgecon,DGECON)
00306 #define DGESVX_F77  F77_FUNC(dgesvx,DGESVX)
00307 #define DGESV_F77   F77_FUNC(dgesv,DGESV)
00308 #define DGEEQU_F77  F77_FUNC(dgeequ,DGEEQU)
00309 #define DSYTRD_F77  F77_FUNC(dsytrd,DSYTRD)
00310 #define DPOTRF_F77  F77_FUNC(dpotrf,DPOTRF)
00311 #define DPOTRS_F77  F77_FUNC(dpotrs,DPOTRS)
00312 #define DPOTRI_F77  F77_FUNC(dpotri,DPOTRI)
00313 #define DPOCON_F77  F77_FUNC(dpocon,DPOCON)
00314 #define DPOSV_F77   F77_FUNC(dposv,DPOSV)
00315 #define DPOEQU_F77  F77_FUNC(dpoequ,DPOEQU)
00316 #define DPORFS_F77  F77_FUNC(dporfs,DPORFS)
00317 #define DPOSVX_F77  F77_FUNC(dposvx,DPOSVX)
00318 #define DLAMCH_F77  F77_FUNC(dlamch,DLAMCH)
00319 #define DGELS_F77   F77_FUNC(dgels,DGELS)
00320 #define DGEEV_F77   F77_FUNC(dgeev,DGEEV)
00321 #define DGEHRD_F77  F77_FUNC(dgehrd,DGEHRD)
00322 #define DHSEQR_F77  F77_FUNC(dhseqr,DHSEQR)
00323 #define DORGHR_F77  F77_FUNC(dorghr,DORGHR)
00324 #define DORMHR_F77  F77_FUNC(dormhr,DORMHR)
00325 #define DORMQR_F77  F77_FUNC(dormqr,DORMQR)
00326 #define DTREVC_F77  F77_FUNC(dtrevc,DTREVC)
00327 #define DTREXC_F77  F77_FUNC(dtrexc,DTREXC)
00328 #define DGEES_F77   F77_FUNC(dgees,DGEES)
00329 #define DSPEV_F77   F77_FUNC(dspev,DSPEV)
00330 #define DSYEV_F77   F77_FUNC(dsyev,DSYEV)
00331 #define DSYGV_F77   F77_FUNC(dsygv,DSYGV)
00332 #define DSTEQR_F77  F77_FUNC(dsteqr,DSTEQR)
00333 #define DLAPY2_F77  F77_FUNC(dlapy2,DLAPY2)
00334 #define DLARND_F77  F77_FUNC(dlarnd,DLARND)
00335 #define DLARNV_F77  F77_FUNC(dlarnv,DLARNV)
00336 
00337 #ifdef HAVE_TEUCHOS_COMPLEX
00338 
00339 #define ZGEQRF_F77  F77_FUNC(zgeqrf,ZGEQRF)
00340 #define ZGETRF_F77  F77_FUNC(zgetrf,ZGETRF)
00341 #define ZGETRS_F77  F77_FUNC(zgetrs,ZGETRS)
00342 #define ZGETRI_F77  F77_FUNC(zgetri,ZGETRI)
00343 #define ZGERFS_F77  F77_FUNC(zgerfs,ZGERFS)
00344 #define ZGECON_F77  F77_FUNC(zgecon,ZGECON)
00345 #define ZGESVX_F77  F77_FUNC(zgesvx,ZGESVX)
00346 #define ZGESV_F77   F77_FUNC(zgesv,ZGESV)
00347 #define ZGEEQU_F77  F77_FUNC(zgeequ,ZGEEQU)
00348 #define ZPOTRF_F77  F77_FUNC(zpotrf,ZPOTRF)
00349 #define ZPOTRS_F77  F77_FUNC(zpotrs,ZPOTRS)
00350 #define ZPOTRI_F77  F77_FUNC(zpotri,ZPOTRI)
00351 #define ZPOCON_F77  F77_FUNC(zpocon,ZPOCON)
00352 #define ZPOSV_F77   F77_FUNC(zposv,ZPOSV)
00353 #define ZPOEQU_F77  F77_FUNC(zpoequ,ZPOEQU)
00354 #define ZPORFS_F77  F77_FUNC(zporfs,ZPORFS)
00355 #define ZPOSVX_F77  F77_FUNC(zposvx,ZPOSVX)
00356 #define ZGELS_F77   F77_FUNC(zgels,ZGELS)
00357 #define ZGEEV_F77   F77_FUNC(zgeev,ZGEEV)
00358 #define ZGEHRD_F77  F77_FUNC(zgehrd,ZGEHRD)
00359 #define ZHSEQR_F77  F77_FUNC(zhseqr,ZHSEQR)
00360 #define ZTREVC_F77  F77_FUNC(ztrevc,ZTREVC)
00361 #define ZTREXC_F77  F77_FUNC(ztrexc,ZTREXC)
00362 #define ZGEES_F77   F77_FUNC(zgees,ZGEES)
00363 #define ZSTEQR_F77  F77_FUNC(zsteqr,ZSTEQR)
00364 #define ZLARND_F77  F77_FUNC(zlarnd,ZLARND)
00365 #define ZLARNV_F77  F77_FUNC(zlarnv,ZLARNV)
00366 
00367 #endif /* HAVE_TEUCHOS_COMPLEX */
00368 
00369 #endif
00370 
00371 #define SGEQRF_F77  F77_FUNC(sgeqrf,SGEQRF)
00372 #define SGETRF_F77  F77_FUNC(sgetrf,SGETRF)
00373 #define SGETRS_F77  F77_FUNC(sgetrs,SGETRS)
00374 #define SGETRI_F77  F77_FUNC(sgetri,SGETRI)
00375 #define SGERFS_F77  F77_FUNC(sgerfs,SGERFS)
00376 #define SGECON_F77  F77_FUNC(sgecon,SGECON)
00377 #define SGESVX_F77  F77_FUNC(sgesvx,SGESVX)
00378 #define SGESV_F77   F77_FUNC(sgesv,SGESV)
00379 #define SGEEQU_F77  F77_FUNC(sgeequ,SGEEQU)
00380 #define SSYTRD_F77  F77_FUNC(ssytrd,SSYTRD)
00381 #define SPOTRF_F77  F77_FUNC(spotrf,SPOTRF)
00382 #define SPOTRS_F77  F77_FUNC(spotrs,SPOTRS)
00383 #define SPOTRI_F77  F77_FUNC(spotri,SPOTRI)
00384 #define SPOCON_F77  F77_FUNC(spocon,SPOCON)
00385 #define SPOSV_F77   F77_FUNC(sposv,SPOSV)
00386 #define SPOEQU_F77  F77_FUNC(spoequ,SPOEQU)
00387 #define SPORFS_F77  F77_FUNC(sporfs,SPORFS)
00388 #define SPOSVX_F77  F77_FUNC(sposvx,SPOSVX)
00389 #define SGELS_F77   F77_FUNC(sgels,SGELS)
00390 #define SGEEV_F77   F77_FUNC(sgeev,SGEEV)
00391 #define SGEHRD_F77  F77_FUNC(sgehrd,SGEHRD)
00392 #define SHSEQR_F77  F77_FUNC(shseqr,SHSEQR)
00393 #define SORGHR_F77  F77_FUNC(sorghr,SORGHR)
00394 #define SORMHR_F77  F77_FUNC(sormhr,SORMHR)
00395 #define SORMQR_F77  F77_FUNC(sormqr,SORMQR)
00396 #define STREVC_F77  F77_FUNC(strevc,STREVC)
00397 #define STREXC_F77  F77_FUNC(strexc,STREXC)
00398 #define SLAMCH_F77  F77_FUNC(slamch,SLAMCH)
00399 #define SGEES_F77   F77_FUNC(sgees,SGEES)
00400 #define SSPEV_F77   F77_FUNC(sspev,SSPEV)
00401 #define SSYEV_F77   F77_FUNC(ssyev,SSYEV)
00402 #define SSYGV_F77   F77_FUNC(ssygv,SSYGV)
00403 #define SSTEQR_F77  F77_FUNC(ssteqr,SSTEQR)
00404 #define SLAPY2_F77  F77_FUNC(slapy2,SLAPY2)
00405 #define SLARND_F77  F77_FUNC(slarnd,SLARND)
00406 #define SLARNV_F77  F77_FUNC(slarnv,SLARNV)
00407 
00408 #ifdef HAVE_TEUCHOS_COMPLEX
00409 
00410 #define CGEQRF_F77  F77_FUNC(cgeqrf,CGEQRF)
00411 #define CGETRF_F77  F77_FUNC(cgetrf,CGETRF)
00412 #define CGETRS_F77  F77_FUNC(cgetrs,CGETRS)
00413 #define CGETRI_F77  F77_FUNC(cgetri,CGETRI)
00414 #define CGERFS_F77  F77_FUNC(cgerfs,CGERFS)
00415 #define CGECON_F77  F77_FUNC(cgecon,CGECON)
00416 #define CGESVX_F77  F77_FUNC(cgesvx,CGESVX)
00417 #define CGESV_F77   F77_FUNC(cgesv,CGESV)
00418 #define CGEEQU_F77  F77_FUNC(cgeequ,CGEEQU)
00419 #define CPOTRF_F77  F77_FUNC(cpotrf,CPOTRF)
00420 #define CPOTRS_F77  F77_FUNC(cpotrs,CPOTRS)
00421 #define CPOTRI_F77  F77_FUNC(cpotri,CPOTRI)
00422 #define CPOCON_F77  F77_FUNC(cpocon,CPOCON)
00423 #define CPOSV_F77   F77_FUNC(cposv,CPOSV)
00424 #define CPOEQU_F77  F77_FUNC(cpoequ,CPOEQU)
00425 #define CPORFS_F77  F77_FUNC(cporfs,CPORFS)
00426 #define CPOSVX_F77  F77_FUNC(cposvx,CPOSVX)
00427 #define CGELS_F77   F77_FUNC(cgels,CGELS)
00428 #define CGEEV_F77   F77_FUNC(cgeev,CGEEV)
00429 #define CGEHRD_F77  F77_FUNC(cgehrd,CGEHRD)
00430 #define CHSEQR_F77  F77_FUNC(chseqr,CHSEQR)
00431 #define CTREVC_F77  F77_FUNC(ctrevc,CTREVC)
00432 #define CTREXC_F77  F77_FUNC(ctrexc,CTREXC)
00433 #define CGEES_F77   F77_FUNC(cgees,CGEES)
00434 #define CSTEQR_F77  F77_FUNC(csteqr,CSTEQR)
00435 #define CLARND_F77  F77_FUNC(clarnd,CLARND)
00436 #define CLARNV_F77  F77_FUNC(clarnv,CLARNV)
00437 
00438 #endif /* HAVE_TEUCHOS_COMPLEX */
00439 
00440 #ifdef __cplusplus
00441 extern "C" {
00442 #endif
00443 
00444 // Double precision LAPACK linear solvers
00445 void PREFIX DGELS_F77(Teuchos_fcd ch, const int* m, const int* n, const int* nrhs, double* a, const int* lda, double* b, const int* ldb, double* work, const int* lwork, int* info);
00446 void PREFIX DGEQRF_F77(const int* m, const int* n, double* a, const int* lda, double* tau, double* work, const int* lwork, int* info);
00447 void PREFIX DGETRF_F77(const int* m, const int* n, double* a, const int* lda, int* ipiv, int* info); 
00448 void PREFIX DGETRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const double* a, const int* lda,const int* ipiv, double* x , const int* ldx, int* info);
00449 void PREFIX DGETRI_F77(const int* n, double* a, const int* lda, const int* ipiv, double* work , const int* lwork, int* info);
00450 void PREFIX DGECON_F77(Teuchos_fcd norm, const int* n, const double* a, const int* lda, const double* anorm, double* rcond, double* work, int* iwork, int* info); 
00451 void PREFIX DGESV_F77(const int* n, const int* nrhs, double* a, const int* lda, int* ipiv, double* x , const int* ldx, int* info);
00452 void PREFIX DGEEQU_F77(const int* m, const int* n, const double* a, const int* lda, double* r, double* c, double* rowcnd, double* colcnd, double* amax, int* info); 
00453 void PREFIX DGERFS_F77(Teuchos_fcd, const int* n, const int* nrhs, const double* a, const int* lda, const double* af, const int* ldaf, const int* ipiv, const double* b, const int* ldb, double* x, const int* ldx, double* ferr, double* berr, double* work, int* iwork, int* info);
00454 void PREFIX DGESVX_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, double* a, const int* lda, double* af, const int* ldaf, int* ipiv, Teuchos_fcd, double* r,
00455 double* c, double* b, const int* ldb, double* x, const int* ldx, double* rcond, double* ferr, double* berr, double* work, int* iwork, int* info);
00456 void PREFIX DSYTRD_F77(Teuchos_fcd, const int* n, double* a, const int* lda, double* D, double* E, double* tau, double* work, const int* lwork, int* info);
00457 void PREFIX DPOTRF_F77(Teuchos_fcd, const int* n, double* a, const int* lda, int* info); 
00458 void PREFIX DPOTRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const double* a, const int* lda, double*x , const int* ldx, int* info);
00459 void PREFIX DPOTRI_F77(Teuchos_fcd, const int* n, double* a, const int* lda, int* info); 
00460 void PREFIX DPOCON_F77(Teuchos_fcd, const int* n, const double* a, const int* lda, const double* anorm, double* rcond, double* work, int* iwork, int* info); 
00461 void PREFIX DPOSV_F77(Teuchos_fcd, const int* n, const int* nrhs, double* a, const int* lda, double*x , const int* ldx, int* info);
00462 void PREFIX DPOEQU_F77(const int* n, const double* a, const int* lda, double* s, double* scond, double* amax, int* info); 
00463 void PREFIX DPORFS_F77(Teuchos_fcd, const int* n, const int* nrhs, double* a, const int* lda, const double* af, const int* ldaf, const double* b, const int* ldb, double* x, const int* ldx, double* ferr, double* berr, double* work, int* iwork, int* info);
00464 void PREFIX DPOSVX_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, double* a, const int* lda, double* af, const int* ldaf, Teuchos_fcd, double* s, double* b, const int* ldb, double* x, const int* ldx, double* rcond, double* ferr, double* berr, double* work, int* iwork, int* info);
00465 
00466 // Single precision LAPACK linear solvers
00467 void PREFIX SGELS_F77(Teuchos_fcd ch, const int* m, const int* n, const int* nrhs, float* a, const int* lda, float* b, const int* ldb, float* work, const int* lwork, int* info);
00468 void PREFIX SGEQRF_F77(const int* m, const int* n, float* a, const int* lda, float* tau, float* work, const int* lwork, int* info);
00469 void PREFIX SGETRF_F77(const int* m, const int* n, float* a, const int* lda, int* ipiv, int* info);
00470 void PREFIX SGETRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const float* a, const int* lda,const int* ipiv, float* x , const int* ldx, int* info);
00471 void PREFIX SGETRI_F77(const int* n, float* a, const int* lda, const int* ipiv, float* work , const int* lwork, int* info);
00472 void PREFIX SGECON_F77(Teuchos_fcd norm, const int* n, const float* a, const int* lda, const float* anorm, float* rcond, float* work, int* iwork, int* info); 
00473 void PREFIX SGESV_F77(const int* n, const int* nrhs, float* a, const int* lda, int* ipiv, float* x , const int* ldx, int* info);
00474 void PREFIX SGEEQU_F77(const int* m, const int* n, const float* a, const int* lda, float* r, float* c, float* rowcnd, float* colcnd, float* amax, int* info); 
00475 void PREFIX SGERFS_F77(Teuchos_fcd, const int* n, const int* nrhs, const float* a, const int* lda, const float* af, const int* ldaf, const int* ipiv, const float* b, const int* ldb, float* x, const int* ldx, float* ferr, float* berr, float* work, int* iwork, int* info);
00476 void PREFIX SGESVX_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, float* a, const int* lda, float* af, const int* ldaf, int* ipiv, Teuchos_fcd, float* r,
00477 float* c, float* b, const int* ldb, float* x, const int* ldx, float* rcond, float* ferr, float* berr, float* work, int* iwork, int* info);
00478 void PREFIX SSYTRD_F77(Teuchos_fcd, const int* n, float* a, const int* lda, float* D, float* E, float* tau, float* work, const int* lwork, int* info);
00479 void PREFIX SPOTRF_F77(Teuchos_fcd, const int* n, float* a, const int* lda, int* info); 
00480 void PREFIX SPOTRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const float* a, const int* lda, float*x , const int* ldx, int* info);
00481 void PREFIX SPOTRI_F77(Teuchos_fcd, const int* n, float* a, const int* lda, int* info); 
00482 void PREFIX SPOCON_F77(Teuchos_fcd, const int* n, const float* a, const int* lda, const float* anorm, float* rcond, float* work, int* iwork, int* info); 
00483 void PREFIX SPOSV_F77(Teuchos_fcd, const int* n, const int* nrhs, float* a, const int* lda, float*x , const int* ldx, int* info);
00484 void PREFIX SPOEQU_F77(const int* n, const float* a, const int* lda, float* s, float* scond, float* amax, int* info); 
00485 void PREFIX SPORFS_F77(Teuchos_fcd, const int* n, const int* nrhs, float* a, const int* lda, const float* af, const int* ldaf, const float* b, const int* ldb, float* x, const int* ldx, float* ferr, float* berr, float* work, int* iwork, int* info);
00486 void PREFIX SPOSVX_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, float* a, const int* lda, float* af, const int* ldaf, Teuchos_fcd, float* s, float* b, const int* ldb, float* x, const int* ldx, float* rcond, float* ferr, float* berr, float* work, int* iwork, int* info);
00487 
00488 // Double precision LAPACK eigen solvers
00489 void PREFIX DSPEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, double* ap, double* w, double* z, const int* ldz, double* work, int* info);
00490 void PREFIX DSYEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, double* a, const int* lda, double* w, double* work, const int* lwork, int* info);
00491 void PREFIX DSYGV_F77(const int* itype, Teuchos_fcd, Teuchos_fcd, const int* n, double* a, const int* lda, double* B, const int* ldb, double* w, double* work, const int* lwork, int* info);
00492 void PREFIX DSTEQR_F77(Teuchos_fcd, const int* n, double* D, double* E, double* Z, const int* ldz, double* work, int* info);
00493 void PREFIX DGEEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, double* a, const int* lda, double* wr, double* wi, double* vl, const int* ldvl, double* vr, const int* ldvr, double* work, const int* lwork, int* info);
00494 void PREFIX DGEHRD_F77(const int* n, const int* ilo, const int* ihi, double* A, const int* lda, double* tau, double* work, const int* lwork, int* info);
00495 void PREFIX DHSEQR_F77(Teuchos_fcd job, Teuchos_fcd, const int* n, const int* ilo, const int* ihi, double* h, const int* ldh, double* wr, double* wi, double* z, const int* ldz, double* work, const int* lwork, int* info);
00496 void PREFIX DGEES_F77(Teuchos_fcd, Teuchos_fcd, int* select, const int* n, double* a, const int* lda, int*sdim, double* wr, double* wi, double* vs, const int* ldvs, double* work, const int* lwork, int* bwork, int* info);
00497 void PREFIX DORGHR_F77(const int* n, const int* ilo, const int* ihi, double* a, const int* lda, double* tau, double* work, int* lwork, int* info);
00498 void PREFIX DORMHR_F77(Teuchos_fcd, Teuchos_fcd, const int* m, const int* n, const int* ilo, const int* ihi, const double* a, const int* lda, const double* tau, double* c, const int* ldc, double* work, int* lwork, int* info);
00499 void PREFIX DORMQR_F77(Teuchos_fcd, Teuchos_fcd, const int* m, const int* n, const int* k, double* a, const int* lda, const double* tau, double* C, const int* ldc, double* work, const int* lwork, int* info);
00500 void PREFIX DTREVC_F77(Teuchos_fcd, Teuchos_fcd, int* select, const int* n, const double* t, const int* ldt, double* vl, const int* ldvl, double* vr, const int* ldvr, const int* mm, int* m, double* work, int* info); 
00501 void PREFIX DTREXC_F77(Teuchos_fcd, const int* n, double* t, const int* ldt, double* q, const int* ldq, int* ifst, int* ilst, double* work, int* info);
00502 
00503 // Single precision LAPACK eigen solvers
00504 void PREFIX SSPEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, float* ap, float* w, float* z, const int* ldz, float* work, int* info);
00505 void PREFIX SSYEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, float* a, const int* lda, float* w, float* work, const int* lwork, int* info);
00506 void PREFIX SSYGV_F77(const int* itype, Teuchos_fcd, Teuchos_fcd, const int* n, float* a, const int* lda, float* B, const int* ldb, float* w, float* work, const int* lwork, int* info);
00507 void PREFIX SSTEQR_F77(Teuchos_fcd, const int* n, float* D, float* E, float* Z, const int* ldz, float* work, int* info);
00508 void PREFIX SGEEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, float* a, const int* lda, float* wr, float* wi, float* vl, const int* ldvl, float* vr, const int* ldvr, float* work, const int* lwork, int* info);
00509 void PREFIX SGEHRD_F77(const int* n, const int* ilo, const int* ihi, float* A, const int* lda, float* tau, float* work, const int* lwork, int* info);
00510 void PREFIX SHSEQR_F77(Teuchos_fcd job, Teuchos_fcd, const int* n, const int* ilo, const int* ihi, float* h, const int* ldh, float* wr, float* wi, float* z, const int* ldz, float* work, const int* lwork, int* info);
00511 void PREFIX SGEES_F77(Teuchos_fcd, Teuchos_fcd, int* select, const int* n, float* a, const int* lda, int* sdim, float* wr, float* wi, float* vs, const int* ldvs, float* work, const int* lwork, int* bwork, int* info);
00512 void PREFIX SORGHR_F77(const int* n, const int* ilo, const int* ihi, float* a, const int* lda, float* tau, float* work, int* lwork, int* info);
00513 void PREFIX SORMHR_F77(Teuchos_fcd, Teuchos_fcd, const int* m, const int* n, const int* ilo, const int* ihi, const float* a, const int* lda, const float* tau, float* c, const int* ldc, float* work, int* lwork, int* info);
00514 void PREFIX SORMQR_F77(Teuchos_fcd, Teuchos_fcd, const int* m, const int* n, const int* k, float* a, const int* lda, const float* tau, float* C, const int* ldc, float* work, const int* lwork, int* info);
00515 void PREFIX STREVC_F77(Teuchos_fcd, Teuchos_fcd, int* select, const int* n, const float* t, const int* ldt, float* vl, const int* ldvl, float* vr, const int* ldvr, const int* mm, int* m, float* work, int* info); 
00516 void PREFIX STREXC_F77(Teuchos_fcd, const int* n, float* t, const int* ldt, float* q, const int* ldq, int* ifst, int* ilst, float* work, int* info);
00517 
00518 float PREFIX SLARND_F77(const int* idist, int* seed);
00519 double PREFIX DLARND_F77(const int* idist, int* seed);
00520 
00521 void PREFIX SLARNV_F77(const int* idist, int* seed, const int* n, float* v);
00522 void PREFIX DLARNV_F77(const int* idist, int* seed, const int* n, double* v);
00523 
00524 float PREFIX SLAMCH_F77(Teuchos_fcd);
00525 double PREFIX DLAMCH_F77(Teuchos_fcd);
00526 
00527 float PREFIX SLAPY2_F77(const float* x, const float* y);
00528 double PREFIX DLAPY2_F77(const double* x, const double* y);
00529 
00530 #ifdef HAVE_TEUCHOS_COMPLEX
00531 
00532 // Double precision complex LAPACK linear solvers
00533 void PREFIX ZGELS_F77(Teuchos_fcd ch, const int* m, const int* n, const int* nrhs, complex<double>* a, const int* lda, complex<double>* b, const int* ldb, complex<double>* work, const int* lwork, int* info);
00534 void PREFIX ZGEQRF_F77(const int* m, const int* n, complex<double>* a, const int* lda, complex<double>* tau, complex<double>* work, const int* lwork, int* info);
00535 void PREFIX ZGETRF_F77(const int* m, const int* n, complex<double>* a, const int* lda, int* ipiv, int* info); 
00536 void PREFIX ZGETRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const complex<double>* a, const int* lda,const int* ipiv, complex<double>* x , const int* ldx, int* info);
00537 void PREFIX ZGETRI_F77(const int* n, complex<double>* a, const int* lda, const int* ipiv, complex<double>* work , const int* lwork, int* info);
00538 void PREFIX ZGECON_F77(Teuchos_fcd norm, const int* n, const complex<double>* a, const int* lda, const double* anorm, double* rcond, complex<double>* work, double* rwork, int* info); 
00539 void PREFIX ZGESV_F77(const int* n, const int* nrhs, complex<double>* a, const int* lda, int* ipiv, complex<double>* x , const int* ldx, int* info);
00540 void PREFIX ZGEEQU_F77(const int* m, const int* n, const complex<double>* a, const int* lda, double* r, double* c, double* rowcnd, double* colcnd, double* amax, int* info); 
00541 void PREFIX ZGERFS_F77(Teuchos_fcd, const int* n, const int* nrhs, const complex<double>* a, const int* lda, const complex<double>* af, const int* ldaf, const int* ipiv, const complex<double>* b, const int* ldb, complex<double>* x, const int* ldx, double* ferr, double* berr, complex<double>* work, double* iwork, int* info);
00542 void PREFIX ZGESVX_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, complex<double>* a, const int* lda, complex<double>* af, const int* ldaf, int* ipiv, Teuchos_fcd, double* r,
00543 double* c, complex<double>* b, const int* ldb, complex<double>* x, const int* ldx, double* rcond, double* ferr, double* berr, complex<double>* work, double* iwork, int* info);
00544 void PREFIX ZPOTRF_F77(Teuchos_fcd, const int* n, complex<double>* a, const int* lda, int* info); 
00545 void PREFIX ZPOTRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const complex<double>* a, const int* lda, complex<double>*x , const int* ldx, int* info);
00546 void PREFIX ZPOTRI_F77(Teuchos_fcd, const int* n, complex<double>* a, const int* lda, int* info); 
00547 void PREFIX ZPOCON_F77(Teuchos_fcd, const int* n, const complex<double>* a, const int* lda, const double* anorm, double* rcond, complex<double>* work, double* rwork, int* info); 
00548 void PREFIX ZPOSV_F77(Teuchos_fcd, const int* n, const int* nrhs, complex<double>* a, const int* lda, complex<double>*x , const int* ldx, int* info);
00549 void PREFIX ZPOEQU_F77(const int* n, const complex<double>* a, const int* lda, double* s, double* scond, double* amax, int* info); 
00550 void PREFIX ZPORFS_F77(Teuchos_fcd, const int* n, const int* nrhs, complex<double>* a, const int* lda, const complex<double>* af, const int* ldaf, const complex<double>* b, const int* ldb, complex<double>* x, const int* ldx, double* ferr, double* berr, complex<double>* work, double* rwork, int* info);
00551 void PREFIX ZPOSVX_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, complex<double>* a, const int* lda, complex<double>* af, const int* ldaf, Teuchos_fcd, double* s, complex<double>* b, const int* ldb, complex<double>* x, const int* ldx, double* rcond, double* ferr, double* berr, complex<double>* work, double* rwork, int* info);
00552 
00553 // Single precision complex LAPACK linear solvers
00554 void PREFIX CGELS_F77(Teuchos_fcd ch, const int* m, const int* n, const int* nrhs, complex<float>* a, const int* lda, complex<float>* b, const int* ldb, complex<float>* work, const int* lwork, int* info);
00555 void PREFIX CGEQRF_F77(const int* m, const int* n, complex<float>* a, const int* lda, complex<float>* tau, complex<float>* work, const int* lwork, int* info);
00556 void PREFIX CGETRF_F77(const int* m, const int* n, complex<float>* a, const int* lda, int* ipiv, int* info);
00557 void PREFIX CGETRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const complex<float>* a, const int* lda,const int* ipiv, complex<float>* x , const int* ldx, int* info);
00558 void PREFIX CGETRI_F77(const int* n, complex<float>* a, const int* lda, const int* ipiv, complex<float>* work , const int* lwork, int* info);
00559 void PREFIX CGECON_F77(Teuchos_fcd norm, const int* n, const complex<float>* a, const int* lda, const float* anorm, float* rcond, complex<float>* work, float* rwork, int* info); 
00560 void PREFIX CGESV_F77(const int* n, const int* nrhs, complex<float>* a, const int* lda, int* ipiv, complex<float>* x, const int* ldx, int* info);
00561 void PREFIX CGEEQU_F77(const int* m, const int* n, const complex<float>* a, const int* lda, float* r, float* c, float* rowcnd, float* colcnd, float* amax, int* info); 
00562 void PREFIX CGERFS_F77(Teuchos_fcd, const int* n, const int* nrhs, const complex<float>* a, const int* lda, const complex<float>* af, const int* ldaf, const int* ipiv, const complex<float>* b, const int* ldb, complex<float>* x, const int* ldx, float* ferr, float* berr, complex<float>* work, float* rwork, int* info);
00563 void PREFIX CGESVX_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, complex<float>* a, const int* lda, complex<float>* af, const int* ldaf, int* ipiv, Teuchos_fcd, float* r,
00564 float* c, complex<float>* b, const int* ldb, complex<float>* x, const int* ldx, float* rcond, float* ferr, float* berr, complex<float>* work, float* rwork, int* info);
00565 void PREFIX CPOTRF_F77(Teuchos_fcd, const int* n, complex<float>* a, const int* lda, int* info); 
00566 void PREFIX CPOTRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const complex<float>* a, const int* lda, complex<float>*x , const int* ldx, int* info);
00567 void PREFIX CPOTRI_F77(Teuchos_fcd, const int* n, complex<float>* a, const int* lda, int* info); 
00568 void PREFIX CPOCON_F77(Teuchos_fcd, const int* n, const complex<float>* a, const int* lda, const float* anorm, float* rcond, complex<float>* work, float* rwork, int* info); 
00569 void PREFIX CPOSV_F77(Teuchos_fcd, const int* n, const int* nrhs, complex<float>* a, const int* lda, complex<float>*x , const int* ldx, int* info);
00570 void PREFIX CPOEQU_F77(const int* n, const complex<float>* a, const int* lda, float* s, float* scond, float* amax, int* info); 
00571 void PREFIX CPORFS_F77(Teuchos_fcd, const int* n, const int* nrhs, complex<float>* a, const int* lda, const complex<float>* af, const int* ldaf, const complex<float>* b, const int* ldb, complex<float>* x, const int* ldx, float* ferr, float* berr, complex<float>* work, float* rwork, int* info);
00572 void PREFIX CPOSVX_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, complex<float>* a, const int* lda, complex<float>* af, const int* ldaf, Teuchos_fcd, float* s, complex<float>* b, const int* ldb, complex<float>* x, const int* ldx, float* rcond, float* ferr, float* berr, complex<float>* work, float* rwork, int* info);
00573 
00574 // Double precision complex LAPACK eigen solvers
00575 void PREFIX ZSTEQR_F77(Teuchos_fcd, const int* n, double* D, double* E, complex<double>* Z, const int* ldz, complex<double>* work, int* info);
00576 void PREFIX ZGEEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, complex<double>* a, const int* lda, complex<double>* w, complex<double>* vl, const int* ldvl, complex<double>* vr, const int* ldvr, complex<double>* work, const int* lwork, double* rwork, int* info);
00577 void PREFIX ZGEHRD_F77(const int* n, const int* ilo, const int* ihi, complex<double>* A, const int* lda, complex<double>* tau, complex<double>* work, const int* lwork, int* info);
00578 void PREFIX ZHSEQR_F77(Teuchos_fcd job, Teuchos_fcd, const int* n, const int* ilo, const int* ihi, complex<double>* h, const int* ldh, complex<double>* w, complex<double>* z, const int* ldz, complex<double>* work, const int* lwork, int* info);
00579 void PREFIX ZGEES_F77(Teuchos_fcd, Teuchos_fcd, int* select, const int* n, complex<double>* a, const int* lda, int* sdim, complex<double>* w, complex<double>* vs, const int* ldvs, complex<double>* work, const int* lwork, double* rwork, int* bwork, int* info);
00580 void PREFIX ZTREVC_F77(Teuchos_fcd, Teuchos_fcd, int* select, const int* n, const complex<double>* t, const int* ldt, complex<double>* vl, const int* ldvl, complex<double>* vr, const int* ldvr, const int* mm, int* m, complex<double>* work, double* rwork, int* info); 
00581 void PREFIX ZTREXC_F77(Teuchos_fcd, const int* n, complex<double>* t, const int* ldt, complex<double>* q, const int* ldq, int* ifst, int* ilst, int* info);
00582 
00583 // Single precision complex LAPACK eigen solvers
00584 void PREFIX CSTEQR_F77(Teuchos_fcd, const int* n, complex<float>* D, complex<float>* E, complex<float>* Z, const int* ldz, complex<float>* work, int* info);
00585 void PREFIX CGEEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, complex<float>* a, const int* lda, complex<float>* wr, complex<float>* vl, const int* ldvl, complex<float>* vr, const int* ldvr, complex<float>* work, const int* lwork, float* rwork, int* info);
00586 void PREFIX CGEHRD_F77(const int* n, const int* ilo, const int* ihi, complex<float>* A, const int* lda, complex<float>* tau, complex<float>* work, const int* lwork, int* info);
00587 void PREFIX CHSEQR_F77(Teuchos_fcd job, Teuchos_fcd, const int* n, const int* ilo, const int* ihi, complex<float>* h, const int* ldh, complex<float>* w, complex<float>* z, const int* ldz, complex<float>* work, const int* lwork, int* info);
00588 void PREFIX CGEES_F77(Teuchos_fcd, Teuchos_fcd, int* select, const int* n, complex<float>* a, const int* lda, int* sdim, complex<float>* w, complex<float>* vs, const int* ldvs, complex<float>* work, const int* lwork, float* rwork, int* bwork, int* info);
00589 void PREFIX CTREVC_F77(Teuchos_fcd, Teuchos_fcd, int* select, const int* n, const complex<float>* t, const int* ldt, complex<float>* vl, const int* ldvl, complex<float>* vr, const int* ldvr, const int* mm, int* m, complex<float>* work, float* rwork, int* info); 
00590 void PREFIX CTREXC_F77(Teuchos_fcd, const int* n, complex<float>* t, const int* ldt, complex<float>* q, const int* ldq, int* ifst, int* ilst, int* info);
00591 
00592 complex<float> PREFIX CLARND_F77(const int* idist, int* seed);
00593 complex<double> PREFIX ZLARND_F77(const int* idist, int* seed);
00594 
00595 void PREFIX CLARNV_F77(const int* idist, int* seed, const int* n, complex<float>* v);
00596 void PREFIX ZLARNV_F77(const int* idist, int* seed, const int* n, complex<double>* v);
00597 
00598 #endif /* HAVE_TEUCHOS_COMPLEX */
00599 
00600 #ifdef __cplusplus
00601 }
00602 
00603 #endif
00604 
00605 #endif // end of TEUCHOS_LAPACK_WRAPPERS_HPP_

Generated on Thu Sep 18 12:42:50 2008 for Teuchos - Trilinos Tools Package by doxygen 1.3.9.1