lapack_names.h

Go to the documentation of this file.
00001 /*
00002  * 
00003  * Copyright (c) Toon Knapen & Kresimir Fresl 2003
00004  *
00005  * Distributed under the Boost Software License, Version 1.0.
00006  * (See accompanying file LICENSE_1_0.txt or copy at
00007  * http://www.boost.org/LICENSE_1_0.txt)
00008  *
00009  * KF acknowledges the support of the Faculty of Civil Engineering, 
00010  * University of Zagreb, Croatia.
00011  *
00012  */
00013 
00014 #ifndef BOOST_NUMERIC_BINDINGS_LAPACK_LAPACK_NAMES_H
00015 #define BOOST_NUMERIC_BINDINGS_LAPACK_LAPACK_NAMES_H
00016 
00017 #ifndef BOOST_NUMERIC_BINDINGS_USE_CLAPACK
00018 #  include <boost/numeric/bindings/traits/fortran.h>
00019 #else
00020 #  define FORTRAN_ID( id ) id##_
00021 #endif 
00022 
00023 /* linear systems */
00024 
00025 /* general */
00026 
00027 #define LAPACK_SGESV FORTRAN_ID( sgesv )
00028 #define LAPACK_DGESV FORTRAN_ID( dgesv )
00029 #define LAPACK_CGESV FORTRAN_ID( cgesv )
00030 #define LAPACK_ZGESV FORTRAN_ID( zgesv )
00031 
00032 #define LAPACK_SGETRF FORTRAN_ID( sgetrf )
00033 #define LAPACK_DGETRF FORTRAN_ID( dgetrf )
00034 #define LAPACK_CGETRF FORTRAN_ID( cgetrf )
00035 #define LAPACK_ZGETRF FORTRAN_ID( zgetrf )
00036 
00037 #define LAPACK_SGETRS FORTRAN_ID( sgetrs )
00038 #define LAPACK_DGETRS FORTRAN_ID( dgetrs )
00039 #define LAPACK_CGETRS FORTRAN_ID( cgetrs )
00040 #define LAPACK_ZGETRS FORTRAN_ID( zgetrs )
00041 
00042 #define LAPACK_SGETRI FORTRAN_ID( sgetri )
00043 #define LAPACK_DGETRI FORTRAN_ID( dgetri )
00044 #define LAPACK_CGETRI FORTRAN_ID( cgetri )
00045 #define LAPACK_ZGETRI FORTRAN_ID( zgetri )
00046 
00047 
00048 /* symmetric/Hermitian positive definite */
00049 
00050 #define LAPACK_SPOSV FORTRAN_ID( sposv )
00051 #define LAPACK_DPOSV FORTRAN_ID( dposv )
00052 #define LAPACK_CPOSV FORTRAN_ID( cposv )
00053 #define LAPACK_ZPOSV FORTRAN_ID( zposv )
00054 
00055 #define LAPACK_SPOTRF FORTRAN_ID( spotrf )
00056 #define LAPACK_DPOTRF FORTRAN_ID( dpotrf )
00057 #define LAPACK_CPOTRF FORTRAN_ID( cpotrf )
00058 #define LAPACK_ZPOTRF FORTRAN_ID( zpotrf )
00059 
00060 #define LAPACK_SPOTRS FORTRAN_ID( spotrs )
00061 #define LAPACK_DPOTRS FORTRAN_ID( dpotrs )
00062 #define LAPACK_CPOTRS FORTRAN_ID( cpotrs )
00063 #define LAPACK_ZPOTRS FORTRAN_ID( zpotrs )
00064 
00065 #define LAPACK_SPOTRI FORTRAN_ID( spotri )
00066 #define LAPACK_DPOTRI FORTRAN_ID( dpotri )
00067 #define LAPACK_CPOTRI FORTRAN_ID( cpotri )
00068 #define LAPACK_ZPOTRI FORTRAN_ID( zpotri )
00069 
00070 
00071 /* symmetric/Hermitian positive definite in packed storage */
00072 
00073 #define LAPACK_SPPSV FORTRAN_ID( sppsv )
00074 #define LAPACK_DPPSV FORTRAN_ID( dppsv )
00075 #define LAPACK_CPPSV FORTRAN_ID( cppsv )
00076 #define LAPACK_ZPPSV FORTRAN_ID( zppsv )
00077 
00078 #define LAPACK_SPPTRF FORTRAN_ID( spptrf )
00079 #define LAPACK_DPPTRF FORTRAN_ID( dpptrf )
00080 #define LAPACK_CPPTRF FORTRAN_ID( cpptrf )
00081 #define LAPACK_ZPPTRF FORTRAN_ID( zpptrf )
00082 
00083 #define LAPACK_SPPTRS FORTRAN_ID( spptrs )
00084 #define LAPACK_DPPTRS FORTRAN_ID( dpptrs )
00085 #define LAPACK_CPPTRS FORTRAN_ID( cpptrs )
00086 #define LAPACK_ZPPTRS FORTRAN_ID( zpptrs )
00087 
00088 #define LAPACK_SPPTRI FORTRAN_ID( spptri )
00089 #define LAPACK_DPPTRI FORTRAN_ID( dpptri )
00090 #define LAPACK_CPPTRI FORTRAN_ID( cpptri )
00091 #define LAPACK_ZPPTRI FORTRAN_ID( zpptri )
00092 
00093 
00094 /* symmetric/Hermitian indefinite and complex symmetric */
00095 
00096 #define LAPACK_SSYSV FORTRAN_ID( ssysv )
00097 #define LAPACK_DSYSV FORTRAN_ID( dsysv )
00098 #define LAPACK_CSYSV FORTRAN_ID( csysv )
00099 #define LAPACK_ZSYSV FORTRAN_ID( zsysv )
00100 #define LAPACK_CHESV FORTRAN_ID( chesv )
00101 #define LAPACK_ZHESV FORTRAN_ID( zhesv )
00102 
00103 #define LAPACK_SSYTRF FORTRAN_ID( ssytrf )
00104 #define LAPACK_DSYTRF FORTRAN_ID( dsytrf )
00105 #define LAPACK_CSYTRF FORTRAN_ID( csytrf )
00106 #define LAPACK_ZSYTRF FORTRAN_ID( zsytrf )
00107 #define LAPACK_CHETRF FORTRAN_ID( chetrf )
00108 #define LAPACK_ZHETRF FORTRAN_ID( zhetrf )
00109 
00110 #define LAPACK_SSYTRS FORTRAN_ID( ssytrs )
00111 #define LAPACK_DSYTRS FORTRAN_ID( dsytrs )
00112 #define LAPACK_CSYTRS FORTRAN_ID( csytrs )
00113 #define LAPACK_ZSYTRS FORTRAN_ID( zsytrs )
00114 #define LAPACK_CHETRS FORTRAN_ID( chetrs )
00115 #define LAPACK_ZHETRS FORTRAN_ID( zhetrs )
00116 
00117 
00118 /* symmetric/Hermitian indefinite and complex symmetric in packed storage */
00119 
00120 #define LAPACK_SSPSV FORTRAN_ID( sspsv )
00121 #define LAPACK_DSPSV FORTRAN_ID( dspsv )
00122 #define LAPACK_CSPSV FORTRAN_ID( cspsv )
00123 #define LAPACK_ZSPSV FORTRAN_ID( zspsv )
00124 #define LAPACK_CHPSV FORTRAN_ID( chpsv )
00125 #define LAPACK_ZHPSV FORTRAN_ID( zhpsv )
00126 
00127 #define LAPACK_SSPTRF FORTRAN_ID( ssptrf )
00128 #define LAPACK_DSPTRF FORTRAN_ID( dsptrf )
00129 #define LAPACK_CSPTRF FORTRAN_ID( csptrf )
00130 #define LAPACK_ZSPTRF FORTRAN_ID( zsptrf )
00131 #define LAPACK_CHPTRF FORTRAN_ID( chptrf )
00132 #define LAPACK_ZHPTRF FORTRAN_ID( zhptrf )
00133 
00134 #define LAPACK_SSPTRS FORTRAN_ID( ssptrs )
00135 #define LAPACK_DSPTRS FORTRAN_ID( dsptrs )
00136 #define LAPACK_CSPTRS FORTRAN_ID( csptrs )
00137 #define LAPACK_ZSPTRS FORTRAN_ID( zsptrs )
00138 #define LAPACK_CHPTRS FORTRAN_ID( chptrs )
00139 #define LAPACK_ZHPTRS FORTRAN_ID( zhptrs )
00140 
00141 
00142 /********************************************/
00143 /* eigenproblems */ 
00144 
00145 #define LAPACK_SGEES FORTRAN_ID( sgees )
00146 #define LAPACK_DGEES FORTRAN_ID( dgees )
00147 #define LAPACK_CGEES FORTRAN_ID( cgees )
00148 #define LAPACK_ZGEES FORTRAN_ID( zgees )
00149 
00150 #define LAPACK_SGEEV FORTRAN_ID( sgeev )
00151 #define LAPACK_DGEEV FORTRAN_ID( dgeev )
00152 #define LAPACK_CGEEV FORTRAN_ID( cgeev )
00153 #define LAPACK_ZGEEV FORTRAN_ID( zgeev )
00154 
00155 #define LAPACK_SSYEV FORTRAN_ID( ssyev )
00156 #define LAPACK_DSYEV FORTRAN_ID( dsyev )
00157 #define LAPACK_CHEEV FORTRAN_ID( cheev )
00158 #define LAPACK_ZHEEV FORTRAN_ID( zheev )
00159 
00160 #define LAPACK_SSYEVD FORTRAN_ID( ssyevd )
00161 #define LAPACK_DSYEVD FORTRAN_ID( dsyevd )
00162 #define LAPACK_CHEEVD FORTRAN_ID( cheevd )
00163 #define LAPACK_ZHEEVD FORTRAN_ID( zheevd )
00164 
00165 #define LAPACK_SSYEVX FORTRAN_ID( ssyevx )
00166 #define LAPACK_DSYEVX FORTRAN_ID( dsyevx )
00167 #define LAPACK_CHEEVX FORTRAN_ID( cheevx )
00168 #define LAPACK_ZHEEVX FORTRAN_ID( zheevx )
00169 
00170 
00171 #define LAPACK_STREVC FORTRAN_ID( strevc )
00172 #define LAPACK_DTREVC FORTRAN_ID( dtrevc )
00173 #define LAPACK_CTREVC FORTRAN_ID( ctrevc )
00174 #define LAPACK_ZTREVC FORTRAN_ID( ztrevc )
00175 
00176 #define LAPACK_STREXC FORTRAN_ID( strexc )
00177 #define LAPACK_DTREXC FORTRAN_ID( dtrexc )
00178 #define LAPACK_CTREXC FORTRAN_ID( ctrexc )
00179 #define LAPACK_ZTREXC FORTRAN_ID( ztrexc )
00180 
00181 
00182 /********************************************/
00183 /* eigenproblems for Hessenberg matrices */ 
00184 
00185 #define LAPACK_SHSEQR FORTRAN_ID( shseqr )
00186 #define LAPACK_DHSEQR FORTRAN_ID( dhseqr )
00187 #define LAPACK_CHSEQR FORTRAN_ID( chseqr )
00188 #define LAPACK_ZHSEQR FORTRAN_ID( zhseqr )
00189 
00190 /********************************************/
00191 /* eigenproblems for banded matrices */ 
00192 
00193 #define LAPACK_SSBEV FORTRAN_ID( ssbev )
00194 #define LAPACK_DSBEV FORTRAN_ID( dsbev )
00195 #define LAPACK_CHBEV FORTRAN_ID( chbev )
00196 #define LAPACK_ZHBEV FORTRAN_ID( zhbev )
00197 
00198 #define LAPACK_SSBEVX FORTRAN_ID( ssbevx )
00199 #define LAPACK_DSBEVX FORTRAN_ID( dsbevx )
00200 #define LAPACK_CHBEVX FORTRAN_ID( chbevx )
00201 #define LAPACK_ZHBEVX FORTRAN_ID( zhbevx )
00202 
00203 
00204 /********************************************/
00205 /* eigenproblems for tridiagonal matrices */ 
00206 
00207 #define LAPACK_SSTEQR FORTRAN_ID( ssteqr )
00208 #define LAPACK_DSTEQR FORTRAN_ID( dsteqr )
00209 
00210 
00211 /********************************************/
00212 /* QR factorization */
00213 
00214 #define LAPACK_SGEQRF FORTRAN_ID( sgeqrf )
00215 #define LAPACK_DGEQRF FORTRAN_ID( dgeqrf )
00216 #define LAPACK_CGEQRF FORTRAN_ID( cgeqrf )
00217 #define LAPACK_ZGEQRF FORTRAN_ID( zgeqrf )
00218 
00219 // Apply orthogonal transformation
00220 
00221 #define LAPACK_SORMQR FORTRAN_ID( sormqr )
00222 #define LAPACK_DORMQR FORTRAN_ID( dormqr )
00223 #define LAPACK_CUNMQR FORTRAN_ID( cunmqr )
00224 #define LAPACK_ZUNMQR FORTRAN_ID( zunmqr )
00225 
00226 #define LAPACK_SORGQR FORTRAN_ID( sorgqr )
00227 #define LAPACK_DORGQR FORTRAN_ID( dorgqr )
00228 #define LAPACK_CUNGQR FORTRAN_ID( cungqr )
00229 #define LAPACK_ZUNGQR FORTRAN_ID( zungqr )
00230 
00231 #define LAPACK_SSYTRD FORTRAN_ID( ssytrd )
00232 #define LAPACK_DSYTRD FORTRAN_ID( dsytrd )
00233 
00234 
00235 /********************************************/
00236 /* SVD */
00237 
00238 #define LAPACK_SGESVD FORTRAN_ID( sgesvd )
00239 #define LAPACK_DGESVD FORTRAN_ID( dgesvd )
00240 #define LAPACK_CGESVD FORTRAN_ID( cgesvd )
00241 #define LAPACK_ZGESVD FORTRAN_ID( zgesvd )
00242 
00243 #define LAPACK_SGESDD FORTRAN_ID( sgesdd )
00244 #define LAPACK_DGESDD FORTRAN_ID( dgesdd )
00245 #define LAPACK_CGESDD FORTRAN_ID( cgesdd )
00246 #define LAPACK_ZGESDD FORTRAN_ID( zgesdd )
00247 
00248 
00249 /********************************************/
00250 /* auxiliary */ 
00251 
00252 #define LAPACK_ILAENV FORTRAN_ID( ilaenv )
00253 
00254 
00255 #endif 
00256 

Generated on Wed Nov 23 19:00:20 2011 for FreeCAD by  doxygen 1.6.1