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