Teuchos Package Browser (Single Doxygen Collection) Version of the Day
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 // Redistribution and use in source and binary forms, with or without
00011 // modification, are permitted provided that the following conditions are
00012 // met:
00013 //
00014 // 1. Redistributions of source code must retain the above copyright
00015 // notice, this list of conditions and the following disclaimer.
00016 //
00017 // 2. Redistributions in binary form must reproduce the above copyright
00018 // notice, this list of conditions and the following disclaimer in the
00019 // documentation and/or other materials provided with the distribution.
00020 //
00021 // 3. Neither the name of the Corporation nor the names of the
00022 // contributors may be used to endorse or promote products derived from
00023 // this software without specific prior written permission.
00024 //
00025 // THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY
00026 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00027 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00028 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE
00029 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00030 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00031 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
00032 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
00033 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
00034 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00035 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00036 //
00037 // Questions? Contact Michael A. Heroux (maherou@sandia.gov)
00038 //
00039 // ***********************************************************************
00040 // @HEADER
00041 
00042 #ifndef _TEUCHOS_LAPACK_WRAPPERS_HPP_
00043 #define _TEUCHOS_LAPACK_WRAPPERS_HPP_
00044 
00045 #include "Teuchos_ConfigDefs.hpp"
00046 
00050 /* Define fcd (Fortran Teuchos_fcd descriptor) for non-standard situations */
00051 
00052 #if defined(CRAY_T3X) || defined(INTEL_CXML) || defined(INTEL_MKL)
00053 
00054 #if defined(CRAY_T3X)
00055 
00056 #include <fortran.h>
00057 #define PREFIX
00058 #define Teuchos_fcd fcd 
00059 
00060 #define DGEQRF_F77  F77_BLAS_MANGLE(sgeqrf,SGEQRF)
00061 #define DGETRF_F77  F77_BLAS_MANGLE(sgetrf,SGETRF)
00062 #define DGETRS_F77  F77_BLAS_MANGLE(sgetrs,SGETRS)
00063 #define DGTTRF_F77  F77_BLAS_MANGLE(sgttrf,SGTTRF)
00064 #define DGTTRS_F77  F77_BLAS_MANGLE(sgttrs,SGTTRS)
00065 #define DPTTRF_F77  F77_BLAS_MANGLE(spttrf,SPTTRF)
00066 #define DPTTRS_F77  F77_BLAS_MANGLE(spttrs,SPTTRS)
00067 #define DGETRI_F77  F77_BLAS_MANGLE(sgetri,SGETRI)
00068 #define DGERFS_F77  F77_BLAS_MANGLE(sgerfs,SGERFS)
00069 #define DGECON_F77  F77_BLAS_MANGLE(sgecon,SGECON)
00070 #define DGESVX_F77  F77_BLAS_MANGLE(sgesvx,SGESVX)
00071 #define DGESV_F77   F77_BLAS_MANGLE(sgesv,SGESV)
00072 #define DGEEQU_F77  F77_BLAS_MANGLE(sgeequ,SGEEQU)
00073 #define DSYTRD_F77  F77_BLAS_MANGLE(ssytrd,SSYTRD)
00074 #define DPOTRF_F77  F77_BLAS_MANGLE(spotrf,SPOTRF)
00075 #define DPOTRS_F77  F77_BLAS_MANGLE(spotrs,SPOTRS)
00076 #define DPOTRI_F77  F77_BLAS_MANGLE(spotri,SPOTRI)
00077 #define DPOCON_F77  F77_BLAS_MANGLE(spocon,SPOCON)
00078 #define DPOSV_F77   F77_BLAS_MANGLE(sposv,SPOSV)
00079 #define DPOEQU_F77  F77_BLAS_MANGLE(spoequ,SPOEQU)
00080 #define DPORFS_F77  F77_BLAS_MANGLE(sporfs,SPORFS)
00081 #define DPOSVX_F77  F77_BLAS_MANGLE(sposvx,SPOSVX)
00082 #define DLAMCH_F77  F77_BLAS_MANGLE(slamch,SLAMCH)
00083 #define DTRTRI_F77  F77_BLAS_MANGLE(strtri,STRTRI)
00084 #define DTRTRS_F77  F77_BLAS_MANGLE(strtrs,STRTRS)
00085 #define DGELS_F77   F77_BLAS_MANGLE(sgels,SGELS)
00086 #define DGEEV_F77   F77_BLAS_MANGLE(sgeev,SGEEV)
00087 #define DGESVD_F77  F77_BLAS_MANGLE(sgesvd,SGESVD)
00088 #define DGGEV_F77   F77_BLAS_MANGLE(sggev,SGGEV)
00089 #define DGGEVX_F77  F77_BLAS_MANGLE(sggevx,SGGEVX)
00090 #define DGEHRD_F77  F77_BLAS_MANGLE(sgehrd,SGEHRD)
00091 #define DHSEQR_F77  F77_BLAS_MANGLE(shseqr,SHSEQR)
00092 #define DORMQR_F77  F77_BLAS_MANGLE(sormqr,SORMQR)
00093 #define DORGQR_F77  F77_BLAS_MANGLE(sorgqr,SORGQR)
00094 #define DORGHR_F77  F77_BLAS_MANGLE(sorghr,SORGHR)
00095 #define DORMHR_F77  F77_BLAS_MANGLE(sormhr,SORMHR)
00096 #define DTREVC_F77  F77_BLAS_MANGLE(strevc,STREVC)
00097 #define DTREXC_F77  F77_BLAS_MANGLE(strexc,STREXC)
00098 #define DGEES_F77   F77_BLAS_MANGLE(sgees,SGEES)
00099 #define DSPEV_F77   F77_BLAS_MANGLE(sspev,SSPEV)
00100 #define DSYEV_F77   F77_BLAS_MANGLE(ssyev,SSYEV)
00101 #define DSYGV_F77   F77_BLAS_MANGLE(ssygv,SSYGV)
00102 #define DSTEQR_F77  F77_BLAS_MANGLE(ssteqr,SSTEQR)
00103 #define DLAPY2_F77  F77_BLAS_MANGLE(slapy2,SLAPY2)
00104 #define DLARTG_F77  F77_BLAS_MANGLE(slartg,SLARTG)
00105 #define DLARFG_F77  F77_BLAS_MANGLE(slarfg,SLARFG)
00106 #define DGEBAL_F77  F77_BLAS_MANGLE(sgebal,SGEBAL)
00107 #define DGEBAK_F77  F77_BLAS_MANGLE(sgebak,SGEBAK)
00108 #define DLARND_F77  F77_BLAS_MANGLE(slarnd,SLARND)
00109 #define DLARNV_F77  F77_BLAS_MANGLE(slarnv,SLARNV)
00110 #define ILAENV_F77  F77_BLAS_MANGLE(ilaenv,ILAENV)
00111 
00112 
00113 #ifdef HAVE_TEUCHOS_COMPLEX
00114 
00115 #define ZGEQRF_F77  F77_BLAS_MANGLE(cgeqrf,CGEQRF)
00116 #define ZUNGQR_F77  F77_BLAS_MANGLE(cungqr,CUNGQR)
00117 #define ZGETRF_F77  F77_BLAS_MANGLE(cgetrf,CGETRF)
00118 #define ZGETRS_F77  F77_BLAS_MANGLE(cgetrs,CGETRS)
00119 #define ZGTTRF_F77  F77_BLAS_MANGLE(cgttrf,CGTTRF)
00120 #define ZGTTRS_F77  F77_BLAS_MANGLE(cgttrs,CGTTRS)
00121 #define ZPTTRF_F77  F77_BLAS_MANGLE(cpttrf,CPTTRF)
00122 #define ZPTTRS_F77  F77_BLAS_MANGLE(cpttrs,CPTTRS)
00123 #define ZGETRI_F77  F77_BLAS_MANGLE(cgetri,CGETRI)
00124 #define ZGERFS_F77  F77_BLAS_MANGLE(cgerfs,CGERFS)
00125 #define ZGECON_F77  F77_BLAS_MANGLE(cgecon,CGECON)
00126 #define ZGESVX_F77  F77_BLAS_MANGLE(cgesvx,CGESVX)
00127 #define ZGESV_F77   F77_BLAS_MANGLE(cgesv,CGESV)
00128 #define ZGEEQU_F77  F77_BLAS_MANGLE(cgeequ,CGEEQU)
00129 #define ZPOTRF_F77  F77_BLAS_MANGLE(cpotrf,CPOTRF)
00130 #define ZPOTRS_F77  F77_BLAS_MANGLE(cpotrs,CPOTRS)
00131 #define ZPOTRI_F77  F77_BLAS_MANGLE(cpotri,CPOTRI)
00132 #define ZPOCON_F77  F77_BLAS_MANGLE(cpocon,CPOCON)
00133 #define ZPOSV_F77   F77_BLAS_MANGLE(cposv,CPOSV)
00134 #define ZPOEQU_F77  F77_BLAS_MANGLE(cpoequ,CPOEQU)
00135 #define ZPORFS_F77  F77_BLAS_MANGLE(cporfs,CPORFS)
00136 #define ZPOSVX_F77  F77_BLAS_MANGLE(cposvx,CPOSVX)
00137 #define ZTRTRS_F77  F77_BLAS_MANGLE(ctrtrs,CTRTRS)
00138 #define ZTRTRI_F77  F77_BLAS_MANGLE(ctrtri,CTRTRI)
00139 #define ZGELS_F77   F77_BLAS_MANGLE(cgels,CGELS)
00140 #define ZGEEV_F77   F77_BLAS_MANGLE(cgeev,CGEEV)
00141 #define ZGESVD_F77  F77_BLAS_MANGLE(cgesvd,CGESVD)
00142 //#define ZGGEV_F77   F77_BLAS_MANGLE(cggev,CGGEV)
00143 //#define ZGGEVX_F77  F77_BLAS_MANGLE(cggevx,CGGEVX)
00144 #define ZGEHRD_F77  F77_BLAS_MANGLE(cgehrd,CGEHRD)
00145 #define ZHSEQR_F77  F77_BLAS_MANGLE(chseqr,CHSEQR)
00146 #define ZTREVC_F77  F77_BLAS_MANGLE(ctrevc,CTREVC)
00147 #define ZTREXC_F77  F77_BLAS_MANGLE(ctrexc,CTREXC)
00148 #define ZGEES_F77   F77_BLAS_MANGLE(cgees,CGEES)
00149 #define ZSTEQR_F77  F77_BLAS_MANGLE(csteqr,CSTEQR)
00150 #define ZHEEV_F77   F77_BLAS_MANGLE(cheev,CHEEV)
00151 #define ZHEGV_F77   F77_BLAS_MANGLE(chegv,CHEGV)
00152 #define ZLARTG_F77  F77_BLAS_MANGLE(clartg,CLARTG)
00153 #define ZLARFG_F77  F77_BLAS_MANGLE(clarfg,CLARFG)
00154 #define ZGEBAL_F77  F77_BLAS_MANGLE(cgebal,CGEBAL)
00155 #define ZGEBAK_F77  F77_BLAS_MANGLE(cgebak,CGEBAK)
00156 #define ZLARND_F77  F77_BLAS_MANGLE(clarnd,CLARND)
00157 #define ZLARNV_F77  F77_BLAS_MANGLE(clarnv,CLARNV)
00158 
00159 #endif /* HAVE_TEUCHOS_COMPLEX */
00160 
00161 #elif defined(INTEL_CXML)
00162 
00163 #define PREFIX __stdcall 
00164 #define Teuchos_fcd const char *, unsigned int 
00165 
00166 #define DGEQRF_F77  F77_BLAS_MANGLE(dgeqrf,DGEQRF)
00167 #define DGETRF_F77  F77_BLAS_MANGLE(dgetrf,DGETRF)
00168 #define DGETRS_F77  F77_BLAS_MANGLE(dgetrs,DGETRS)
00169 #define DGTTRF_F77  F77_BLAS_MANGLE(dgttrf,DGTTRF)
00170 #define DGTTRS_F77  F77_BLAS_MANGLE(dgttrs,DGTTRS)
00171 #define DPTTRF_F77  F77_BLAS_MANGLE(dpttrf,DPTTRF)
00172 #define DPTTRS_F77  F77_BLAS_MANGLE(dpttrs,DPTTRS)
00173 #define DGETRI_F77  F77_BLAS_MANGLE(dgetri,DGETRI)
00174 #define DGERFS_F77  F77_BLAS_MANGLE(dgerfs,DGERFS)
00175 #define DGECON_F77  F77_BLAS_MANGLE(dgecon,DGECON)
00176 #define DGESVX_F77  F77_BLAS_MANGLE(dgesvx,DGESVX)
00177 #define DGESV_F77   F77_BLAS_MANGLE(dgesv,DGESV)
00178 #define DGEEQU_F77  F77_BLAS_MANGLE(dgeequ,DGEEQU)
00179 #define DSYTRD_F77  F77_BLAS_MANGLE(dsytrd,DSYTRD)
00180 #define DPOTRF_F77  F77_BLAS_MANGLE(dpotrf,DPOTRF)
00181 #define DPOTRS_F77  F77_BLAS_MANGLE(dpotrs,DPOTRS)
00182 #define DPOTRI_F77  F77_BLAS_MANGLE(dpotri,DPOTRI)
00183 #define DPOCON_F77  F77_BLAS_MANGLE(dpocon,DPOCON)
00184 #define DPOSV_F77   F77_BLAS_MANGLE(dposv,DPOSV)
00185 #define DPOEQU_F77  F77_BLAS_MANGLE(dpoequ,DPOEQU)
00186 #define DPORFS_F77  F77_BLAS_MANGLE(dporfs,DPORFS)
00187 #define DPOSVX_F77  F77_BLAS_MANGLE(dposvx,DPOSVX)
00188 #define DTRTRS_F77  F77_BLAS_MANGLE(dtrtrs,DTRTRS)
00189 #define DTRTRI_F77  F77_BLAS_MANGLE(dtrtri,DTRTRI)
00190 #define DLAMCH_F77  F77_BLAS_MANGLE(dlamch,DLAMCH)
00191 #define DGELS_F77   F77_BLAS_MANGLE(dgels,DGELS)
00192 #define DGEEV_F77   F77_BLAS_MANGLE(dgeev,DGEEV)
00193 #define DGESVD_F77  F77_BLAS_MANGLE(dgesvd,DGESVD)
00194 #define DGGEV_F77   F77_BLAS_MANGLE(dggev,DGGEV)
00195 #define DGGEVX_F77  F77_BLAS_MANGLE(dggevx,DGGEVX)
00196 #define DGEHRD_F77  F77_BLAS_MANGLE(dgehrd,DGEHRD)
00197 #define DHSEQR_F77  F77_BLAS_MANGLE(dhseqr,DHSEQR)
00198 #define DORGHR_F77  F77_BLAS_MANGLE(dorghr,DORGHR)
00199 #define DORGQR_F77  F77_BLAS_MANGLE(dorgqr,DORGQR)
00200 #define DORMHR_F77  F77_BLAS_MANGLE(dormhr,DORMHR)
00201 #define DORMQR_F77  F77_BLAS_MANGLE(dormqr,DORMQR)
00202 #define DTREVC_F77  F77_BLAS_MANGLE(dtrevc,DTREVC)
00203 #define DTREXC_F77  F77_BLAS_MANGLE(dtrexc,DTREXC)
00204 #define DGEES_F77   F77_BLAS_MANGLE(dgees,DGEES)
00205 #define DSPEV_F77   F77_BLAS_MANGLE(dspev,DSPEV)
00206 #define DSYEV_F77   F77_BLAS_MANGLE(dsyev,DSYEV)
00207 #define DSYGV_F77   F77_BLAS_MANGLE(dsygv,DSYGV)
00208 #define DSTEQR_F77  F77_BLAS_MANGLE(dsteqr,DSTEQR)
00209 #define DLAPY2_F77  F77_BLAS_MANGLE(dlapy2,DLAPY2)
00210 #define DLARTG_F77  F77_BLAS_MANGLE(dlartg,DLARTG)
00211 #define DLARFG_F77  F77_BLAS_MANGLE(dlarfg,DLARFG)
00212 #define DGEBAL_F77  F77_BLAS_MANGLE(dgebal,DGEBAL)
00213 #define DGEBAK_F77  F77_BLAS_MANGLE(dgebak,DGEBAK)
00214 #define DLARND_F77  F77_BLAS_MANGLE(dlarnd,DLARND)
00215 #define DLARNV_F77  F77_BLAS_MANGLE(dlarnv,DLARNV)
00216 #define ILAENV_F77  F77_BLAS_MANGLE(ilaenv,ILAENV)
00217 
00218 #ifdef HAVE_TEUCHOS_COMPLEX
00219 
00220 #define ZGEQRF_F77  F77_BLAS_MANGLE(zgeqrf,ZGEQRF)
00221 #define ZUNGQR_F77  F77_BLAS_MANGLE(zungqr,ZUNGQR)
00222 #define ZGETRF_F77  F77_BLAS_MANGLE(zgetrf,ZGETRF)
00223 #define ZGETRS_F77  F77_BLAS_MANGLE(zgetrs,ZGETRS)
00224 #define ZGTTRF_F77  F77_BLAS_MANGLE(zgttrf,ZGTTRF)
00225 #define ZGTTRS_F77  F77_BLAS_MANGLE(zgttrs,ZGTTRS)
00226 #define ZPTTRF_F77  F77_BLAS_MANGLE(zpttrf,ZPTTRF)
00227 #define ZPTTRS_F77  F77_BLAS_MANGLE(zpttrs,ZPTTRS)
00228 #define ZGETRI_F77  F77_BLAS_MANGLE(zgetri,ZGETRI)
00229 #define ZGERFS_F77  F77_BLAS_MANGLE(zgerfs,ZGERFS)
00230 #define ZGECON_F77  F77_BLAS_MANGLE(zgecon,ZGECON)
00231 #define ZGESVX_F77  F77_BLAS_MANGLE(zgesvx,ZGESVX)
00232 #define ZGESV_F77   F77_BLAS_MANGLE(zgesv,ZGESV)
00233 #define ZGEEQU_F77  F77_BLAS_MANGLE(zgeequ,ZGEEQU)
00234 #define ZPOTRF_F77  F77_BLAS_MANGLE(zpotrf,ZPOTRF)
00235 #define ZPOTRS_F77  F77_BLAS_MANGLE(zpotrs,ZPOTRS)
00236 #define ZPOTRI_F77  F77_BLAS_MANGLE(zpotri,ZPOTRI)
00237 #define ZPOCON_F77  F77_BLAS_MANGLE(zpocon,ZPOCON)
00238 #define ZPOSV_F77   F77_BLAS_MANGLE(zposv,ZPOSV)
00239 #define ZPOEQU_F77  F77_BLAS_MANGLE(zpoequ,ZPOEQU)
00240 #define ZPORFS_F77  F77_BLAS_MANGLE(zporfs,ZPORFS)
00241 #define ZPOSVX_F77  F77_BLAS_MANGLE(zposvx,ZPOSVX)
00242 #define ZTRTRS_F77  F77_BLAS_MANGLE(ztrtrs,ZTRTRS)
00243 #define ZTRTRI_F77  F77_BLAS_MANGLE(ztrtri,ZTRTRI)
00244 #define ZGELS_F77   F77_BLAS_MANGLE(zgels,ZGELS)
00245 #define ZGEEV_F77   F77_BLAS_MANGLE(zgeev,ZGEEV)
00246 #define ZGESVD_F77   F77_BLAS_MANGLE(zgesvd,ZGESVD)
00247 //#define ZGGEV_F77   F77_BLAS_MANGLE(zggev,ZGGEV)
00248 //#define ZGGEVX_F77  F77_BLAS_MANGLE(zggevx,ZGGEVX)
00249 #define ZGEHRD_F77  F77_BLAS_MANGLE(zgehrd,ZGEHRD)
00250 #define ZHSEQR_F77  F77_BLAS_MANGLE(zhseqr,ZHSEQR)
00251 #define ZTREVC_F77  F77_BLAS_MANGLE(ztrevc,ZTREVC)
00252 #define ZTREXC_F77  F77_BLAS_MANGLE(ztrexc,ZTREXC)
00253 #define ZGEES_F77   F77_BLAS_MANGLE(zgees,ZGEES)
00254 #define ZSTEQR_F77  F77_BLAS_MANGLE(zsteqr,ZSTEQR)
00255 #define ZHEEV_F77   F77_BLAS_MANGLE(zheev,ZHEEV)
00256 #define ZHEGV_F77   F77_BLAS_MANGLE(zhegv,ZHEGV)
00257 #define ZLARTG_F77  F77_BLAS_MANGLE(zlartg,ZLARTG)
00258 #define ZLARFG_F77  F77_BLAS_MANGLE(zlarfg,ZLARFG)
00259 #define ZGEBAL_F77  F77_BLAS_MANGLE(zgebal,ZGEBAL)
00260 #define ZGEBAK_F77  F77_BLAS_MANGLE(zgebak,ZGEBAK)
00261 #define ZLARND_F77  F77_BLAS_MANGLE(zlarnd,ZLARND)
00262 #define ZLARNV_F77  F77_BLAS_MANGLE(zlarnv,ZLARNV)
00263 
00264 #endif /* HAVE_TEUCHOS_COMPLEX */
00265 
00266 #elif defined(INTEL_MKL)
00267 
00268 #define PREFIX
00269 #define Teuchos_fcd const char *
00270 
00271 #define DGEQRF_F77  F77_BLAS_MANGLE(dgeqrf,DGEQRF)
00272 #define DGETRF_F77  F77_BLAS_MANGLE(dgetrf,DGETRF)
00273 #define DGETRS_F77  F77_BLAS_MANGLE(dgetrs,DGETRS)
00274 #define DGTTRF_F77  F77_BLAS_MANGLE(dgttrf,DGTTRF)
00275 #define DGTTRS_F77  F77_BLAS_MANGLE(dgttrs,DGTTRS)
00276 #define DPTTRF_F77  F77_BLAS_MANGLE(dpttrf,DPTTRF)
00277 #define DPTTRS_F77  F77_BLAS_MANGLE(dpttrs,DPTTRS)
00278 #define DGETRI_F77  F77_BLAS_MANGLE(dgetri,DGETRI)
00279 #define DGERFS_F77  F77_BLAS_MANGLE(dgerfs,DGERFS)
00280 #define DGECON_F77  F77_BLAS_MANGLE(dgecon,DGECON)
00281 #define DGESVX_F77  F77_BLAS_MANGLE(dgesvx,DGESVX)
00282 #define DGESV_F77   F77_BLAS_MANGLE(dgesv,DGESV)
00283 #define DGEEQU_F77  F77_BLAS_MANGLE(dgeequ,DGEEQU)
00284 #define DSYTRD_F77  F77_BLAS_MANGLE(dsytrd,DSYTRD)
00285 #define DPOTRF_F77  F77_BLAS_MANGLE(dpotrf,DPOTRF)
00286 #define DPOTRS_F77  F77_BLAS_MANGLE(dpotrs,DPOTRS)
00287 #define DPOTRI_F77  F77_BLAS_MANGLE(dpotri,DPOTRI)
00288 #define DPOCON_F77  F77_BLAS_MANGLE(dpocon,DPOCON)
00289 #define DPOSV_F77   F77_BLAS_MANGLE(dposv,DPOSV)
00290 #define DPOEQU_F77  F77_BLAS_MANGLE(dpoequ,DPOEQU)
00291 #define DPORFS_F77  F77_BLAS_MANGLE(dporfs,DPORFS)
00292 #define DPOSVX_F77  F77_BLAS_MANGLE(dposvx,DPOSVX)
00293 #define DTRTRS_F77  F77_BLAS_MANGLE(dtrtrs,DTRTRS)
00294 #define DTRTRI_F77  F77_BLAS_MANGLE(dtrtri,DTRTRI)
00295 #define DLAMCH_F77  F77_BLAS_MANGLE(dlamch,DLAMCH)
00296 #define DGELS_F77   F77_BLAS_MANGLE(dgels,DGELS)
00297 #define DGEEV_F77   F77_BLAS_MANGLE(dgeev,DGEEV)
00298 #define DGESVD_F77  F77_BLAS_MANGLE(dgesvd,DGESVD)
00299 #define DGGEV_F77   F77_BLAS_MANGLE(dggev,DGGEV)
00300 #define DGGEVX_F77  F77_BLAS_MANGLE(dggevx,DGGEVX)
00301 #define DGEHRD_F77  F77_BLAS_MANGLE(dgehrd,DGEHRD)
00302 #define DHSEQR_F77  F77_BLAS_MANGLE(dhseqr,DHSEQR)
00303 #define DORGHR_F77  F77_BLAS_MANGLE(dorghr,DORGHR)
00304 #define DORGQR_F77  F77_BLAS_MANGLE(dorgqr,DORGQR)
00305 #define DORMHR_F77  F77_BLAS_MANGLE(dormhr,DORMHR)
00306 #define DORMQR_F77  F77_BLAS_MANGLE(dormqr,DORMQR)
00307 #define DTREVC_F77  F77_BLAS_MANGLE(dtrevc,DTREVC)
00308 #define DTREXC_F77  F77_BLAS_MANGLE(dtrexc,DTREXC)
00309 #define DGEES_F77   F77_BLAS_MANGLE(dgees,DGEES)
00310 #define DSPEV_F77   F77_BLAS_MANGLE(dspev,DSPEV)
00311 #define DSYEV_F77   F77_BLAS_MANGLE(dsyev,DSYEV)
00312 #define DSYGV_F77   F77_BLAS_MANGLE(dsygv,DSYGV)
00313 #define DSTEQR_F77  F77_BLAS_MANGLE(dsteqr,DSTEQR)
00314 #define DLAPY2_F77  F77_BLAS_MANGLE(dlapy2,DLAPY2)
00315 #define DLARTG_F77  F77_BLAS_MANGLE(dlartg,DLARTG)
00316 #define DLARFG_F77  F77_BLAS_MANGLE(dlarfg,DLARFG)
00317 #define DGEBAL_F77  F77_BLAS_MANGLE(dgebal,DGEBAL)
00318 #define DGEBAK_F77  F77_BLAS_MANGLE(dgebak,DGEBAK)
00319 #define DLARND_F77  F77_BLAS_MANGLE(dlarnd,DLARND)
00320 #define DLARNV_F77  F77_BLAS_MANGLE(dlarnv,DLARNV)
00321 #define ILAENV_F77  F77_BLAS_MANGLE(ilaenv,ILAENV)
00322 
00323 #ifdef HAVE_TEUCHOS_COMPLEX
00324 
00325 #define ZGEQRF_F77  F77_BLAS_MANGLE(zgeqrf,ZGEQRF)
00326 #define ZUNGQR_F77  F77_BLAS_MANGLE(zungqr,ZUNGQR)
00327 #define ZGTTRF_F77  F77_BLAS_MANGLE(zgttrf,ZGTTRF)
00328 #define ZGTTRS_F77  F77_BLAS_MANGLE(zgttrs,ZGTTRS)
00329 #define ZPTTRF_F77  F77_BLAS_MANGLE(zpttrf,ZPTTRF)
00330 #define ZPTTRS_F77  F77_BLAS_MANGLE(zpttrs,ZPTTRS)
00331 #define ZGETRF_F77  F77_BLAS_MANGLE(zgetrf,ZGETRF)
00332 #define ZGETRS_F77  F77_BLAS_MANGLE(zgetrs,ZGETRS)
00333 #define ZGETRI_F77  F77_BLAS_MANGLE(zgetri,ZGETRI)
00334 #define ZGERFS_F77  F77_BLAS_MANGLE(zgerfs,ZGERFS)
00335 #define ZGECON_F77  F77_BLAS_MANGLE(zgecon,ZGECON)
00336 #define ZGESVX_F77  F77_BLAS_MANGLE(zgesvx,ZGESVX)
00337 #define ZGESV_F77   F77_BLAS_MANGLE(zgesv,ZGESV)
00338 #define ZGEEQU_F77  F77_BLAS_MANGLE(zgeequ,ZGEEQU)
00339 #define ZPOTRF_F77  F77_BLAS_MANGLE(zpotrf,ZPOTRF)
00340 #define ZPOTRS_F77  F77_BLAS_MANGLE(zpotrs,ZPOTRS)
00341 #define ZPOTRI_F77  F77_BLAS_MANGLE(zpotri,ZPOTRI)
00342 #define ZPOCON_F77  F77_BLAS_MANGLE(zpocon,ZPOCON)
00343 #define ZPOSV_F77   F77_BLAS_MANGLE(zposv,ZPOSV)
00344 #define ZPOEQU_F77  F77_BLAS_MANGLE(zpoequ,ZPOEQU)
00345 #define ZPORFS_F77  F77_BLAS_MANGLE(zporfs,ZPORFS)
00346 #define ZPOSVX_F77  F77_BLAS_MANGLE(zposvx,ZPOSVX)
00347 #define ZTRTRS_F77  F77_BLAS_MANGLE(ztrtrs,ZTRTRS)
00348 #define ZTRTRI_F77  F77_BLAS_MANGLE(ztrtri,ZTRTRI)
00349 #define ZGELS_F77   F77_BLAS_MANGLE(zgels,ZGELS)
00350 #define ZGEEV_F77   F77_BLAS_MANGLE(zgeev,ZGEEV)
00351 #define ZGESVD_F77   F77_BLAS_MANGLE(zgesvd,ZGESVD)
00352 //#define ZGGEV_F77   F77_BLAS_MANGLE(zggev,ZGGEV)
00353 //#define ZGGEVX_F77  F77_BLAS_MANGLE(zggevx,ZGGEVX)
00354 #define ZGEHRD_F77  F77_BLAS_MANGLE(zgehrd,ZGEHRD)
00355 #define ZHSEQR_F77  F77_BLAS_MANGLE(zhseqr,ZHSEQR)
00356 #define ZTREVC_F77  F77_BLAS_MANGLE(ztrevc,ZTREVC)
00357 #define ZTREXC_F77  F77_BLAS_MANGLE(ztrexc,ZTREXC)
00358 #define ZGEES_F77   F77_BLAS_MANGLE(zgees,ZGEES)
00359 #define ZSTEQR_F77  F77_BLAS_MANGLE(zsteqr,ZSTEQR)
00360 #define ZHEEV_F77   F77_BLAS_MANGLE(zheev,ZHEEV)
00361 #define ZHEGV_F77   F77_BLAS_MANGLE(zhegv,ZHEGV)
00362 #define ZLARTG_F77  F77_BLAS_MANGLE(zlartg,ZLARTG)
00363 #define ZLARFG_F77  F77_BLAS_MANGLE(zlarfg,ZLARFG)
00364 #define ZGEBAL_F77  F77_BLAS_MANGLE(zgebal,ZGEBAL)
00365 #define ZGEBAK_F77  F77_BLAS_MANGLE(zgebak,ZGEBAK)
00366 #define ZLARND_F77  F77_BLAS_MANGLE(zlarnd,ZLARND)
00367 #define ZLARNV_F77  F77_BLAS_MANGLE(zlarnv,ZLARNV)
00368 
00369 #endif /* HAVE_TEUCHOS_COMPLEX */
00370 
00371 #endif /* defined(CRAY_T3X) || defined(INTEL_CXML) || defined(INTEL_MKL) */
00372 
00373 /* All three of these machines use a simple uppercase mangling of Fortran names */
00374 
00375 /* if F77_BLAS_MANGLE is defined undefine it because we want to redefine */
00376 
00377 #ifdef F77_FUNC
00378 #undef F77_FUNC
00379 #endif
00380 
00381 #ifdef F77_BLAS_MANGLE
00382 #undef F77_BLAS_MANGLE
00383 #endif
00384 
00385 #define F77_FUNC(lcase,UCASE) PREFIX UCASE
00386 #define F77_BLAS_MANGLE(lcase,UCASE) PREFIX UCASE
00387 
00388 #else /* Define Teuchos_fcd for all other machines */
00389 
00390 #define PREFIX
00391 #define Teuchos_fcd const char * 
00392 
00393 #ifdef TRILINOS_NO_CONFIG_H
00394 
00395 #ifdef F77_FUNC
00396 #undef F77_FUNC
00397 #endif
00398 
00399 #ifdef F77_BLAS_MANGLE
00400 #undef F77_BLAS_MANGLE
00401 #endif
00402 
00403 
00404 #ifdef TRILINOS_HAVE_NO_FORTRAN_UNDERSCORE
00405 #define F77_FUNC(lcase,UCASE) lcase
00406 #define F77_BLAS_MANGLE(lcase,UCASE) lcase
00407 #else /* TRILINOS_HAVE_NO_FORTRAN_UNDERSCORE not defined*/
00408 #define F77_FUNC(lcase,UCASE) lcase ## _
00409 #define F77_BLAS_MANGLE(lcase,UCASE) lcase ## _
00410 #endif /* TRILINOS_HAVE_NO_FORTRAN_UNDERSCORE */
00411 
00412 #endif /* TRILINOS_NO_CONFIG_H */
00413 
00414 #define DGEQRF_F77  F77_BLAS_MANGLE(dgeqrf,DGEQRF)
00415 #define DGETRF_F77  F77_BLAS_MANGLE(dgetrf,DGETRF)
00416 #define DGETRS_F77  F77_BLAS_MANGLE(dgetrs,DGETRS)
00417 #define DGTTRF_F77  F77_BLAS_MANGLE(dgttrf,DGTTRF)
00418 #define DGTTRS_F77  F77_BLAS_MANGLE(dgttrs,DGTTRS)
00419 #define DPTTRF_F77  F77_BLAS_MANGLE(dpttrf,DPTTRF)
00420 #define DPTTRS_F77  F77_BLAS_MANGLE(dpttrs,DPTTRS)
00421 #define DGETRI_F77  F77_BLAS_MANGLE(dgetri,DGETRI)
00422 #define DGERFS_F77  F77_BLAS_MANGLE(dgerfs,DGERFS)
00423 #define DGECON_F77  F77_BLAS_MANGLE(dgecon,DGECON)
00424 #define DGESVX_F77  F77_BLAS_MANGLE(dgesvx,DGESVX)
00425 #define DGESV_F77   F77_BLAS_MANGLE(dgesv,DGESV)
00426 #define DGEEQU_F77  F77_BLAS_MANGLE(dgeequ,DGEEQU)
00427 #define DSYTRD_F77  F77_BLAS_MANGLE(dsytrd,DSYTRD)
00428 #define DPOTRF_F77  F77_BLAS_MANGLE(dpotrf,DPOTRF)
00429 #define DPOTRS_F77  F77_BLAS_MANGLE(dpotrs,DPOTRS)
00430 #define DPOTRI_F77  F77_BLAS_MANGLE(dpotri,DPOTRI)
00431 #define DPOCON_F77  F77_BLAS_MANGLE(dpocon,DPOCON)
00432 #define DPOSV_F77   F77_BLAS_MANGLE(dposv,DPOSV)
00433 #define DPOEQU_F77  F77_BLAS_MANGLE(dpoequ,DPOEQU)
00434 #define DPORFS_F77  F77_BLAS_MANGLE(dporfs,DPORFS)
00435 #define DPOSVX_F77  F77_BLAS_MANGLE(dposvx,DPOSVX)
00436 #define DTRTRS_F77  F77_BLAS_MANGLE(dtrtrs,DTRTRS)
00437 #define DTRTRI_F77  F77_BLAS_MANGLE(dtrtri,DTRTRI)
00438 #define DLAMCH_F77  F77_BLAS_MANGLE(dlamch,DLAMCH)
00439 #define DGELS_F77   F77_BLAS_MANGLE(dgels,DGELS)
00440 #define DGELSS_F77  F77_BLAS_MANGLE(dgelss,DGELSS)
00441 #define DGGLSE_F77  F77_BLAS_MANGLE(dgglse,DGGLSE)
00442 #define DGEEV_F77   F77_BLAS_MANGLE(dgeev,DGEEV)
00443 #define DGESVD_F77  F77_BLAS_MANGLE(dgesvd,DGESVD)
00444 #define DGGEV_F77   F77_BLAS_MANGLE(dggev,DGGEV)
00445 #define DGGEVX_F77  F77_BLAS_MANGLE(dggevx,DGGEVX)
00446 #define DGEHRD_F77  F77_BLAS_MANGLE(dgehrd,DGEHRD)
00447 #define DHSEQR_F77  F77_BLAS_MANGLE(dhseqr,DHSEQR)
00448 #define DORGHR_F77  F77_BLAS_MANGLE(dorghr,DORGHR)
00449 #define DORGQR_F77  F77_BLAS_MANGLE(dorgqr,DORGQR)
00450 #define DORMHR_F77  F77_BLAS_MANGLE(dormhr,DORMHR)
00451 #define DORMQR_F77  F77_BLAS_MANGLE(dormqr,DORMQR)
00452 #define DTREVC_F77  F77_BLAS_MANGLE(dtrevc,DTREVC)
00453 #define DTREXC_F77  F77_BLAS_MANGLE(dtrexc,DTREXC)
00454 #define DGEES_F77   F77_BLAS_MANGLE(dgees,DGEES)
00455 #define DSPEV_F77   F77_BLAS_MANGLE(dspev,DSPEV)
00456 #define DSYEV_F77   F77_BLAS_MANGLE(dsyev,DSYEV)
00457 #define DSYGV_F77   F77_BLAS_MANGLE(dsygv,DSYGV)
00458 #define DSTEQR_F77  F77_BLAS_MANGLE(dsteqr,DSTEQR)
00459 #define DLAPY2_F77  F77_BLAS_MANGLE(dlapy2,DLAPY2)
00460 #define DLARND_F77  F77_BLAS_MANGLE(dlarnd,DLARND)
00461 #define DLARNV_F77  F77_BLAS_MANGLE(dlarnv,DLARNV)
00462 #define DGEBAL_F77  F77_BLAS_MANGLE(dgebal,DGEBAL)
00463 #define DGEBAK_F77  F77_BLAS_MANGLE(dgebak,DGEBAK)
00464 #define DLARTG_F77  F77_BLAS_MANGLE(dlartg,DLARTG)
00465 #define DLARFG_F77  F77_BLAS_MANGLE(dlarfg,DLARFG)
00466 #define ILAENV_F77  F77_BLAS_MANGLE(ilaenv,ILAENV)
00467 
00468 #ifdef HAVE_TEUCHOS_COMPLEX
00469 
00470 #define ZGEQRF_F77  F77_BLAS_MANGLE(zgeqrf,ZGEQRF)
00471 #define ZUNGQR_F77  F77_BLAS_MANGLE(zungqr,ZUNGQR)
00472 #define ZGETRF_F77  F77_BLAS_MANGLE(zgetrf,ZGETRF)
00473 #define ZGETRS_F77  F77_BLAS_MANGLE(zgetrs,ZGETRS)
00474 #define ZGTTRF_F77  F77_BLAS_MANGLE(zgttrf,ZGTTRF)
00475 #define ZGTTRS_F77  F77_BLAS_MANGLE(zgttrs,ZGTTRS)
00476 #define ZPTTRF_F77  F77_BLAS_MANGLE(zpttrf,ZPTTRF)
00477 #define ZPTTRS_F77  F77_BLAS_MANGLE(zpttrs,ZPTTRS)
00478 #define ZGETRI_F77  F77_BLAS_MANGLE(zgetri,ZGETRI)
00479 #define ZGERFS_F77  F77_BLAS_MANGLE(zgerfs,ZGERFS)
00480 #define ZGECON_F77  F77_BLAS_MANGLE(zgecon,ZGECON)
00481 #define ZGESVX_F77  F77_BLAS_MANGLE(zgesvx,ZGESVX)
00482 #define ZGESV_F77   F77_BLAS_MANGLE(zgesv,ZGESV)
00483 #define ZGEEQU_F77  F77_BLAS_MANGLE(zgeequ,ZGEEQU)
00484 #define ZPOTRF_F77  F77_BLAS_MANGLE(zpotrf,ZPOTRF)
00485 #define ZPOTRS_F77  F77_BLAS_MANGLE(zpotrs,ZPOTRS)
00486 #define ZPOTRI_F77  F77_BLAS_MANGLE(zpotri,ZPOTRI)
00487 #define ZPOCON_F77  F77_BLAS_MANGLE(zpocon,ZPOCON)
00488 #define ZPOSV_F77   F77_BLAS_MANGLE(zposv,ZPOSV)
00489 #define ZPOEQU_F77  F77_BLAS_MANGLE(zpoequ,ZPOEQU)
00490 #define ZPORFS_F77  F77_BLAS_MANGLE(zporfs,ZPORFS)
00491 #define ZPOSVX_F77  F77_BLAS_MANGLE(zposvx,ZPOSVX)
00492 #define ZTRTRS_F77  F77_BLAS_MANGLE(ztrtrs,ZTRTRS)
00493 #define ZTRTRI_F77  F77_BLAS_MANGLE(ztrtri,ZTRTRI)
00494 #define ZGELS_F77   F77_BLAS_MANGLE(zgels,ZGELS)
00495 //#define ZGELSS_F77  F77_BLAS_MANGLE(zgelss,ZGELSS)
00496 //#define ZGGLSE_F77  F77_BLAS_MANGLE(zgglse,ZGGLSE)
00497 #define ZGEEV_F77   F77_BLAS_MANGLE(zgeev,ZGEEV)
00498 #define ZGESVD_F77   F77_BLAS_MANGLE(zgesvd,ZGESVD)
00499 //#define ZGGEV_F77   F77_BLAS_MANGLE(zggev,ZGGEV)
00500 //#define ZGGEVX_F77  F77_BLAS_MANGLE(zggevx,ZGGEVX)
00501 #define ZGEHRD_F77  F77_BLAS_MANGLE(zgehrd,ZGEHRD)
00502 #define ZHSEQR_F77  F77_BLAS_MANGLE(zhseqr,ZHSEQR)
00503 #define ZTREVC_F77  F77_BLAS_MANGLE(ztrevc,ZTREVC)
00504 #define ZTREXC_F77  F77_BLAS_MANGLE(ztrexc,ZTREXC)
00505 #define ZGEES_F77   F77_BLAS_MANGLE(zgees,ZGEES)
00506 #define ZSTEQR_F77  F77_BLAS_MANGLE(zsteqr,ZSTEQR)
00507 #define ZHEEV_F77   F77_BLAS_MANGLE(zheev,ZHEEV)
00508 #define ZHEGV_F77   F77_BLAS_MANGLE(zhegv,ZHEGV)
00509 #define ZLARTG_F77  F77_BLAS_MANGLE(zlartg,ZLARTG)
00510 #define ZLARFG_F77  F77_BLAS_MANGLE(zlarfg,ZLARFG)
00511 #define ZGEBAL_F77  F77_BLAS_MANGLE(zgebal,ZGEBAL)
00512 #define ZGEBAK_F77  F77_BLAS_MANGLE(zgebak,ZGEBAK)
00513 #define ZLARND_F77  F77_BLAS_MANGLE(zlarnd,ZLARND)
00514 #define ZLARNV_F77  F77_BLAS_MANGLE(zlarnv,ZLARNV)
00515 
00516 #endif /* HAVE_TEUCHOS_COMPLEX */
00517 
00518 #endif
00519 
00520 #define SGEQRF_F77  F77_BLAS_MANGLE(sgeqrf,SGEQRF)
00521 #define SGETRF_F77  F77_BLAS_MANGLE(sgetrf,SGETRF)
00522 #define SGETRS_F77  F77_BLAS_MANGLE(sgetrs,SGETRS)
00523 #define SGTTRF_F77  F77_BLAS_MANGLE(sgttrf,SGTTRF)
00524 #define SGTTRS_F77  F77_BLAS_MANGLE(sgttrs,SGTTRS)
00525 #define SPTTRF_F77  F77_BLAS_MANGLE(spttrf,SPTTRF)
00526 #define SPTTRS_F77  F77_BLAS_MANGLE(spttrs,SPTTRS)
00527 #define SGETRI_F77  F77_BLAS_MANGLE(sgetri,SGETRI)
00528 #define SGERFS_F77  F77_BLAS_MANGLE(sgerfs,SGERFS)
00529 #define SGECON_F77  F77_BLAS_MANGLE(sgecon,SGECON)
00530 #define SGESVX_F77  F77_BLAS_MANGLE(sgesvx,SGESVX)
00531 #define SGESV_F77   F77_BLAS_MANGLE(sgesv,SGESV)
00532 #define SGEEQU_F77  F77_BLAS_MANGLE(sgeequ,SGEEQU)
00533 #define SSYTRD_F77  F77_BLAS_MANGLE(ssytrd,SSYTRD)
00534 #define SPOTRF_F77  F77_BLAS_MANGLE(spotrf,SPOTRF)
00535 #define SPOTRS_F77  F77_BLAS_MANGLE(spotrs,SPOTRS)
00536 #define SPOTRI_F77  F77_BLAS_MANGLE(spotri,SPOTRI)
00537 #define SPOCON_F77  F77_BLAS_MANGLE(spocon,SPOCON)
00538 #define SPOSV_F77   F77_BLAS_MANGLE(sposv,SPOSV)
00539 #define SPOEQU_F77  F77_BLAS_MANGLE(spoequ,SPOEQU)
00540 #define SPORFS_F77  F77_BLAS_MANGLE(sporfs,SPORFS)
00541 #define SPOSVX_F77  F77_BLAS_MANGLE(sposvx,SPOSVX)
00542 #define STRTRS_F77  F77_BLAS_MANGLE(strtrs,STRTRS)
00543 #define STRTRI_F77  F77_BLAS_MANGLE(strtri,STRTRI)
00544 #define SGELS_F77   F77_BLAS_MANGLE(sgels,SGELS)
00545 #define SGELSS_F77  F77_BLAS_MANGLE(sgelss,SGELSS)
00546 #define SGGLSE_F77  F77_BLAS_MANGLE(sgglse,SGGLSE)
00547 #define SGEEV_F77   F77_BLAS_MANGLE(sgeev,SGEEV)
00548 #define SGESVD_F77  F77_BLAS_MANGLE(sgesvd,SGESVD)
00549 #define SGGEV_F77   F77_BLAS_MANGLE(sggev,SGGEV)
00550 #define SGGEVX_F77  F77_BLAS_MANGLE(sggevx,SGGEVX)
00551 #define SGEHRD_F77  F77_BLAS_MANGLE(sgehrd,SGEHRD)
00552 #define SHSEQR_F77  F77_BLAS_MANGLE(shseqr,SHSEQR)
00553 #define SORGHR_F77  F77_BLAS_MANGLE(sorghr,SORGHR)
00554 #define SORGQR_F77  F77_BLAS_MANGLE(sorgqr,SORGQR)
00555 #define SORMHR_F77  F77_BLAS_MANGLE(sormhr,SORMHR)
00556 #define SORMQR_F77  F77_BLAS_MANGLE(sormqr,SORMQR)
00557 #define STREVC_F77  F77_BLAS_MANGLE(strevc,STREVC)
00558 #define STREXC_F77  F77_BLAS_MANGLE(strexc,STREXC)
00559 #define SLAMCH_F77  F77_BLAS_MANGLE(slamch,SLAMCH)
00560 #define SGEES_F77   F77_BLAS_MANGLE(sgees,SGEES)
00561 #define SSPEV_F77   F77_BLAS_MANGLE(sspev,SSPEV)
00562 #define SSYEV_F77   F77_BLAS_MANGLE(ssyev,SSYEV)
00563 #define SSYGV_F77   F77_BLAS_MANGLE(ssygv,SSYGV)
00564 #define SSTEQR_F77  F77_BLAS_MANGLE(ssteqr,SSTEQR)
00565 #define SLAPY2_F77  F77_BLAS_MANGLE(slapy2,SLAPY2)
00566 #define SLARTG_F77  F77_BLAS_MANGLE(slartg,SLARTG)
00567 #define SLARFG_F77  F77_BLAS_MANGLE(slarfg,SLARFG)
00568 #define SGEBAL_F77  F77_BLAS_MANGLE(sgebal,SGEBAL)
00569 #define SGEBAK_F77  F77_BLAS_MANGLE(sgebak,SGEBAK)
00570 #define SLARND_F77  F77_BLAS_MANGLE(slarnd,SLARND)
00571 #define SLARNV_F77  F77_BLAS_MANGLE(slarnv,SLARNV)
00572 
00573 #ifdef HAVE_TEUCHOS_COMPLEX
00574 
00575 #define CGEQRF_F77  F77_BLAS_MANGLE(cgeqrf,CGEQRF)
00576 #define CUNGQR_F77  F77_BLAS_MANGLE(cungqr,CUNGQR)
00577 #define CGETRF_F77  F77_BLAS_MANGLE(cgetrf,CGETRF)
00578 #define CGETRS_F77  F77_BLAS_MANGLE(cgetrs,CGETRS)
00579 #define CGTTRF_F77  F77_BLAS_MANGLE(cgttrf,CGTTRF)
00580 #define CGTTRS_F77  F77_BLAS_MANGLE(cgttrs,CGTTRS)
00581 #define CPTTRF_F77  F77_BLAS_MANGLE(cpttrf,CPTTRF)
00582 #define CPTTRS_F77  F77_BLAS_MANGLE(cpttrs,CPTTRS)
00583 #define CGETRI_F77  F77_BLAS_MANGLE(cgetri,CGETRI)
00584 #define CGERFS_F77  F77_BLAS_MANGLE(cgerfs,CGERFS)
00585 #define CGECON_F77  F77_BLAS_MANGLE(cgecon,CGECON)
00586 #define CGESVX_F77  F77_BLAS_MANGLE(cgesvx,CGESVX)
00587 #define CGESV_F77   F77_BLAS_MANGLE(cgesv,CGESV)
00588 #define CGEEQU_F77  F77_BLAS_MANGLE(cgeequ,CGEEQU)
00589 #define CPOTRF_F77  F77_BLAS_MANGLE(cpotrf,CPOTRF)
00590 #define CPOTRS_F77  F77_BLAS_MANGLE(cpotrs,CPOTRS)
00591 #define CPOTRI_F77  F77_BLAS_MANGLE(cpotri,CPOTRI)
00592 #define CPOCON_F77  F77_BLAS_MANGLE(cpocon,CPOCON)
00593 #define CPOSV_F77   F77_BLAS_MANGLE(cposv,CPOSV)
00594 #define CPOEQU_F77  F77_BLAS_MANGLE(cpoequ,CPOEQU)
00595 #define CPORFS_F77  F77_BLAS_MANGLE(cporfs,CPORFS)
00596 #define CPOSVX_F77  F77_BLAS_MANGLE(cposvx,CPOSVX)
00597 #define CTRTRS_F77  F77_BLAS_MANGLE(ctrtrs,CTRTRS)
00598 #define CTRTRI_F77  F77_BLAS_MANGLE(ctrtri,CTRTRI)
00599 #define CGELS_F77   F77_BLAS_MANGLE(cgels,CGELS)
00600 //#define CGELSS_F77  F77_BLAS_MANGLE(cgelss,CGELSS)
00601 //#define CGGLSE_F77  F77_BLAS_MANGLE(cgglse,CGGLSE)
00602 #define CGEEV_F77   F77_BLAS_MANGLE(cgeev,CGEEV)
00603 #define CGESVD_F77  F77_BLAS_MANGLE(cgesvd,CGESVD)
00604 //#define CGGEV_F77   F77_BLAS_MANGLE(cggev,CGGEV)
00605 //#define CGGEVX_F77  F77_BLAS_MANGLE(cggevx,CGGEVX)
00606 #define CGEHRD_F77  F77_BLAS_MANGLE(cgehrd,CGEHRD)
00607 #define CHSEQR_F77  F77_BLAS_MANGLE(chseqr,CHSEQR)
00608 #define CTREVC_F77  F77_BLAS_MANGLE(ctrevc,CTREVC)
00609 #define CTREXC_F77  F77_BLAS_MANGLE(ctrexc,CTREXC)
00610 #define CGEES_F77   F77_BLAS_MANGLE(cgees,CGEES)
00611 #define CSTEQR_F77  F77_BLAS_MANGLE(csteqr,CSTEQR)
00612 #define CHEEV_F77   F77_BLAS_MANGLE(cheev,CHEEV)
00613 #define CHEGV_F77   F77_BLAS_MANGLE(chegv,CHEGV)
00614 #define CLARTG_F77  F77_BLAS_MANGLE(clartg,CLARTG)
00615 #define CLARFG_F77  F77_BLAS_MANGLE(clarfg,CLARFG)
00616 #define CGEBAL_F77  F77_BLAS_MANGLE(cgebal,CGEBAL)
00617 #define CGEBAK_F77  F77_BLAS_MANGLE(cgebak,CGEBAK)
00618 #define CLARND_F77  F77_BLAS_MANGLE(clarnd,CLARND)
00619 #define CLARNV_F77  F77_BLAS_MANGLE(clarnv,CLARNV)
00620 
00621 #endif /* HAVE_TEUCHOS_COMPLEX */
00622 
00623 #ifdef __cplusplus
00624 extern "C" {
00625 #endif
00626 
00627 // Double precision LAPACK linear solvers
00628 
00629 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);
00630 void PREFIX DGELSS_F77(const int* m, const int* n, const int* nrhs, double* a, const int* lda, double* b, const int* ldb, double* s, const double* rcond, int* rank, double* work, const int* lwork, int* info);
00631 void PREFIX DGGLSE_F77(const int* m, const int* n, const int* p, double* a, const int* lda, double* b, const int* ldb, double* c, double* d, double* x, double* work, const int* lwork, int* info);
00632 void PREFIX DGEQRF_F77(const int* m, const int* n, double* a, const int* lda, double* tau, double* work, const int* lwork, int* info);
00633 void PREFIX DGETRF_F77(const int* m, const int* n, double* a, const int* lda, int* ipiv, int* info); 
00634 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);
00635 void PREFIX DGTTRF_F77(const int* n, double* dl, double* d, double* du, double* du2, int* ipiv, int* info); 
00636 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);
00637 void PREFIX DPTTRF_F77(const int* n, double* d, double* e, int* info); 
00638 void PREFIX DPTTRS_F77(const int* n, const int* nrhs, const double* d, const double* e, double* x , const int* ldx, int* info);
00639 void PREFIX DGETRI_F77(const int* n, double* a, const int* lda, const int* ipiv, double* work , const int* lwork, int* info);
00640 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); 
00641 void PREFIX DGESV_F77(const int* n, const int* nrhs, double* a, const int* lda, int* ipiv, double* x , const int* ldx, int* info);
00642 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); 
00643 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);
00644 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,
00645 double* c, double* b, const int* ldb, double* x, const int* ldx, double* rcond, double* ferr, double* berr, double* work, int* iwork, int* info);
00646 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);
00647 void PREFIX DPOTRF_F77(Teuchos_fcd, const int* n, double* a, const int* lda, int* info); 
00648 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);
00649 void PREFIX DPOTRI_F77(Teuchos_fcd, const int* n, double* a, const int* lda, int* info); 
00650 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); 
00651 void PREFIX DPOSV_F77(Teuchos_fcd, const int* n, const int* nrhs, double* a, const int* lda, double*x , const int* ldx, int* info);
00652 void PREFIX DPOEQU_F77(const int* n, const double* a, const int* lda, double* s, double* scond, double* amax, int* info); 
00653 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);
00654 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);
00655 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);
00656 void PREFIX DTRTRI_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const double* a, const int* lda, int* info);
00657 
00658 // Single precision LAPACK linear solvers
00659 
00660 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);
00661 void PREFIX SGELSS_F77(const int* m, const int* n, const int* nrhs, float* a, const int* lda, float* b, const int* ldb, float* s, const float* rcond, int* rank, float* work, const int* lwork, int* info);
00662 void PREFIX SGGLSE_F77(const int* m, const int* n, const int* p, float* a, const int* lda, float* b, const int* ldb, float* c, float* d, float* x, float* work, const int* lwork, int* info);
00663 void PREFIX SGEQRF_F77(const int* m, const int* n, float* a, const int* lda, float* tau, float* work, const int* lwork, int* info);
00664 void PREFIX SGETRF_F77(const int* m, const int* n, float* a, const int* lda, int* ipiv, int* info);
00665 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);
00666 void PREFIX SGTTRF_F77(const int* n, float* dl, float* d, float* du, float* du2, int* ipiv, int* info); 
00667 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);
00668 void PREFIX SPTTRF_F77(const int* n, float* d, float* e, int* info); 
00669 void PREFIX SPTTRS_F77(const int* n, const int* nrhs, const float* d, const float* e, float* x , const int* ldx, int* info);
00670 void PREFIX SGETRI_F77(const int* n, float* a, const int* lda, const int* ipiv, float* work , const int* lwork, int* info);
00671 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); 
00672 void PREFIX SGESV_F77(const int* n, const int* nrhs, float* a, const int* lda, int* ipiv, float* x , const int* ldx, int* info);
00673 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); 
00674 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);
00675 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,
00676 float* c, float* b, const int* ldb, float* x, const int* ldx, float* rcond, float* ferr, float* berr, float* work, int* iwork, int* info);
00677 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);
00678 void PREFIX SPOTRF_F77(Teuchos_fcd, const int* n, float* a, const int* lda, int* info); 
00679 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);
00680 void PREFIX SPOTRI_F77(Teuchos_fcd, const int* n, float* a, const int* lda, int* info); 
00681 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); 
00682 void PREFIX SPOSV_F77(Teuchos_fcd, const int* n, const int* nrhs, float* a, const int* lda, float*x , const int* ldx, int* info);
00683 void PREFIX SPOEQU_F77(const int* n, const float* a, const int* lda, float* s, float* scond, float* amax, int* info); 
00684 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);
00685 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);
00686 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);
00687 void PREFIX STRTRI_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const float* a, const int* lda, int* info);
00688 
00689 // Double precision LAPACK eigen solvers
00690 void PREFIX DSPEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, double* ap, double* w, double* z, const int* ldz, double* work, int* info);
00691 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);
00692 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);
00693 void PREFIX DSTEQR_F77(Teuchos_fcd, const int* n, double* D, double* E, double* Z, const int* ldz, double* work, int* info);
00694 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);
00695 void PREFIX DGESVD_F77(Teuchos_fcd, Teuchos_fcd, const int* m, const int* n, double* a, const int* lda, double* s, double* u, const int* ldu, double* v, const int* ldv, double* work, const int* lwork, int* info);
00696 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);
00697 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);
00698 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);
00699 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);
00700 void PREFIX DORGHR_F77(const int* n, const int* ilo, const int* ihi, double* a, const int* lda, const double* tau, double* work, const int* lwork, int* info);
00701 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, const int* lwork, int* info);
00702 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);
00703 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);
00704 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); 
00705 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);
00706 void PREFIX DGGEV_F77(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, double *work, const int *lwork, int *info);
00707   
00708 
00709 // Single precision LAPACK eigen solvers
00710 
00711 void PREFIX SSPEV_F77(Teuchos_fcd, Teuchos_fcd, const int* n, float* ap, float* w, float* z, const int* ldz, float* work, int* info);
00712 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);
00713 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);
00714 void PREFIX SSTEQR_F77(Teuchos_fcd, const int* n, float* D, float* E, float* Z, const int* ldz, float* work, int* info);
00715 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);
00716 void PREFIX SGESVD_F77(Teuchos_fcd, Teuchos_fcd, const int* m, const int* n, float* a, const int* lda, float* s, float* u, const int* ldu, float* v, const int* ldv, float* work, const int* lwork, int* info);
00717 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);
00718 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);
00719 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);
00720 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);
00721 void PREFIX SORGHR_F77(const int* n, const int* ilo, const int* ihi, float* a, const int* lda, const float* tau, float* work, const int* lwork, int* info);
00722 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, const int* lwork, int* info);
00723 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);
00724 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);
00725 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); 
00726 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);
00727 void PREFIX SGGEV_F77(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, float *work, const int *lwork, int *info);
00728 
00729 void PREFIX SLARTG_F77(const float* f, const float* g, float* c, float* s, float* r);
00730 void PREFIX DLARTG_F77(const double* f, const double* g, double* c, double* s, double* r);
00731 
00732 void PREFIX SLARFG_F77(const int* n, float* alpha, float* x, const int* incx, float* tau);
00733 void PREFIX DLARFG_F77(const int* n, double* alpha, double* x, const int* incx, double* tau);
00734 
00735 void PREFIX SGEBAL_F77(Teuchos_fcd, const int* n, float* a, const int* lda, int* ilo, int* ihi, float* scale, int* info);
00736 void PREFIX SGEBAK_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* ilo, const int* ihi, const float* scale, const int* m, float* V, const int* ldv, int* info);
00737 void PREFIX DGEBAL_F77(Teuchos_fcd, const int* n, double* a, const int* lda, int* ilo, int* ihi, double* scale, int* info);
00738 void PREFIX DGEBAK_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* ilo, const int* ihi, const double* scale, const int* m, double* V, const int* ldv, int* info);
00739 
00740 float PREFIX SLARND_F77(const int* idist, int* seed);
00741 double PREFIX DLARND_F77(const int* idist, int* seed);
00742 
00743 void PREFIX SLARNV_F77(const int* idist, int* seed, const int* n, float* v);
00744 void PREFIX DLARNV_F77(const int* idist, int* seed, const int* n, double* v);
00745 
00746 float PREFIX SLAMCH_F77(Teuchos_fcd);
00747 double PREFIX DLAMCH_F77(Teuchos_fcd);
00748 
00749 #if defined(INTEL_CXML)
00750 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 );
00751 #else
00752 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 );
00753 #endif
00754 
00755 float PREFIX SLAPY2_F77(const float* x, const float* y);
00756 double PREFIX DLAPY2_F77(const double* x, const double* y);
00757 
00758 #ifdef HAVE_TEUCHOS_COMPLEX
00759 
00760 // Double precision complex LAPACK linear solvers
00761 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);
00762 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);
00763 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);
00764 void PREFIX ZGETRF_F77(const int* m, const int* n, std::complex<double>* a, const int* lda, int* ipiv, int* info); 
00765 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);
00766 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); 
00767 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);
00768 void PREFIX ZPTTRF_F77(const int* n, std::complex<double>* d, std::complex<double>* e, int* info); 
00769 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);
00770 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);
00771 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); 
00772 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);
00773 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); 
00774 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);
00775 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* rwork, int* info);
00776 void PREFIX ZPOTRF_F77(Teuchos_fcd, const int* n, std::complex<double>* a, const int* lda, int* info); 
00777 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);
00778 void PREFIX ZPOTRI_F77(Teuchos_fcd, const int* n, std::complex<double>* a, const int* lda, int* info); 
00779 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); 
00780 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);
00781 void PREFIX ZPOEQU_F77(const int* n, const std::complex<double>* a, const int* lda, double* s, double* scond, double* amax, int* info); 
00782 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);
00783 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);
00784 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);
00785 void PREFIX ZTRTRI_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const std::complex<double>* a, const int* lda, int* info);
00786 
00787 // Single precision complex LAPACK linear solvers
00788 
00789 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);
00790 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);
00791 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);
00792 void PREFIX CGETRF_F77(const int* m, const int* n, std::complex<float>* a, const int* lda, int* ipiv, int* info);
00793 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);
00794 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); 
00795 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);
00796 void PREFIX CPTTRF_F77(const int* n, std::complex<float>* d, std::complex<float>* e, int* info); 
00797 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);
00798 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);
00799 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); 
00800 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);
00801 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); 
00802 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);
00803 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);
00804 void PREFIX CPOTRF_F77(Teuchos_fcd, const int* n, std::complex<float>* a, const int* lda, int* info); 
00805 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);
00806 void PREFIX CPOTRI_F77(Teuchos_fcd, const int* n, std::complex<float>* a, const int* lda, int* info); 
00807 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); 
00808 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);
00809 void PREFIX CPOEQU_F77(const int* n, const std::complex<float>* a, const int* lda, float* s, float* scond, float* amax, int* info); 
00810 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);
00811 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);
00812 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);
00813 void PREFIX CTRTRI_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const std::complex<float>* a, const int* lda, int* info);
00814 
00815 // Double precision complex LAPACK eigensolvers
00816 
00817 void PREFIX ZSTEQR_F77(Teuchos_fcd, const int* n, double* D, double* E, std::complex<double>* Z, const int* ldz, double* work, int* info);
00818 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);
00819 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);
00820 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);
00821 void PREFIX ZGESVD_F77(Teuchos_fcd, Teuchos_fcd, const int* m, const int* n, std::complex<double>* a, const int* lda, double* s, std::complex<double>* u, const int* ldu, std::complex<double>* v, const int* ldv, std::complex<double>* work, const int* lwork, double* rwork, int* info);
00822 //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);
00823 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);
00824 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);
00825 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);
00826 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); 
00827 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);
00828 
00829 // Single precision complex LAPACK eigensolvers
00830 
00831 void PREFIX CSTEQR_F77(Teuchos_fcd, const int* n, float* D, float* E, std::complex<float>* Z, const int* ldz, float* work, int* info);
00832 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);
00833 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);
00834 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);
00835 void PREFIX CGESVD_F77(Teuchos_fcd, Teuchos_fcd, const int* m, const int* n, std::complex<float>* a, const int* lda, float* s, std::complex<float>* u, const int* ldu, std::complex<float>* v, const int* ldv, std::complex<float>* work, const int* lwork, float* rwork, int* info);
00836 //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);
00837 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);
00838 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);
00839 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);
00840   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); 
00841 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);
00842 
00843 void PREFIX CLARTG_F77(const std::complex<float>* f, const std::complex<float>* g, float* c, std::complex<float>* s, std::complex<float>* r);
00844 void PREFIX ZLARTG_F77(const std::complex<double>* f, const std::complex<double>* g, double* c, std::complex<double>* s, std::complex<double>* r);
00845 
00846 void PREFIX CLARFG_F77(const int* n, std::complex<float>* alpha, std::complex<float>* x, const int* incx, std::complex<float>* tau);
00847 void PREFIX ZLARFG_F77(const int* n, std::complex<double>* alpha, std::complex<double>* x, const int* incx, std::complex<double>* tau);
00848 
00849 void PREFIX CGEBAL_F77(Teuchos_fcd, const int* n, std::complex<float>* a, const int* lda, int* ilo, int* ihi, float* scale, int* info);
00850 void PREFIX CGEBAK_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* ilo, const int* ihi, const float* scale, const int* m, std::complex<float>* V, const int* ldv, int* info);
00851 void PREFIX ZGEBAL_F77(Teuchos_fcd, const int* n, std::complex<double>* a, const int* lda, int* ilo, int* ihi, double* scale, int* info);
00852 void PREFIX ZGEBAK_F77(Teuchos_fcd, Teuchos_fcd, const int* n, const int* ilo, const int* ihi, const double* scale, const int* m, std::complex<double>* V, const int* ldv, int* info);
00853 
00854 std::complex<float> PREFIX CLARND_F77(const int* idist, int* seed);
00855 std::complex<double> PREFIX ZLARND_F77(const int* idist, int* seed);
00856 
00857 void PREFIX CLARNV_F77(const int* idist, int* seed, const int* n, std::complex<float>* v);
00858 void PREFIX ZLARNV_F77(const int* idist, int* seed, const int* n, std::complex<double>* v);
00859 
00860 #endif /* HAVE_TEUCHOS_COMPLEX */
00861 
00862 #ifdef __cplusplus
00863 }
00864 #endif
00865 
00866 #endif // end of TEUCHOS_LAPACK_WRAPPERS_HPP_
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines