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 #ifndef _TEUCHOS_LAPACK_WRAPPERS_HPP_
00030 #define _TEUCHOS_LAPACK_WRAPPERS_HPP_
00031 
00032 #include "Teuchos_ConfigDefs.hpp"
00033 
00037 /* Define fcd (Fortran Teuchos_fcd descriptor) for non-standard situations */
00038 
00039 #if defined(CRAY_T3X) || defined(INTEL_CXML) || defined(INTEL_MKL)
00040 
00041 #if defined(CRAY_T3X)
00042 
00043 #include <fortran.h>
00044 #define PREFIX
00045 #define Teuchos_fcd fcd 
00046 
00047 #define DGEQRF_F77  F77_FUNC(sgeqrf,SGEQRF)
00048 #define DGETRF_F77  F77_FUNC(sgetrf,SGETRF)
00049 #define DGETRS_F77  F77_FUNC(sgetrs,SGETRS)
00050 #define DGTTRF_F77  F77_FUNC(sgttrf,SGTTRF)
00051 #define DGTTRS_F77  F77_FUNC(sgttrs,SGTTRS)
00052 #define DPTTRF_F77  F77_FUNC(spttrf,SPTTRF)
00053 #define DPTTRS_F77  F77_FUNC(spttrs,SPTTRS)
00054 #define DGETRI_F77  F77_FUNC(sgetri,SGETRI)
00055 #define DGERFS_F77  F77_FUNC(sgerfs,SGERFS)
00056 #define DGECON_F77  F77_FUNC(sgecon,SGECON)
00057 #define DGESVX_F77  F77_FUNC(sgesvx,SGESVX)
00058 #define DGESV_F77   F77_FUNC(sgesv,SGESV)
00059 #define DGEEQU_F77  F77_FUNC(sgeequ,SGEEQU)
00060 #define DSYTRD_F77  F77_FUNC(ssytrd,SSYTRD)
00061 #define DPOTRF_F77  F77_FUNC(spotrf,SPOTRF)
00062 #define DPOTRS_F77  F77_FUNC(spotrs,SPOTRS)
00063 #define DPOTRI_F77  F77_FUNC(spotri,SPOTRI)
00064 #define DPOCON_F77  F77_FUNC(spocon,SPOCON)
00065 #define DPOSV_F77   F77_FUNC(sposv,SPOSV)
00066 #define DPOEQU_F77  F77_FUNC(spoequ,SPOEQU)
00067 #define DPORFS_F77  F77_FUNC(sporfs,SPORFS)
00068 #define DPOSVX_F77  F77_FUNC(sposvx,SPOSVX)
00069 #define DLAMCH_F77  F77_FUNC(slamch,SLAMCH)
00070 #define DTRTRS_F77  F77_FUNC(strtrs,STRTRS)
00071 #define DGELS_F77   F77_FUNC(sgels,SGELS)
00072 #define DGEEV_F77   F77_FUNC(sgeev,SGEEV)
00073 #define DGGEVX_F77  F77_FUNC(sggevx,SGGEVX)
00074 #define DGEHRD_F77  F77_FUNC(sgehrd,SGEHRD)
00075 #define DHSEQR_F77  F77_FUNC(shseqr,SHSEQR)
00076 #define DORMQR_F77  F77_FUNC(sormqr,SORMQR)
00077 #define DORGQR_F77  F77_FUNC(sorgqr,SORGQR)
00078 #define DORGHR_F77  F77_FUNC(sorghr,SORGHR)
00079 #define DORMHR_F77  F77_FUNC(sormhr,SORMHR)
00080 #define DTREVC_F77  F77_FUNC(strevc,STREVC)
00081 #define DTREXC_F77  F77_FUNC(strexc,STREXC)
00082 #define DGEES_F77   F77_FUNC(sgees,SGEES)
00083 #define DSPEV_F77   F77_FUNC(sspev,SSPEV)
00084 #define DSYEV_F77   F77_FUNC(ssyev,SSYEV)
00085 #define DSYGV_F77   F77_FUNC(ssygv,SSYGV)
00086 #define DSTEQR_F77  F77_FUNC(ssteqr,SSTEQR)
00087 #define DLAPY2_F77  F77_FUNC(slapy2,SLAPY2)
00088 #define DLARTG_F77  F77_FUNC(slartg,SLARTG)
00089 #define DLARFG_F77  F77_FUNC(slarfg,SLARFG)
00090 #define DLARND_F77  F77_FUNC(slarnd,SLARND)
00091 #define DLARNV_F77  F77_FUNC(slarnv,SLARNV)
00092 #define ILAENV_F77  F77_FUNC(ilaenv,ILAENV)
00093 
00094 #ifdef HAVE_TEUCHOS_COMPLEX
00095 
00096 #define ZGEQRF_F77  F77_FUNC(cgeqrf,CGEQRF)
00097 #define ZUNGQR_F77  F77_FUNC(cungqr,CUNGQR)
00098 #define ZGETRF_F77  F77_FUNC(cgetrf,CGETRF)
00099 #define ZGETRS_F77  F77_FUNC(cgetrs,CGETRS)
00100 #define ZGTTRF_F77  F77_FUNC(cgttrf,CGTTRF)
00101 #define ZGTTRS_F77  F77_FUNC(cgttrs,CGTTRS)
00102 #define ZPTTRF_F77  F77_FUNC(cpttrf,CPTTRF)
00103 #define ZPTTRS_F77  F77_FUNC(cpttrs,CPTTRS)
00104 #define ZGETRI_F77  F77_FUNC(cgetri,CGETRI)
00105 #define ZGERFS_F77  F77_FUNC(cgerfs,CGERFS)
00106 #define ZGECON_F77  F77_FUNC(cgecon,CGECON)
00107 #define ZGESVX_F77  F77_FUNC(cgesvx,CGESVX)
00108 #define ZGESV_F77   F77_FUNC(cgesv,CGESV)
00109 #define ZGEEQU_F77  F77_FUNC(cgeequ,CGEEQU)
00110 #define ZPOTRF_F77  F77_FUNC(cpotrf,CPOTRF)
00111 #define ZPOTRS_F77  F77_FUNC(cpotrs,CPOTRS)
00112 #define ZPOTRI_F77  F77_FUNC(cpotri,CPOTRI)
00113 #define ZPOCON_F77  F77_FUNC(cpocon,CPOCON)
00114 #define ZPOSV_F77   F77_FUNC(cposv,CPOSV)
00115 #define ZPOEQU_F77  F77_FUNC(cpoequ,CPOEQU)
00116 #define ZPORFS_F77  F77_FUNC(cporfs,CPORFS)
00117 #define ZPOSVX_F77  F77_FUNC(cposvx,CPOSVX)
00118 #define ZTRTRS_F77  F77_FUNC(ctrtrs,CTRTRS)
00119 #define ZGELS_F77   F77_FUNC(cgels,CGELS)
00120 #define ZGEEV_F77   F77_FUNC(cgeev,CGEEV)
00121 //#define ZGGEVX_F77  F77_FUNC(cggevx,CGGEVX)
00122 #define ZGEHRD_F77  F77_FUNC(cgehrd,CGEHRD)
00123 #define ZHSEQR_F77  F77_FUNC(chseqr,CHSEQR)
00124 #define ZTREVC_F77  F77_FUNC(ctrevc,CTREVC)
00125 #define ZTREXC_F77  F77_FUNC(ctrexc,CTREXC)
00126 #define ZGEES_F77   F77_FUNC(cgees,CGEES)
00127 #define ZSTEQR_F77  F77_FUNC(csteqr,CSTEQR)
00128 #define ZHEEV_F77   F77_FUNC(cheev,CHEEV)
00129 #define ZHEGV_F77   F77_FUNC(chegv,CHEGV)
00130 #define ZLARTG_F77  F77_FUNC(clartg,cLARTG)
00131 #define ZLARFG_F77  F77_FUNC(clarfg,cLARFG)
00132 #define ZLARND_F77  F77_FUNC(clarnd,CLARND)
00133 #define ZLARNV_F77  F77_FUNC(clarnv,CLARNV)
00134 
00135 #endif /* HAVE_TEUCHOS_COMPLEX */
00136 
00137 #elif defined(INTEL_CXML)
00138 
00139 #define PREFIX __stdcall 
00140 #define Teuchos_fcd const char *, unsigned int 
00141 
00142 #define DGEQRF_F77  F77_FUNC(dgeqrf,DGEQRF)
00143 #define DGETRF_F77  F77_FUNC(dgetrf,DGETRF)
00144 #define DGETRS_F77  F77_FUNC(dgetrs,DGETRS)
00145 #define DGTTRF_F77  F77_FUNC(dgttrf,DGTTRF)
00146 #define DGTTRS_F77  F77_FUNC(dgttrs,DGTTRS)
00147 #define DPTTRF_F77  F77_FUNC(dpttrf,DPTTRF)
00148 #define DPTTRS_F77  F77_FUNC(dpttrs,DPTTRS)
00149 #define DGETRI_F77  F77_FUNC(dgetri,DGETRI)
00150 #define DGERFS_F77  F77_FUNC(dgerfs,DGERFS)
00151 #define DGECON_F77  F77_FUNC(dgecon,DGECON)
00152 #define DGESVX_F77  F77_FUNC(dgesvx,DGESVX)
00153 #define DGESV_F77   F77_FUNC(dgesv,DGESV)
00154 #define DGEEQU_F77  F77_FUNC(dgeequ,DGEEQU)
00155 #define DSYTRD_F77  F77_FUNC(dsytrd,DSYTRD)
00156 #define DPOTRF_F77  F77_FUNC(dpotrf,DPOTRF)
00157 #define DPOTRS_F77  F77_FUNC(dpotrs,DPOTRS)
00158 #define DPOTRI_F77  F77_FUNC(dpotri,DPOTRI)
00159 #define DPOCON_F77  F77_FUNC(dpocon,DPOCON)
00160 #define DPOSV_F77   F77_FUNC(dposv,DPOSV)
00161 #define DPOEQU_F77  F77_FUNC(dpoequ,DPOEQU)
00162 #define DPORFS_F77  F77_FUNC(dporfs,DPORFS)
00163 #define DPOSVX_F77  F77_FUNC(dposvx,DPOSVX)
00164 #define DTRTRS_F77  F77_FUNC(dtrtrs,DTRTRS)
00165 #define DLAMCH_F77  F77_FUNC(dlamch,DLAMCH)
00166 #define DGELS_F77   F77_FUNC(dgels,DGELS)
00167 #define DGEEV_F77   F77_FUNC(dgeev,DGEEV)
00168 #define DGGEVX_F77  F77_FUNC(dggevx,DGGEVX)
00169 #define DGEHRD_F77  F77_FUNC(dgehrd,DGEHRD)
00170 #define DHSEQR_F77  F77_FUNC(dhseqr,DHSEQR)
00171 #define DORGHR_F77  F77_FUNC(dorghr,DORGHR)
00172 #define DORGQR_F77  F77_FUNC(dorgqr,DORGQR)
00173 #define DORMHR_F77  F77_FUNC(dormhr,DORMHR)
00174 #define DORMQR_F77  F77_FUNC(dormqr,DORMQR)
00175 #define DTREVC_F77  F77_FUNC(dtrevc,DTREVC)
00176 #define DTREXC_F77  F77_FUNC(dtrexc,DTREXC)
00177 #define DGEES_F77   F77_FUNC(dgees,DGEES)
00178 #define DSPEV_F77   F77_FUNC(dspev,DSPEV)
00179 #define DSYEV_F77   F77_FUNC(dsyev,DSYEV)
00180 #define DSYGV_F77   F77_FUNC(dsygv,DSYGV)
00181 #define DSTEQR_F77  F77_FUNC(dsteqr,DSTEQR)
00182 #define DLAPY2_F77  F77_FUNC(dlapy2,DLAPY2)
00183 #define DLARTG_F77  F77_FUNC(dlartg,DLARTG)
00184 #define DLARFG_F77  F77_FUNC(dlarfg,DLARFG)
00185 #define DLARND_F77  F77_FUNC(dlarnd,DLARND)
00186 #define DLARNV_F77  F77_FUNC(dlarnv,DLARNV)
00187 #define ILAENV_F77  F77_FUNC(ilaenv,ILAENV)
00188 
00189 #ifdef HAVE_TEUCHOS_COMPLEX
00190 
00191 #define ZGEQRF_F77  F77_FUNC(zgeqrf,ZGEQRF)
00192 #define ZUNGQR_F77  F77_FUNC(zungqr,ZUNGQR)
00193 #define ZGETRF_F77  F77_FUNC(zgetrf,ZGETRF)
00194 #define ZGETRS_F77  F77_FUNC(zgetrs,ZGETRS)
00195 #define ZGTTRF_F77  F77_FUNC(zgttrf,ZGTTRF)
00196 #define ZGTTRS_F77  F77_FUNC(zgttrs,ZGTTRS)
00197 #define ZPTTRF_F77  F77_FUNC(zpttrf,ZPTTRF)
00198 #define ZPTTRS_F77  F77_FUNC(zpttrs,ZPTTRS)
00199 #define ZGETRI_F77  F77_FUNC(zgetri,ZGETRI)
00200 #define ZGERFS_F77  F77_FUNC(zgerfs,ZGERFS)
00201 #define ZGECON_F77  F77_FUNC(zgecon,ZGECON)
00202 #define ZGESVX_F77  F77_FUNC(zgesvx,ZGESVX)
00203 #define ZGESV_F77   F77_FUNC(zgesv,ZGESV)
00204 #define ZGEEQU_F77  F77_FUNC(zgeequ,ZGEEQU)
00205 #define ZPOTRF_F77  F77_FUNC(zpotrf,ZPOTRF)
00206 #define ZPOTRS_F77  F77_FUNC(zpotrs,ZPOTRS)
00207 #define ZPOTRI_F77  F77_FUNC(zpotri,ZPOTRI)
00208 #define ZPOCON_F77  F77_FUNC(zpocon,ZPOCON)
00209 #define ZPOSV_F77   F77_FUNC(zposv,ZPOSV)
00210 #define ZPOEQU_F77  F77_FUNC(zpoequ,ZPOEQU)
00211 #define ZPORFS_F77  F77_FUNC(zporfs,ZPORFS)
00212 #define ZPOSVX_F77  F77_FUNC(zposvx,ZPOSVX)
00213 #define ZTRTRS_F77  F77_FUNC(ztrtrs,ZTRTRS)
00214 #define ZGELS_F77   F77_FUNC(zgels,ZGELS)
00215 #define ZGEEV_F77   F77_FUNC(zgeev,ZGEEV)
00216 //#define ZGGEVX_F77  F77_FUNC(zggevx,ZGGEVX)
00217 #define ZGEHRD_F77  F77_FUNC(zgehrd,ZGEHRD)
00218 #define ZHSEQR_F77  F77_FUNC(zhseqr,ZHSEQR)
00219 #define ZTREVC_F77  F77_FUNC(ztrevc,ZTREVC)
00220 #define ZTREXC_F77  F77_FUNC(ztrexc,ZTREXC)
00221 #define ZGEES_F77   F77_FUNC(zgees,ZGEES)
00222 #define ZSTEQR_F77  F77_FUNC(zsteqr,ZSTEQR)
00223 #define ZHEEV_F77   F77_FUNC(zheev,ZHEEV)
00224 #define ZHEGV_F77   F77_FUNC(zhegv,ZHEGV)
00225 #define ZLARTG_F77  F77_FUNC(zlartg,ZLARTG)
00226 #define ZLARFG_F77  F77_FUNC(zlarfg,ZLARFG)
00227 #define ZLARND_F77  F77_FUNC(zlarnd,ZLARND)
00228 #define ZLARNV_F77  F77_FUNC(zlarnv,ZLARNV)
00229 
00230 #endif /* HAVE_TEUCHOS_COMPLEX */
00231 
00232 #elif defined(INTEL_MKL)
00233 
00234 #define PREFIX
00235 #define Teuchos_fcd const char *
00236 
00237 #define DGEQRF_F77  F77_FUNC(dgeqrf,DGEQRF)
00238 #define DGETRF_F77  F77_FUNC(dgetrf,DGETRF)
00239 #define DGETRS_F77  F77_FUNC(dgetrs,DGETRS)
00240 #define DGTTRF_F77  F77_FUNC(dgttrf,DGTTRF)
00241 #define DGTTRS_F77  F77_FUNC(dgttrs,DGTTRS)
00242 #define DPTTRF_F77  F77_FUNC(dpttrf,DPTTRF)
00243 #define DPTTRS_F77  F77_FUNC(dpttrs,DPTTRS)
00244 #define DGETRI_F77  F77_FUNC(dgetri,DGETRI)
00245 #define DGERFS_F77  F77_FUNC(dgerfs,DGERFS)
00246 #define DGECON_F77  F77_FUNC(dgecon,DGECON)
00247 #define DGESVX_F77  F77_FUNC(dgesvx,DGESVX)
00248 #define DGESV_F77   F77_FUNC(dgesv,DGESV)
00249 #define DGEEQU_F77  F77_FUNC(dgeequ,DGEEQU)
00250 #define DSYTRD_F77  F77_FUNC(dsytrd,DSYTRD)
00251 #define DPOTRF_F77  F77_FUNC(dpotrf,DPOTRF)
00252 #define DPOTRS_F77  F77_FUNC(dpotrs,DPOTRS)
00253 #define DPOTRI_F77  F77_FUNC(dpotri,DPOTRI)
00254 #define DPOCON_F77  F77_FUNC(dpocon,DPOCON)
00255 #define DPOSV_F77   F77_FUNC(dposv,DPOSV)
00256 #define DPOEQU_F77  F77_FUNC(dpoequ,DPOEQU)
00257 #define DPORFS_F77  F77_FUNC(dporfs,DPORFS)
00258 #define DPOSVX_F77  F77_FUNC(dposvx,DPOSVX)
00259 #define DTRTRS_F77  F77_FUNC(dtrtrs,DTRTRS)
00260 #define DLAMCH_F77  F77_FUNC(dlamch,DLAMCH)
00261 #define DGELS_F77   F77_FUNC(dgels,DGELS)
00262 #define DGEEV_F77   F77_FUNC(dgeev,DGEEV)
00263 #define DGGEVX_F77  F77_FUNC(dggevx,DGGEVX)
00264 #define DGEHRD_F77  F77_FUNC(dgehrd,DGEHRD)
00265 #define DHSEQR_F77  F77_FUNC(dhseqr,DHSEQR)
00266 #define DORGHR_F77  F77_FUNC(dorghr,DORGHR)
00267 #define DORGQR_F77  F77_FUNC(dorgqr,DORGQR)
00268 #define DORMHR_F77  F77_FUNC(dormhr,DORMHR)
00269 #define DORMQR_F77  F77_FUNC(dormqr,DORMQR)
00270 #define DTREVC_F77  F77_FUNC(dtrevc,DTREVC)
00271 #define DTREXC_F77  F77_FUNC(dtrexc,DTREXC)
00272 #define DGEES_F77   F77_FUNC(dgees,DGEES)
00273 #define DSPEV_F77   F77_FUNC(dspev,DSPEV)
00274 #define DSYEV_F77   F77_FUNC(dsyev,DSYEV)
00275 #define DSYGV_F77   F77_FUNC(dsygv,DSYGV)
00276 #define DSTEQR_F77  F77_FUNC(dsteqr,DSTEQR)
00277 #define DLAPY2_F77  F77_FUNC(dlapy2,DLAPY2)
00278 #define DLARTG_F77  F77_FUNC(dlartg,DLARTG)
00279 #define DLARFG_F77  F77_FUNC(dlarfg,DLARFG)
00280 #define DLARND_F77  F77_FUNC(dlarnd,DLARND)
00281 #define DLARNV_F77  F77_FUNC(dlarnv,DLARNV)
00282 #define ILAENV_F77  F77_FUNC(ilaenv,ILAENV)
00283 
00284 #ifdef HAVE_TEUCHOS_COMPLEX
00285 
00286 #define ZGEQRF_F77  F77_FUNC(zgeqrf,ZGEQRF)
00287 #define ZUNGQR_F77  F77_FUNC(zungqr,ZUNGQR)
00288 #define ZGTTRF_F77  F77_FUNC(zgttrf,ZGTTRF)
00289 #define ZGTTRS_F77  F77_FUNC(zgttrs,ZGTTRS)
00290 #define ZPTTRF_F77  F77_FUNC(zpttrf,ZPTTRF)
00291 #define ZPTTRS_F77  F77_FUNC(zpttrs,ZPTTRS)
00292 #define ZGETRF_F77  F77_FUNC(zgetrf,ZGETRF)
00293 #define ZGETRS_F77  F77_FUNC(zgetrs,ZGETRS)
00294 #define ZGETRI_F77  F77_FUNC(zgetri,ZGETRI)
00295 #define ZGERFS_F77  F77_FUNC(zgerfs,ZGERFS)
00296 #define ZGECON_F77  F77_FUNC(zgecon,ZGECON)
00297 #define ZGESVX_F77  F77_FUNC(zgesvx,ZGESVX)
00298 #define ZGESV_F77   F77_FUNC(zgesv,ZGESV)
00299 #define ZGEEQU_F77  F77_FUNC(zgeequ,ZGEEQU)
00300 #define ZPOTRF_F77  F77_FUNC(zpotrf,ZPOTRF)
00301 #define ZPOTRS_F77  F77_FUNC(zpotrs,ZPOTRS)
00302 #define ZPOTRI_F77  F77_FUNC(zpotri,ZPOTRI)
00303 #define ZPOCON_F77  F77_FUNC(zpocon,ZPOCON)
00304 #define ZPOSV_F77   F77_FUNC(zposv,ZPOSV)
00305 #define ZPOEQU_F77  F77_FUNC(zpoequ,ZPOEQU)
00306 #define ZPORFS_F77  F77_FUNC(zporfs,ZPORFS)
00307 #define ZPOSVX_F77  F77_FUNC(zposvx,ZPOSVX)
00308 #define ZTRTRS_F77  F77_FUNC(ztrtrs,ZTRTRS)
00309 #define ZGELS_F77   F77_FUNC(zgels,ZGELS)
00310 #define ZGEEV_F77   F77_FUNC(zgeev,ZGEEV)
00311 //#define ZGGEVX_F77  F77_FUNC(zggevx,ZGGEVX)
00312 #define ZGEHRD_F77  F77_FUNC(zgehrd,ZGEHRD)
00313 #define ZHSEQR_F77  F77_FUNC(zhseqr,ZHSEQR)
00314 #define ZTREVC_F77  F77_FUNC(ztrevc,ZTREVC)
00315 #define ZTREXC_F77  F77_FUNC(ztrexc,ZTREXC)
00316 #define ZGEES_F77   F77_FUNC(zgees,ZGEES)
00317 #define ZSTEQR_F77  F77_FUNC(zsteqr,ZSTEQR)
00318 #define ZHEEV_F77   F77_FUNC(zheev,ZHEEV)
00319 #define ZHEGV_F77   F77_FUNC(zhegv,ZHEGV)
00320 #define ZLARTG_F77  F77_FUNC(zlartg,ZLARTG)
00321 #define ZLARFG_F77  F77_FUNC(zlarfg,ZLARFG)
00322 #define ZLARND_F77  F77_FUNC(zlarnd,ZLARND)
00323 #define ZLARNV_F77  F77_FUNC(zlarnv,ZLARNV)
00324 
00325 #endif /* HAVE_TEUCHOS_COMPLEX */
00326 
00327 #endif /* defined(CRAY_T3X) || defined(INTEL_CXML) || defined(INTEL_MKL) */
00328 
00329 /* All three of these machines use a simple uppercase mangling of Fortran names */
00330 
00331 /* if F77_FUNC is defined undefine it because we want to redefine */
00332 
00333 #ifdef F77_FUNC
00334 #undef F77_FUNC
00335 #endif
00336 
00337 #define F77_FUNC(lcase,UCASE) PREFIX UCASE
00338 
00339 #else /* Define Teuchos_fcd for all other machines */
00340 
00341 #define PREFIX
00342 #define Teuchos_fcd const char * 
00343 
00344 #ifndef HAVE_CONFIG_H
00345 
00346 #ifdef F77_FUNC
00347 #undef F77_FUNC
00348 #endif
00349 
00350 #ifdef TRILINOS_HAVE_NO_FORTRAN_UNDERSCORE
00351 #define F77_FUNC(lcase,UCASE) lcase
00352 #else /* TRILINOS_HAVE_NO_FORTRAN_UNDERSCORE not defined*/
00353 #define F77_FUNC(lcase,UCASE) lcase ## _
00354 #endif /* TRILINOS_HAVE_NO_FORTRAN_UNDERSCORE */
00355 
00356 #endif /* HAVE_CONFIG_H */
00357 
00358 #define DGEQRF_F77  F77_FUNC(dgeqrf,DGEQRF)
00359 #define DGETRF_F77  F77_FUNC(dgetrf,DGETRF)
00360 #define DGETRS_F77  F77_FUNC(dgetrs,DGETRS)
00361 #define DGTTRF_F77  F77_FUNC(dgttrf,DGTTRF)
00362 #define DGTTRS_F77  F77_FUNC(dgttrs,DGTTRS)
00363 #define DPTTRF_F77  F77_FUNC(dpttrf,DPTTRF)
00364 #define DPTTRS_F77  F77_FUNC(dpttrs,DPTTRS)
00365 #define DGETRI_F77  F77_FUNC(dgetri,DGETRI)
00366 #define DGERFS_F77  F77_FUNC(dgerfs,DGERFS)
00367 #define DGECON_F77  F77_FUNC(dgecon,DGECON)
00368 #define DGESVX_F77  F77_FUNC(dgesvx,DGESVX)
00369 #define DGESV_F77   F77_FUNC(dgesv,DGESV)
00370 #define DGEEQU_F77  F77_FUNC(dgeequ,DGEEQU)
00371 #define DSYTRD_F77  F77_FUNC(dsytrd,DSYTRD)
00372 #define DPOTRF_F77  F77_FUNC(dpotrf,DPOTRF)
00373 #define DPOTRS_F77  F77_FUNC(dpotrs,DPOTRS)
00374 #define DPOTRI_F77  F77_FUNC(dpotri,DPOTRI)
00375 #define DPOCON_F77  F77_FUNC(dpocon,DPOCON)
00376 #define DPOSV_F77   F77_FUNC(dposv,DPOSV)
00377 #define DPOEQU_F77  F77_FUNC(dpoequ,DPOEQU)
00378 #define DPORFS_F77  F77_FUNC(dporfs,DPORFS)
00379 #define DPOSVX_F77  F77_FUNC(dposvx,DPOSVX)
00380 #define DTRTRS_F77  F77_FUNC(dtrtrs,DTRTRS)
00381 #define DLAMCH_F77  F77_FUNC(dlamch,DLAMCH)
00382 #define DGELS_F77   F77_FUNC(dgels,DGELS)
00383 #define DGEEV_F77   F77_FUNC(dgeev,DGEEV)
00384 #define DGGEVX_F77  F77_FUNC(dggevx,DGGEVX)
00385 #define DGEHRD_F77  F77_FUNC(dgehrd,DGEHRD)
00386 #define DHSEQR_F77  F77_FUNC(dhseqr,DHSEQR)
00387 #define DORGHR_F77  F77_FUNC(dorghr,DORGHR)
00388 #define DORGQR_F77  F77_FUNC(dorgqr,DORGQR)
00389 #define DORMHR_F77  F77_FUNC(dormhr,DORMHR)
00390 #define DORMQR_F77  F77_FUNC(dormqr,DORMQR)
00391 #define DTREVC_F77  F77_FUNC(dtrevc,DTREVC)
00392 #define DTREXC_F77  F77_FUNC(dtrexc,DTREXC)
00393 #define DGEES_F77   F77_FUNC(dgees,DGEES)
00394 #define DSPEV_F77   F77_FUNC(dspev,DSPEV)
00395 #define DSYEV_F77   F77_FUNC(dsyev,DSYEV)
00396 #define DSYGV_F77   F77_FUNC(dsygv,DSYGV)
00397 #define DSTEQR_F77  F77_FUNC(dsteqr,DSTEQR)
00398 #define DLAPY2_F77  F77_FUNC(dlapy2,DLAPY2)
00399 #define DLARND_F77  F77_FUNC(dlarnd,DLARND)
00400 #define DLARNV_F77  F77_FUNC(dlarnv,DLARNV)
00401 #define DLARTG_F77  F77_FUNC(dlartg,DLARTG)
00402 #define DLARFG_F77  F77_FUNC(dlarfg,DLARFG)
00403 #define ILAENV_F77  F77_FUNC(ilaenv,ILAENV)
00404 
00405 #ifdef HAVE_TEUCHOS_COMPLEX
00406 
00407 #define ZGEQRF_F77  F77_FUNC(zgeqrf,ZGEQRF)
00408 #define ZUNGQR_F77  F77_FUNC(zungqr,ZUNGQR)
00409 #define ZGETRF_F77  F77_FUNC(zgetrf,ZGETRF)
00410 #define ZGETRS_F77  F77_FUNC(zgetrs,ZGETRS)
00411 #define ZGTTRF_F77  F77_FUNC(zgttrf,ZGTTRF)
00412 #define ZGTTRS_F77  F77_FUNC(zgttrs,ZGTTRS)
00413 #define ZPTTRF_F77  F77_FUNC(zpttrf,ZPTTRF)
00414 #define ZPTTRS_F77  F77_FUNC(zpttrs,ZPTTRS)
00415 #define ZGETRI_F77  F77_FUNC(zgetri,ZGETRI)
00416 #define ZGERFS_F77  F77_FUNC(zgerfs,ZGERFS)
00417 #define ZGECON_F77  F77_FUNC(zgecon,ZGECON)
00418 #define ZGESVX_F77  F77_FUNC(zgesvx,ZGESVX)
00419 #define ZGESV_F77   F77_FUNC(zgesv,ZGESV)
00420 #define ZGEEQU_F77  F77_FUNC(zgeequ,ZGEEQU)
00421 #define ZPOTRF_F77  F77_FUNC(zpotrf,ZPOTRF)
00422 #define ZPOTRS_F77  F77_FUNC(zpotrs,ZPOTRS)
00423 #define ZPOTRI_F77  F77_FUNC(zpotri,ZPOTRI)
00424 #define ZPOCON_F77  F77_FUNC(zpocon,ZPOCON)
00425 #define ZPOSV_F77   F77_FUNC(zposv,ZPOSV)
00426 #define ZPOEQU_F77  F77_FUNC(zpoequ,ZPOEQU)
00427 #define ZPORFS_F77  F77_FUNC(zporfs,ZPORFS)
00428 #define ZPOSVX_F77  F77_FUNC(zposvx,ZPOSVX)
00429 #define ZTRTRS_F77  F77_FUNC(ztrtrs,ZTRTRS)
00430 #define ZGELS_F77   F77_FUNC(zgels,ZGELS)
00431 #define ZGEEV_F77   F77_FUNC(zgeev,ZGEEV)
00432 //#define ZGGEVX_F77  F77_FUNC(zggevx,ZGGEVX)
00433 #define ZGEHRD_F77  F77_FUNC(zgehrd,ZGEHRD)
00434 #define ZHSEQR_F77  F77_FUNC(zhseqr,ZHSEQR)
00435 #define ZTREVC_F77  F77_FUNC(ztrevc,ZTREVC)
00436 #define ZTREXC_F77  F77_FUNC(ztrexc,ZTREXC)
00437 #define ZGEES_F77   F77_FUNC(zgees,ZGEES)
00438 #define ZSTEQR_F77  F77_FUNC(zsteqr,ZSTEQR)
00439 #define ZHEEV_F77   F77_FUNC(zheev,ZHEEV)
00440 #define ZHEGV_F77   F77_FUNC(zhegv,ZHEGV)
00441 #define ZLARTG_F77  F77_FUNC(zlartg,ZLARTG)
00442 #define ZLARFG_F77  F77_FUNC(zlarfg,ZLARFG)
00443 #define ZLARND_F77  F77_FUNC(zlarnd,ZLARND)
00444 #define ZLARNV_F77  F77_FUNC(zlarnv,ZLARNV)
00445 
00446 #endif /* HAVE_TEUCHOS_COMPLEX */
00447 
00448 #endif
00449 
00450 #define SGEQRF_F77  F77_FUNC(sgeqrf,SGEQRF)
00451 #define SGETRF_F77  F77_FUNC(sgetrf,SGETRF)
00452 #define SGETRS_F77  F77_FUNC(sgetrs,SGETRS)
00453 #define SGTTRF_F77  F77_FUNC(sgttrf,SGTTRF)
00454 #define SGTTRS_F77  F77_FUNC(sgttrs,SGTTRS)
00455 #define SPTTRF_F77  F77_FUNC(spttrf,SPTTRF)
00456 #define SPTTRS_F77  F77_FUNC(spttrs,SPTTRS)
00457 #define SGETRI_F77  F77_FUNC(sgetri,SGETRI)
00458 #define SGERFS_F77  F77_FUNC(sgerfs,SGERFS)
00459 #define SGECON_F77  F77_FUNC(sgecon,SGECON)
00460 #define SGESVX_F77  F77_FUNC(sgesvx,SGESVX)
00461 #define SGESV_F77   F77_FUNC(sgesv,SGESV)
00462 #define SGEEQU_F77  F77_FUNC(sgeequ,SGEEQU)
00463 #define SSYTRD_F77  F77_FUNC(ssytrd,SSYTRD)
00464 #define SPOTRF_F77  F77_FUNC(spotrf,SPOTRF)
00465 #define SPOTRS_F77  F77_FUNC(spotrs,SPOTRS)
00466 #define SPOTRI_F77  F77_FUNC(spotri,SPOTRI)
00467 #define SPOCON_F77  F77_FUNC(spocon,SPOCON)
00468 #define SPOSV_F77   F77_FUNC(sposv,SPOSV)
00469 #define SPOEQU_F77  F77_FUNC(spoequ,SPOEQU)
00470 #define SPORFS_F77  F77_FUNC(sporfs,SPORFS)
00471 #define SPOSVX_F77  F77_FUNC(sposvx,SPOSVX)
00472 #define STRTRS_F77  F77_FUNC(strtrs,STRTRS)
00473 #define SGELS_F77   F77_FUNC(sgels,SGELS)
00474 #define SGEEV_F77   F77_FUNC(sgeev,SGEEV)
00475 #define SGGEVX_F77  F77_FUNC(sggevx,SGGEVX)
00476 #define SGEHRD_F77  F77_FUNC(sgehrd,SGEHRD)
00477 #define SHSEQR_F77  F77_FUNC(shseqr,SHSEQR)
00478 #define SORGHR_F77  F77_FUNC(sorghr,SORGHR)
00479 #define SORGQR_F77  F77_FUNC(sorgqr,SORGQR)
00480 #define SORMHR_F77  F77_FUNC(sormhr,SORMHR)
00481 #define SORMQR_F77  F77_FUNC(sormqr,SORMQR)
00482 #define STREVC_F77  F77_FUNC(strevc,STREVC)
00483 #define STREXC_F77  F77_FUNC(strexc,STREXC)
00484 #define SLAMCH_F77  F77_FUNC(slamch,SLAMCH)
00485 #define SGEES_F77   F77_FUNC(sgees,SGEES)
00486 #define SSPEV_F77   F77_FUNC(sspev,SSPEV)
00487 #define SSYEV_F77   F77_FUNC(ssyev,SSYEV)
00488 #define SSYGV_F77   F77_FUNC(ssygv,SSYGV)
00489 #define SSTEQR_F77  F77_FUNC(ssteqr,SSTEQR)
00490 #define SLAPY2_F77  F77_FUNC(slapy2,SLAPY2)
00491 #define SLARTG_F77  F77_FUNC(slartg,SLARTG)
00492 #define SLARFG_F77  F77_FUNC(slarfg,SLARFG)
00493 #define SLARND_F77  F77_FUNC(slarnd,SLARND)
00494 #define SLARNV_F77  F77_FUNC(slarnv,SLARNV)
00495 
00496 #ifdef HAVE_TEUCHOS_COMPLEX
00497 
00498 #define CGEQRF_F77  F77_FUNC(cgeqrf,CGEQRF)
00499 #define CUNGQR_F77  F77_FUNC(cungqr,CUNGQR)
00500 #define CGETRF_F77  F77_FUNC(cgetrf,CGETRF)
00501 #define CGETRS_F77  F77_FUNC(cgetrs,CGETRS)
00502 #define CGTTRF_F77  F77_FUNC(cgttrf,CGTTRF)
00503 #define CGTTRS_F77  F77_FUNC(cgttrs,CGTTRS)
00504 #define CPTTRF_F77  F77_FUNC(cpttrf,CPTTRF)
00505 #define CPTTRS_F77  F77_FUNC(cpttrs,CPTTRS)
00506 #define CGETRI_F77  F77_FUNC(cgetri,CGETRI)
00507 #define CGERFS_F77  F77_FUNC(cgerfs,CGERFS)
00508 #define CGECON_F77  F77_FUNC(cgecon,CGECON)
00509 #define CGESVX_F77  F77_FUNC(cgesvx,CGESVX)
00510 #define CGESV_F77   F77_FUNC(cgesv,CGESV)
00511 #define CGEEQU_F77  F77_FUNC(cgeequ,CGEEQU)
00512 #define CPOTRF_F77  F77_FUNC(cpotrf,CPOTRF)
00513 #define CPOTRS_F77  F77_FUNC(cpotrs,CPOTRS)
00514 #define CPOTRI_F77  F77_FUNC(cpotri,CPOTRI)
00515 #define CPOCON_F77  F77_FUNC(cpocon,CPOCON)
00516 #define CPOSV_F77   F77_FUNC(cposv,CPOSV)
00517 #define CPOEQU_F77  F77_FUNC(cpoequ,CPOEQU)
00518 #define CPORFS_F77  F77_FUNC(cporfs,CPORFS)
00519 #define CPOSVX_F77  F77_FUNC(cposvx,CPOSVX)
00520 #define CTRTRS_F77  F77_FUNC(ctrtrs,CTRTRS)
00521 #define CGELS_F77   F77_FUNC(cgels,CGELS)
00522 #define CGEEV_F77   F77_FUNC(cgeev,CGEEV)
00523 //#define CGGEVX_F77  F77_FUNC(cggevx,CGGEVX)
00524 #define CGEHRD_F77  F77_FUNC(cgehrd,CGEHRD)
00525 #define CHSEQR_F77  F77_FUNC(chseqr,CHSEQR)
00526 #define CTREVC_F77  F77_FUNC(ctrevc,CTREVC)
00527 #define CTREXC_F77  F77_FUNC(ctrexc,CTREXC)
00528 #define CGEES_F77   F77_FUNC(cgees,CGEES)
00529 #define CSTEQR_F77  F77_FUNC(csteqr,CSTEQR)
00530 #define CHEEV_F77   F77_FUNC(cheev,CHEEV)
00531 #define CHEGV_F77   F77_FUNC(chegv,CHEGV)
00532 #define CLARTG_F77  F77_FUNC(clartg,CLARTG)
00533 #define CLARFG_F77  F77_FUNC(clarfg,CLARFG)
00534 #define CLARND_F77  F77_FUNC(clarnd,CLARND)
00535 #define CLARNV_F77  F77_FUNC(clarnv,CLARNV)
00536 
00537 #endif /* HAVE_TEUCHOS_COMPLEX */
00538 
00539 #ifdef __cplusplus
00540 extern "C" {
00541 #endif
00542 
00543 // Double precision LAPACK linear solvers
00544 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);
00545 void PREFIX DGEQRF_F77(const int* m, const int* n, double* a, const int* lda, double* tau, double* work, const int* lwork, int* info);
00546 void PREFIX DGETRF_F77(const int* m, const int* n, double* a, const int* lda, int* ipiv, int* info); 
00547 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);
00548 void PREFIX DGTTRF_F77(const int* n, double* dl, double* d, double* du, double* du2, int* ipiv, int* info); 
00549 void PREFIX DGTTRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const double* dl, const double* d, const double* du, const double* du2, const int* ipiv, double* x , const int* ldx, int* info);
00550 void PREFIX DPTTRF_F77(const int* n, double* d, double* e, int* info); 
00551 void PREFIX DPTTRS_F77(const int* n, const int* nrhs, const double* d, const double* e, double* x , const int* ldx, int* info);
00552 void PREFIX DGETRI_F77(const int* n, double* a, const int* lda, const int* ipiv, double* work , const int* lwork, int* info);
00553 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); 
00554 void PREFIX DGESV_F77(const int* n, const int* nrhs, double* a, const int* lda, int* ipiv, double* x , const int* ldx, int* info);
00555 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); 
00556 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);
00557 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,
00558 double* c, double* b, const int* ldb, double* x, const int* ldx, double* rcond, double* ferr, double* berr, double* work, int* iwork, int* info);
00559 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);
00560 void PREFIX DPOTRF_F77(Teuchos_fcd, const int* n, double* a, const int* lda, int* info); 
00561 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);
00562 void PREFIX DPOTRI_F77(Teuchos_fcd, const int* n, double* a, const int* lda, int* info); 
00563 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); 
00564 void PREFIX DPOSV_F77(Teuchos_fcd, const int* n, const int* nrhs, double* a, const int* lda, double*x , const int* ldx, int* info);
00565 void PREFIX DPOEQU_F77(const int* n, const double* a, const int* lda, double* s, double* scond, double* amax, int* info); 
00566 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);
00567 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);
00568 void PREFIX DTRTRS_F77(Teuchos_fcd, Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, const double* a, const int* lda, double* b, const int* ldb, int* info);
00569 
00570 // Single precision LAPACK linear solvers
00571 
00572 #ifdef HAVE_TEUCHOS_BLASFLOAT
00573 
00574 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);
00575 void PREFIX SGEQRF_F77(const int* m, const int* n, float* a, const int* lda, float* tau, float* work, const int* lwork, int* info);
00576 void PREFIX SGETRF_F77(const int* m, const int* n, float* a, const int* lda, int* ipiv, int* info);
00577 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);
00578 void PREFIX SGTTRF_F77(const int* n, float* dl, float* d, float* du, float* du2, int* ipiv, int* info); 
00579 void PREFIX SGTTRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const float* dl, const float* d, const float* du, const float* du2, const int* ipiv, float* x , const int* ldx, int* info);
00580 void PREFIX SPTTRF_F77(const int* n, float* d, float* e, int* info); 
00581 void PREFIX SPTTRS_F77(const int* n, const int* nrhs, const float* d, const float* e, float* x , const int* ldx, int* info);
00582 void PREFIX SGETRI_F77(const int* n, float* a, const int* lda, const int* ipiv, float* work , const int* lwork, int* info);
00583 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); 
00584 void PREFIX SGESV_F77(const int* n, const int* nrhs, float* a, const int* lda, int* ipiv, float* x , const int* ldx, int* info);
00585 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); 
00586 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);
00587 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,
00588 float* c, float* b, const int* ldb, float* x, const int* ldx, float* rcond, float* ferr, float* berr, float* work, int* iwork, int* info);
00589 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);
00590 void PREFIX SPOTRF_F77(Teuchos_fcd, const int* n, float* a, const int* lda, int* info); 
00591 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);
00592 void PREFIX SPOTRI_F77(Teuchos_fcd, const int* n, float* a, const int* lda, int* info); 
00593 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); 
00594 void PREFIX SPOSV_F77(Teuchos_fcd, const int* n, const int* nrhs, float* a, const int* lda, float*x , const int* ldx, int* info);
00595 void PREFIX SPOEQU_F77(const int* n, const float* a, const int* lda, float* s, float* scond, float* amax, int* info); 
00596 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);
00597 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);
00598 void PREFIX STRTRS_F77(Teuchos_fcd, Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, const float* a, const int* lda, float* b, const int* ldb, int* info);
00599 
00600 #endif // HAVE_TEUCHOS_BLASFLOAT
00601 
00602 // Double precision LAPACK eigen solvers
00603 void PREFIX DSPEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, double* ap, double* w, double* z, const int* ldz, double* work, int* info);
00604 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);
00605 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);
00606 void PREFIX DSTEQR_F77(Teuchos_fcd, const int* n, double* D, double* E, double* Z, const int* ldz, double* work, int* info);
00607 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);
00608 void PREFIX DGGEVX_F77(Teuchos_fcd, Teuchos_fcd, Teuchos_fcd, Teuchos_fcd, const int* n, double* a, const int* lda, double* b, const int* ldb, double* alphar, double* alphai, double* beta, double* vl, const int* ldvl, double* vr, const int* ldvr, int* ilo, int* ihi, double* lscale, double* rscale, double* abnrm, double* bbnrm, double* rconde, double* rcondv, double* work, const int* lwork, int* iwork, int* bwork, int* info);
00609 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);
00610 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);
00611 void PREFIX DGEES_F77(Teuchos_fcd, Teuchos_fcd, int (*ptr2func)(double*, double*), 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);
00612 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);
00613 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);
00614 void PREFIX DORGQR_F77(const int* m, const int* n, const int* k, double* a, const int* lda, const double* tau, double* work, const int* lwork, int* info);
00615 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);
00616 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); 
00617 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);
00618 
00619 // Single precision LAPACK eigen solvers
00620 
00621 #ifdef HAVE_TEUCHOS_BLASFLOAT
00622 
00623 void PREFIX SSPEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, float* ap, float* w, float* z, const int* ldz, float* work, int* info);
00624 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);
00625 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);
00626 void PREFIX SSTEQR_F77(Teuchos_fcd, const int* n, float* D, float* E, float* Z, const int* ldz, float* work, int* info);
00627 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);
00628 void PREFIX SGGEVX_F77(Teuchos_fcd, Teuchos_fcd, Teuchos_fcd, Teuchos_fcd, const int* n, float* a, const int* lda, float* b, const int* ldb, float* alphar, float* alphai, float* beta, float* vl, const int* ldvl, float* vr, const int* ldvr, int* ilo, int* ihi, float* lscale, float* rscale, float* abnrm, float* bbnrm, float* rconde, float* rcondv, float* work, const int* lwork, int* iwork, int* bwork, int* info);
00629 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);
00630 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);
00631 void PREFIX SGEES_F77(Teuchos_fcd, Teuchos_fcd, int (*ptr2func)(float*, float*), 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);
00632 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);
00633 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);
00634 void PREFIX SORGQR_F77(const int* m, const int* n, const int* k, float* a, const int* lda, const float* tau, float* work, const int* lwork, int* info);
00635 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);
00636 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); 
00637 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);
00638 
00639 #endif // HAVE_TEUCHOS_BLASFLOAT
00640 
00641 void PREFIX SLARTG_F77(const float* f, const float* g, float* c, float* s, float* r);
00642 void PREFIX DLARTG_F77(const double* f, const double* g, double* c, double* s, double* r);
00643 
00644 void PREFIX SLARFG_F77(const int* n, float* alpha, float* x, const int* incx, float* tau);
00645 void PREFIX DLARFG_F77(const int* n, double* alpha, double* x, const int* incx, double* tau);
00646 
00647 float PREFIX SLARND_F77(const int* idist, int* seed);
00648 double PREFIX DLARND_F77(const int* idist, int* seed);
00649 
00650 void PREFIX SLARNV_F77(const int* idist, int* seed, const int* n, float* v);
00651 void PREFIX DLARNV_F77(const int* idist, int* seed, const int* n, double* v);
00652 
00653 float PREFIX SLAMCH_F77(Teuchos_fcd);
00654 double PREFIX DLAMCH_F77(Teuchos_fcd);
00655 
00656 #if defined(INTEL_CXML)
00657 int PREFIX ILAENV_F77( const int* ispec, const char* name, unsigned int name_length, const char* opts, unsigned int opts_length, const int* N1, const int* N2, const int* N3, const int* N4 );
00658 #else
00659 int PREFIX ILAENV_F77( const int* ispec, const char* name, const char* opts, const int* N1, const int* N2, const int* N3, const int* N4, unsigned int name_length, unsigned int opts_length );
00660 #endif
00661 
00662 float PREFIX SLAPY2_F77(const float* x, const float* y);
00663 double PREFIX DLAPY2_F77(const double* x, const double* y);
00664 
00665 #ifdef HAVE_TEUCHOS_COMPLEX
00666 
00667 // Double precision std::complex LAPACK linear solvers
00668 void PREFIX ZGELS_F77(Teuchos_fcd ch, const int* m, const int* n, const int* nrhs, std::complex<double>* a, const int* lda, std::complex<double>* b, const int* ldb, std::complex<double>* work, const int* lwork, int* info);
00669 void PREFIX ZGEQRF_F77(const int* m, const int* n, std::complex<double>* a, const int* lda, std::complex<double>* tau, std::complex<double>* work, const int* lwork, int* info);
00670 void PREFIX ZUNGQR_F77(const int* m, const int* n, const int* k, std::complex<double>* a, const int* lda, const std::complex<double>* tau, std::complex<double>* work, const int* lwork, int* info);
00671 void PREFIX ZGETRF_F77(const int* m, const int* n, std::complex<double>* a, const int* lda, int* ipiv, int* info); 
00672 void PREFIX ZGETRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const std::complex<double>* a, const int* lda,const int* ipiv, std::complex<double>* x , const int* ldx, int* info);
00673 void PREFIX ZGTTRF_F77(const int* n, std::complex<double>* dl, std::complex<double>* d, std::complex<double>* du, std::complex<double>* du2, int* ipiv, int* info); 
00674 void PREFIX ZGTTRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const std::complex<double>* dl, const std::complex<double>* d, const std::complex<double>* du, const std::complex<double>* du2, const int* ipiv, std::complex<double>* x , const int* ldx, int* info);
00675 void PREFIX ZPTTRF_F77(const int* n, std::complex<double>* d, std::complex<double>* e, int* info); 
00676 void PREFIX ZPTTRS_F77(const int* n, const int* nrhs, const std::complex<double>* d, const std::complex<double>* e, std::complex<double>* x , const int* ldx, int* info);
00677 void PREFIX ZGETRI_F77(const int* n, std::complex<double>* a, const int* lda, const int* ipiv, std::complex<double>* work , const int* lwork, int* info);
00678 void PREFIX ZGECON_F77(Teuchos_fcd norm, const int* n, const std::complex<double>* a, const int* lda, const double* anorm, double* rcond, std::complex<double>* work, double* rwork, int* info); 
00679 void PREFIX ZGESV_F77(const int* n, const int* nrhs, std::complex<double>* a, const int* lda, int* ipiv, std::complex<double>* x , const int* ldx, int* info);
00680 void PREFIX ZGEEQU_F77(const int* m, const int* n, const std::complex<double>* a, const int* lda, double* r, double* c, double* rowcnd, double* colcnd, double* amax, int* info); 
00681 void PREFIX ZGERFS_F77(Teuchos_fcd, const int* n, const int* nrhs, const std::complex<double>* a, const int* lda, const std::complex<double>* af, const int* ldaf, const int* ipiv, const std::complex<double>* b, const int* ldb, std::complex<double>* x, const int* ldx, double* ferr, double* berr, std::complex<double>* work, double* iwork, int* info);
00682 //void PREFIX ZGESVX_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, std::complex<double>* a, const int* lda, std::complex<double>* af, const int* ldaf, int* ipiv, Teuchos_fcd, double* r, double* c, std::complex<double>* b, const int* ldb, std::complex<double>* x, const int* ldx, double* rcond, double* ferr, double* berr, std::complex<double>* work, double* iwork, int* info);
00683 void PREFIX ZPOTRF_F77(Teuchos_fcd, const int* n, std::complex<double>* a, const int* lda, int* info); 
00684 void PREFIX ZPOTRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const std::complex<double>* a, const int* lda, std::complex<double>*x , const int* ldx, int* info);
00685 void PREFIX ZPOTRI_F77(Teuchos_fcd, const int* n, std::complex<double>* a, const int* lda, int* info); 
00686 void PREFIX ZPOCON_F77(Teuchos_fcd, const int* n, const std::complex<double>* a, const int* lda, const double* anorm, double* rcond, std::complex<double>* work, double* rwork, int* info); 
00687 void PREFIX ZPOSV_F77(Teuchos_fcd, const int* n, const int* nrhs, std::complex<double>* a, const int* lda, std::complex<double>*x , const int* ldx, int* info);
00688 void PREFIX ZPOEQU_F77(const int* n, const std::complex<double>* a, const int* lda, double* s, double* scond, double* amax, int* info); 
00689 void PREFIX ZPORFS_F77(Teuchos_fcd, const int* n, const int* nrhs, std::complex<double>* a, const int* lda, const std::complex<double>* af, const int* ldaf, const std::complex<double>* b, const int* ldb, std::complex<double>* x, const int* ldx, double* ferr, double* berr, std::complex<double>* work, double* rwork, int* info);
00690 void PREFIX ZPOSVX_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, std::complex<double>* a, const int* lda, std::complex<double>* af, const int* ldaf, Teuchos_fcd, double* s, std::complex<double>* b, const int* ldb, std::complex<double>* x, const int* ldx, double* rcond, double* ferr, double* berr, std::complex<double>* work, double* rwork, int* info);
00691 void PREFIX ZTRTRS_F77(Teuchos_fcd, Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, const std::complex<double>* a, const int* lda, std::complex<double>* b, const int* ldb, int* info);
00692 
00693 // Single precision std::complex LAPACK linear solvers
00694 
00695 #ifdef HAVE_TEUCHOS_BLASFLOAT
00696 
00697 void PREFIX CGELS_F77(Teuchos_fcd ch, const int* m, const int* n, const int* nrhs, std::complex<float>* a, const int* lda, std::complex<float>* b, const int* ldb, std::complex<float>* work, const int* lwork, int* info);
00698 void PREFIX CGEQRF_F77(const int* m, const int* n, std::complex<float>* a, const int* lda, std::complex<float>* tau, std::complex<float>* work, const int* lwork, int* info);
00699 void PREFIX CUNGQR_F77(const int* m, const int* n, const int* k, std::complex<float>* a, const int* lda, const std::complex<float>* tau, std::complex<float>* work, const int* lwork, int* info);
00700 void PREFIX CGETRF_F77(const int* m, const int* n, std::complex<float>* a, const int* lda, int* ipiv, int* info);
00701 void PREFIX CGETRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const std::complex<float>* a, const int* lda,const int* ipiv, std::complex<float>* x , const int* ldx, int* info);
00702 void PREFIX CGTTRF_F77(const int* n, std::complex<float>* dl, std::complex<float>* d, std::complex<float>* du, std::complex<float>* du2, int* ipiv, int* info); 
00703 void PREFIX CGTTRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const std::complex<float>* dl, const std::complex<float>* d, const std::complex<float>* du, const std::complex<float>* du2, const int* ipiv, std::complex<float>* x , const int* ldx, int* info);
00704 void PREFIX CPTTRF_F77(const int* n, std::complex<float>* d, std::complex<float>* e, int* info); 
00705 void PREFIX CPTTRS_F77(const int* n, const int* nrhs, const std::complex<float>* d, const std::complex<float>* e, std::complex<float>* x , const int* ldx, int* info);
00706 void PREFIX CGETRI_F77(const int* n, std::complex<float>* a, const int* lda, const int* ipiv, std::complex<float>* work , const int* lwork, int* info);
00707 void PREFIX CGECON_F77(Teuchos_fcd norm, const int* n, const std::complex<float>* a, const int* lda, const float* anorm, float* rcond, std::complex<float>* work, float* rwork, int* info); 
00708 void PREFIX CGESV_F77(const int* n, const int* nrhs, std::complex<float>* a, const int* lda, int* ipiv, std::complex<float>* x, const int* ldx, int* info);
00709 void PREFIX CGEEQU_F77(const int* m, const int* n, const std::complex<float>* a, const int* lda, float* r, float* c, float* rowcnd, float* colcnd, float* amax, int* info); 
00710 void PREFIX CGERFS_F77(Teuchos_fcd, const int* n, const int* nrhs, const std::complex<float>* a, const int* lda, const std::complex<float>* af, const int* ldaf, const int* ipiv, const std::complex<float>* b, const int* ldb, std::complex<float>* x, const int* ldx, float* ferr, float* berr, std::complex<float>* work, float* rwork, int* info);
00711 void PREFIX CGESVX_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, std::complex<float>* a, const int* lda, std::complex<float>* af, const int* ldaf, int* ipiv, Teuchos_fcd, float* r, float* c, std::complex<float>* b, const int* ldb, std::complex<float>* x, const int* ldx, float* rcond, float* ferr, float* berr, std::complex<float>* work, float* rwork, int* info);
00712 void PREFIX CPOTRF_F77(Teuchos_fcd, const int* n, std::complex<float>* a, const int* lda, int* info); 
00713 void PREFIX CPOTRS_F77(Teuchos_fcd, const int* n, const int* nrhs, const std::complex<float>* a, const int* lda, std::complex<float>*x , const int* ldx, int* info);
00714 void PREFIX CPOTRI_F77(Teuchos_fcd, const int* n, std::complex<float>* a, const int* lda, int* info); 
00715 void PREFIX CPOCON_F77(Teuchos_fcd, const int* n, const std::complex<float>* a, const int* lda, const float* anorm, float* rcond, std::complex<float>* work, float* rwork, int* info); 
00716 void PREFIX CPOSV_F77(Teuchos_fcd, const int* n, const int* nrhs, std::complex<float>* a, const int* lda, std::complex<float>*x , const int* ldx, int* info);
00717 void PREFIX CPOEQU_F77(const int* n, const std::complex<float>* a, const int* lda, float* s, float* scond, float* amax, int* info); 
00718 void PREFIX CPORFS_F77(Teuchos_fcd, const int* n, const int* nrhs, std::complex<float>* a, const int* lda, const std::complex<float>* af, const int* ldaf, const std::complex<float>* b, const int* ldb, std::complex<float>* x, const int* ldx, float* ferr, float* berr, std::complex<float>* work, float* rwork, int* info);
00719 void PREFIX CPOSVX_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, std::complex<float>* a, const int* lda, std::complex<float>* af, const int* ldaf, Teuchos_fcd, float* s, std::complex<float>* b, const int* ldb, std::complex<float>* x, const int* ldx, float* rcond, float* ferr, float* berr, std::complex<float>* work, float* rwork, int* info);
00720 void PREFIX CTRTRS_F77(Teuchos_fcd, Teuchos_fcd, Teuchos_fcd, const int* n, const int* nrhs, const std::complex<float>* a, const int* lda, std::complex<float>* b, const int* ldb, int* info);
00721 
00722 #endif // HAVE_TEUCHOS_BLASFLOAT
00723 
00724 // Double precision std::complex LAPACK eigen solvers
00725 void PREFIX ZSTEQR_F77(Teuchos_fcd, const int* n, double* D, double* E, std::complex<double>* Z, const int* ldz, std::complex<double>* work, int* info);
00726 void PREFIX ZHEEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, std::complex<double>* a, const int* lda, double* w, std::complex<double>* work, const int* lwork, double* rwork, int* info);
00727 void PREFIX ZHEGV_F77(const int* itype, Teuchos_fcd, Teuchos_fcd, const int* n, std::complex<double>* a, const int* lda, std::complex<double>* B, const int* ldb, double* w, std::complex<double>* work, const int* lwork, double *rwork, int* info);
00728 void PREFIX ZGEEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, std::complex<double>* a, const int* lda, std::complex<double>* w, std::complex<double>* vl, const int* ldvl, std::complex<double>* vr, const int* ldvr, std::complex<double>* work, const int* lwork, double* rwork, int* info);
00729 //void PREFIX ZGGEVX_F77(Teuchos_fcd, Teuchos_fcd, Teuchos_fcd, Teuchos_fcd, const int* n, std::complex<double>* a, const int* lda, std::complex<double>* b, const int* ldb, std::complex<double>* alpha, std::complex<double>* beta, std::complex<double>* vl, const int* ldvl, std::complex<double>* vr, const int* ldvr, int* ilo, int* ihi, double* lscale, double* rscale, double* abnrm, double* bbnrm, double* rconde, double* rcondv, std::complex<double>* work, const int* lwork, int* iwork, int* bwork, int* info);
00730 void PREFIX ZGEHRD_F77(const int* n, const int* ilo, const int* ihi, std::complex<double>* A, const int* lda, std::complex<double>* tau, std::complex<double>* work, const int* lwork, int* info);
00731 void PREFIX ZHSEQR_F77(Teuchos_fcd job, Teuchos_fcd, const int* n, const int* ilo, const int* ihi, std::complex<double>* h, const int* ldh, std::complex<double>* w, std::complex<double>* z, const int* ldz, std::complex<double>* work, const int* lwork, int* info);
00732 void PREFIX ZGEES_F77(Teuchos_fcd, Teuchos_fcd, int (*ptr2func)(std::complex<double>*), const int* n, std::complex<double>* a, const int* lda, int* sdim, std::complex<double>* w, std::complex<double>* vs, const int* ldvs, std::complex<double>* work, const int* lwork, double* rwork, int* bwork, int* info);
00733 void PREFIX ZTREVC_F77(Teuchos_fcd, Teuchos_fcd, int* select, const int* n, const std::complex<double>* t, const int* ldt, std::complex<double>* vl, const int* ldvl, std::complex<double>* vr, const int* ldvr, const int* mm, int* m, std::complex<double>* work, double* rwork, int* info); 
00734 void PREFIX ZTREXC_F77(Teuchos_fcd, const int* n, std::complex<double>* t, const int* ldt, std::complex<double>* q, const int* ldq, int* ifst, int* ilst, int* info);
00735 
00736 // Single precision std::complex LAPACK eigen solvers
00737 
00738 #ifdef HAVE_TEUCHOS_BLASFLOAT
00739 
00740 void PREFIX CSTEQR_F77(Teuchos_fcd, const int* n, std::complex<float>* D, std::complex<float>* E, std::complex<float>* Z, const int* ldz, std::complex<float>* work, int* info);
00741 void PREFIX CHEEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, std::complex<float>* a, const int* lda, float* w, std::complex<float>* work, const int* lwork, float* rwork, int* info);
00742 void PREFIX CHEGV_F77(const int* itype, Teuchos_fcd, Teuchos_fcd, const int* n, std::complex<float>* a, const int* lda, std::complex<float>* B, const int* ldb, float* w, std::complex<float>* work, const int* lwork, float *rwork, int* info);
00743 void PREFIX CGEEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, std::complex<float>* a, const int* lda, std::complex<float>* wr, std::complex<float>* vl, const int* ldvl, std::complex<float>* vr, const int* ldvr, std::complex<float>* work, const int* lwork, float* rwork, int* info);
00744 void PREFIX CGGEVX_F77(Teuchos_fcd, Teuchos_fcd, Teuchos_fcd, Teuchos_fcd, const int* n, std::complex<float>* a, const int* lda, std::complex<float>* b, const int* ldb, std::complex<float>* alpha, std::complex<float>* beta, std::complex<float>* vl, const int* ldvl, std::complex<float>* vr, const int* ldvr, int* ilo, int* ihi, float* lscale, float* rscale, float* abnrm, float* bbnrm, float* rconde, float* rcondv, std::complex<float>* work, const int* lwork, int* iwork, int* bwork, int* info);
00745 void PREFIX CGEHRD_F77(const int* n, const int* ilo, const int* ihi, std::complex<float>* A, const int* lda, std::complex<float>* tau, std::complex<float>* work, const int* lwork, int* info);
00746 void PREFIX CHSEQR_F77(Teuchos_fcd job, Teuchos_fcd, const int* n, const int* ilo, const int* ihi, std::complex<float>* h, const int* ldh, std::complex<float>* w, std::complex<float>* z, const int* ldz, std::complex<float>* work, const int* lwork, int* info);
00747 void PREFIX CGEES_F77(Teuchos_fcd, Teuchos_fcd, int (*ptr2func)(std::complex<float>*), const int* n, std::complex<float>* a, const int* lda, int* sdim, std::complex<float>* w, std::complex<float>* vs, const int* ldvs, std::complex<float>* work, const int* lwork, float* rwork, int* bwork, int* info);
00748   void PREFIX CTREVC_F77(Teuchos_fcd, Teuchos_fcd, int* select, const int* n, const std::complex<float>* t, const int* ldt, std::complex<float>* vl, const int* ldvl, std::complex<float>* vr, const int* ldvr, const int* mm, int* m, std::complex<float>* work, float* rwork, int* info); 
00749 void PREFIX CTREXC_F77(Teuchos_fcd, const int* n, std::complex<float>* t, const int* ldt, std::complex<float>* q, const int* ldq, int* ifst, int* ilst, int* info);
00750 
00751 #endif // HAVE_TEUCHOS_BLASFLOAT
00752 
00753 void PREFIX CLARTG_F77(const std::complex<float>* f, const std::complex<float>* g, float* c, std::complex<float>* s, std::complex<float>* r);
00754 void PREFIX ZLARTG_F77(const std::complex<double>* f, const std::complex<double>* g, double* c, std::complex<double>* s, std::complex<double>* r);
00755 
00756 void PREFIX CLARFG_F77(const int* n, std::complex<float>* alpha, std::complex<float>* x, const int* incx, std::complex<float>* tau);
00757 void PREFIX ZLARFG_F77(const int* n, std::complex<double>* alpha, std::complex<double>* x, const int* incx, std::complex<double>* tau);
00758 
00759 std::complex<float> PREFIX CLARND_F77(const int* idist, int* seed);
00760 std::complex<double> PREFIX ZLARND_F77(const int* idist, int* seed);
00761 
00762 void PREFIX CLARNV_F77(const int* idist, int* seed, const int* n, std::complex<float>* v);
00763 void PREFIX ZLARNV_F77(const int* idist, int* seed, const int* n, std::complex<double>* v);
00764 
00765 #endif /* HAVE_TEUCHOS_COMPLEX */
00766 
00767 #ifdef __cplusplus
00768 }
00769 #endif
00770 
00771 #endif // end of TEUCHOS_LAPACK_WRAPPERS_HPP_

Generated on Tue Oct 20 12:45:26 2009 for Teuchos - Trilinos Tools Package by doxygen 1.4.7