Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

blas_proto.h

Go to the documentation of this file.
00001 // -*- C++ -*- 00002 00003 // PLearn (A C++ Machine Learning Library) 00004 // Copyright (C) 2002 Pascal Vincent 00005 // 00006 00007 // Redistribution and use in source and binary forms, with or without 00008 // modification, are permitted provided that the following conditions are met: 00009 // 00010 // 1. Redistributions of source code must retain the above copyright 00011 // notice, this list of conditions and the following disclaimer. 00012 // 00013 // 2. Redistributions in binary form must reproduce the above copyright 00014 // notice, this list of conditions and the following disclaimer in the 00015 // documentation and/or other materials provided with the distribution. 00016 // 00017 // 3. The name of the authors may not be used to endorse or promote 00018 // products derived from this software without specific prior written 00019 // permission. 00020 // 00021 // THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR 00022 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 00023 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 00024 // NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 00025 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 00026 // TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 00027 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 00028 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 00029 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00030 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00031 // 00032 // This file is part of the PLearn library. For more information on the PLearn 00033 // library, go to the PLearn Web site at www.plearn.org 00034 00035 00036 #ifndef blas_proto_INC 00037 #define blas_proto_INC 00038 00039 extern "C" 00040 { 00041 00042 void xerbla_(char*, void *); 00043 00044 /***********/ 00045 /* Level 1 */ 00046 /***********/ 00047 00048 /* Single Precision */ 00049 00050 void srot_(const int*, float *, const int*, float *, const int*, const float *, const float *); 00051 void srotg_(float *,float *,float *,float *); 00052 void srotm_( const int*, float *, const int*, float *, const int*, const float *); 00053 void srotmg_(float *,float *,float *,const float *, float *); 00054 void sswap_( const int*, float *, const int*, float *, const int*); 00055 void scopy_( const int*, const float *, const int*, float *, const int*); 00056 void saxpy_( const int*, const float *, const float *, const int*, float *, const int*); 00057 void sdot_sub_(const int*, const float *, const int*, const float *, const int*, float *); 00058 void sdsdot_sub_( const int*, const float *, const float *, const int*, const float *, const int*, float *); 00059 void sscal_( const int*, const float *, float *, const int*); 00060 void snrm2_sub_( const int*, const float *, const int*, float *); 00061 void sasum_sub_( const int*, const float *, const int*, float *); 00062 void isamax_sub_( const int*, const float * , const int*, const int*); 00063 00064 /* Double Precision */ 00065 00066 void drot_(const int*, double *, const int*, double *, const int*, const double *, const double *); 00067 void drotg_(double *,double *,double *,double *); 00068 void drotm_( const int*, double *, const int*, double *, const int*, const double *); 00069 void drotmg_(double *,double *,double *,const double *, double *); 00070 void dswap_( const int*, double *, const int*, double *, const int*); 00071 void dcopy_( const int*, const double *, const int*, double *, const int*); 00072 void daxpy_( const int*, const double *, const double *, const int*, double *, const int*); 00073 void dswap_( const int*, double *, const int*, double *, const int*); 00074 void dsdot_sub_(const int*, const float *, const int*, const float *, const int*, double *); 00075 void ddot_sub_( const int*, const double *, const int*, const double *, const int*, double *); 00076 void dscal_( const int*, const double *, double *, const int*); 00077 void dnrm2_sub_( const int*, const double *, const int*, double *); 00078 void dasum_sub_( const int*, const double *, const int*, double *); 00079 void idamax_sub_( const int*, const double * , const int*, const int*); 00080 00081 /* Single Complex Precision */ 00082 00083 void cswap_( const int*, void *, const int*, void *, const int*); 00084 void ccopy_( const int*, const void *, const int*, void *, const int*); 00085 void caxpy_( const int*, const void *, const void *, const int*, void *, const int*); 00086 void cswap_( const int*, void *, const int*, void *, const int*); 00087 void cdotc_sub_( const int*, const void *, const int*, const void *, const int*, void *); 00088 void cdotu_sub_( const int*, const void *, const int*, const void *, const int*, void *); 00089 void cscal_( const int*, const void *, void *, const int*); 00090 void icamax_sub_( const int*, const void *, const int*, const int*); 00091 void csscal_( const int*, const float *, void *, const int*); 00092 void scnrm2_sub_( const int*, const void *, const int*, float *); 00093 void scasum_sub_( const int*, const void *, const int*, float *); 00094 00095 /* Double Complex Precision */ 00096 00097 void zswap_( const int*, void *, const int*, void *, const int*); 00098 void zcopy_( const int*, const void *, const int*, void *, const int*); 00099 void zaxpy_( const int*, const void *, const void *, const int*, void *, const int*); 00100 void zswap_( const int*, void *, const int*, void *, const int*); 00101 void zdotc_sub_( const int*, const void *, const int*, const void *, const int*, void *); 00102 void zdotu_sub_( const int*, const void *, const int*, const void *, const int*, void *); 00103 void zdscal_( const int*, const double *, void *, const int*); 00104 void zscal_( const int*, const void *, void *, const int*); 00105 void dznrm2_sub_( const int*, const void *, const int*, double *); 00106 void dzasum_sub_( const int*, const void *, const int*, double *); 00107 void izamax_sub_( const int*, const void *, const int*, const int*); 00108 00109 /***********/ 00110 /* Level 2 */ 00111 /***********/ 00112 00113 /* Single Precision */ 00114 00115 void sgemv_(char*, const int*, const int*, const float *, const float *, const int*, const float *, const int*, const float *, float *, const int*); 00116 void sgbmv_(char*, const int*, const int*, const int*, const int*, const float *, const float *, const int*, const float *, const int*, const float *, float *, const int*); 00117 void ssymv_(char*, const int*, const float *, const float *, const int*, const float *, const int*, const float *, float *, const int*); 00118 void ssbmv_(char*, const int*, const int*, const float *, const float *, const int*, const float *, const int*, const float *, float *, const int*); 00119 void sspmv_(char*, const int*, const float *, const float *, const float *, const int*, const float *, float *, const int*); 00120 void strmv_( char*, char*, char*, const int*, const float *, const int*, float *, const int*); 00121 void stbmv_( char*, char*, char*, const int*, const int*, const float *, const int*, float *, const int*); 00122 void strsv_( char*, char*, char*, const int*, const float *, const int*, float *, const int*); 00123 void stbsv_( char*, char*, char*, const int*, const int*, const float *, const int*, float *, const int*); 00124 void stpmv_( char*, char*, char*, const int*, const float *, float *, const int*); 00125 void stpsv_( char*, char*, char*, const int*, const float *, float *, const int*); 00126 void sger_( const int*, const int*, const float *, const float *, const int*, const float *, const int*, float *, const int*); 00127 void ssyr_(char*, const int*, const float *, const float *, const int*, float *, const int*); 00128 void sspr_(char*, const int*, const float *, const float *, const int*, float *); 00129 void sspr2_(char*, const int*, const float *, const float *, const int*, const float *, const int*, float *); 00130 void ssyr2_(char*, const int*, const float *, const float *, const int*, const float *, const int*, float *, const int*); 00131 00132 /* Double Precision */ 00133 00134 void dgemv_(char*, const int*, const int*, const double *, const double *, const int*, const double *, const int*, const double *, double *, const int*); 00135 void dgbmv_(char*, const int*, const int*, const int*, const int*, const double *, const double *, const int*, const double *, const int*, const double *, double *, const int*); 00136 void dsymv_(char*, const int*, const double *, const double *, const int*, const double *, const int*, const double *, double *, const int*); 00137 void dsbmv_(char*, const int*, const int*, const double *, const double *, const int*, const double *, const int*, const double *, double *, const int*); 00138 void dspmv_(char*, const int*, const double *, const double *, const double *, const int*, const double *, double *, const int*); 00139 void dtrmv_( char*, char*, char*, const int*, const double *, const int*, double *, const int*); 00140 void dtbmv_( char*, char*, char*, const int*, const int*, const double *, const int*, double *, const int*); 00141 void dtrsv_( char*, char*, char*, const int*, const double *, const int*, double *, const int*); 00142 void dtbsv_( char*, char*, char*, const int*, const int*, const double *, const int*, double *, const int*); 00143 void dtpmv_( char*, char*, char*, const int*, const double *, double *, const int*); 00144 void dtpsv_( char*, char*, char*, const int*, const double *, double *, const int*); 00145 void dger_( const int*, const int*, const double *, const double *, const int*, const double *, const int*, double *, const int*); 00146 void dsyr_(char*, const int*, const double *, const double *, const int*, double *, const int*); 00147 void dspr_(char*, const int*, const double *, const double *, const int*, double *); 00148 void dspr2_(char*, const int*, const double *, const double *, const int*, const double *, const int*, double *); 00149 void dsyr2_(char*, const int*, const double *, const double *, const int*, const double *, const int*, double *, const int*); 00150 00151 /* Single Complex Precision */ 00152 00153 void cgemv_(char*, const int*, const int*, const void *, const void *, const int*, const void *, const int*, const void *, void *, const int*); 00154 void cgbmv_(char*, const int*, const int*, const int*, const int*, const void *, const void *, const int*, const void *, const int*, const void *, void *, const int*); 00155 void chemv_(char*, const int*, const void *, const void *, const int*, const void *, const int*, const void *, void *, const int*); 00156 void chbmv_(char*, const int*, const int*, const void *, const void *, const int*, const void *, const int*, const void *, void *, const int*); 00157 void chpmv_(char*, const int*, const void *, const void *, const void *, const int*, const void *, void *, const int*); 00158 void ctrmv_( char*, char*, char*, const int*, const void *, const int*, void *, const int*); 00159 void ctbmv_( char*, char*, char*, const int*, const int*, const void *, const int*, void *, const int*); 00160 void ctpmv_( char*, char*, char*, const int*, const void *, void *, const int*); 00161 void ctrsv_( char*, char*, char*, const int*, const void *, const int*, void *, const int*); 00162 void ctbsv_( char*, char*, char*, const int*, const int*, const void *, const int*, void *, const int*); 00163 void ctpsv_( char*, char*, char*, const int*, const void *, void *,const int*); 00164 void cgerc_( const int*, const int*, const void *, const void *, const int*, const void *, const int*, void *, const int*); 00165 void cgeru_( const int*, const int*, const void *, const void *, const int*, const void *, const int*, void *, const int*); 00166 void cher_(char*, const int*, const float *, const void *, const int*, void *, const int*); 00167 void cher2_(char*, const int*, const void *, const void *, const int*, const void *, const int*, void *, const int*); 00168 void chpr_(char*, const int*, const float *, const void *, const int*, void *); 00169 void chpr2_(char*, const int*, const float *, const void *, const int*, const void *, const int*, void *); 00170 00171 /* Double Complex Precision */ 00172 00173 void zgemv_(char*, const int*, const int*, const void *, const void *, const int*, const void *, const int*, const void *, void *, const int*); 00174 void zgbmv_(char*, const int*, const int*, const int*, const int*, const void *, const void *, const int*, const void *, const int*, const void *, void *, const int*); 00175 void zhemv_(char*, const int*, const void *, const void *, const int*, const void *, const int*, const void *, void *, const int*); 00176 void zhbmv_(char*, const int*, const int*, const void *, const void *, const int*, const void *, const int*, const void *, void *, const int*); 00177 void zhpmv_(char*, const int*, const void *, const void *, const void *, const int*, const void *, void *, const int*); 00178 void ztrmv_( char*, char*, char*, const int*, const void *, const int*, void *, const int*); 00179 void ztbmv_( char*, char*, char*, const int*, const int*, const void *, const int*, void *, const int*); 00180 void ztpmv_( char*, char*, char*, const int*, const void *, void *, const int*); 00181 void ztrsv_( char*, char*, char*, const int*, const void *, const int*, void *, const int*); 00182 void ztbsv_( char*, char*, char*, const int*, const int*, const void *, const int*, void *, const int*); 00183 void ztpsv_( char*, char*, char*, const int*, const void *, void *,const int*); 00184 void zgerc_( const int*, const int*, const void *, const void *, const int*, const void *, const int*, void *, const int*); 00185 void zgeru_( const int*, const int*, const void *, const void *, const int*, const void *, const int*, void *, const int*); 00186 void zher_(char*, const int*, const double *, const void *, const int*, void *, const int*); 00187 void zher2_(char*, const int*, const void *, const void *, const int*, const void *, const int*, void *, const int*); 00188 void zhpr_(char*, const int*, const double *, const void *, const int*, void *); 00189 void zhpr2_(char*, const int*, const double *, const void *, const int*, const void *, const int*, void *); 00190 00191 /***********/ 00192 /* Level 3 */ 00193 /***********/ 00194 00195 /* Single Precision */ 00196 00197 void sgemm_(char*, char*, const int*, const int*, const int*, const float *, const float *, const int*, const float *, const int*, const float *, float *, const int*); 00198 void ssymm_(char*, char*, const int*, const int*, const float *, const float *, const int*, const float *, const int*, const float *, float *, const int*); 00199 void ssyrk_(char*, char*, const int*, const int*, const float *, const float *, const int*, const float *, float *, const int*); 00200 void ssyr2k_(char*, char*, const int*, const int*, const float *, const float *, const int*, const float *, const int*, const float *, float *, const int*); 00201 void strmm_(char*, char*, char*, char*, const int*, const int*, const float *, const float *, const int*, float *, const int*); 00202 void strsm_(char*, char*, char*, char*, const int*, const int*, const float *, const float *, const int*, float *, const int*); 00203 00204 /* Double Precision */ 00205 00206 void dgemm_(char*, char*, const int*, const int*, const int*, const double *, const double *, const int*, const double *, const int*, const double *, double *, const int*); 00207 void dsymm_(char*, char*, const int*, const int*, const double *, const double *, const int*, const double *, const int*, const double *, double *, const int*); 00208 void dsyrk_(char*, char*, const int*, const int*, const double *, const double *, const int*, const double *, double *, const int*); 00209 void dsyr2k_(char*, char*, const int*, const int*, const double *, const double *, const int*, const double *, const int*, const double *, double *, const int*); 00210 void dtrmm_(char*, char*, char*, char*, const int*, const int*, const double *, const double *, const int*, double *, const int*); 00211 void dtrsm_(char*, char*, char*, char*, const int*, const int*, const double *, const double *, const int*, double *, const int*); 00212 00213 /* Single Complex Precision */ 00214 00215 void cgemm_(char*, char*, const int*, const int*, const int*, const float *, const float *, const int*, const float *, const int*, const float *, float *, const int*); 00216 void csymm_(char*, char*, const int*, const int*, const float *, const float *, const int*, const float *, const int*, const float *, float *, const int*); 00217 void chemm_(char*, char*, const int*, const int*, const float *, const float *, const int*, const float *, const int*, const float *, float *, const int*); 00218 void csyrk_(char*, char*, const int*, const int*, const float *, const float *, const int*, const float *, float *, const int*); 00219 void cherk_(char*, char*, const int*, const int*, const float *, const float *, const int*, const float *, float *, const int*); 00220 void csyr2k_(char*, char*, const int*, const int*, const float *, const float *, const int*, const float *, const int*, const float *, float *, const int*); 00221 void cher2k_(char*, char*, const int*, const int*, const float *, const float *, const int*, const float *, const int*, const float *, float *, const int*); 00222 void ctrmm_(char*, char*, char*, char*, const int*, const int*, const float *, const float *, const int*, float *, const int*); 00223 void ctrsm_(char*, char*, char*, char*, const int*, const int*, const float *, const float *, const int*, float *, const int*); 00224 00225 /* Double Complex Precision */ 00226 00227 void zgemm_(char*, char*, const int*, const int*, const int*, const double *, const double *, const int*, const double *, const int*, const double *, double *, const int*); 00228 void zsymm_(char*, char*, const int*, const int*, const double *, const double *, const int*, const double *, const int*, const double *, double *, const int*); 00229 void zhemm_(char*, char*, const int*, const int*, const double *, const double *, const int*, const double *, const int*, const double *, double *, const int*); 00230 void zsyrk_(char*, char*, const int*, const int*, const double *, const double *, const int*, const double *, double *, const int*); 00231 void zherk_(char*, char*, const int*, const int*, const double *, const double *, const int*, const double *, double *, const int*); 00232 void zsyr2k_(char*, char*, const int*, const int*, const double *, const double *, const int*, const double *, const int*, const double *, double *, const int*); 00233 void zher2k_(char*, char*, const int*, const int*, const double *, const double *, const int*, const double *, const int*, const double *, double *, const int*); 00234 void ztrmm_(char*, char*, char*, char*, const int*, const int*, const double *, const double *, const int*, double *, const int*); 00235 void ztrsm_(char*, char*, char*, char*, const int*, const int*, const double *, const double *, const int*, double *, const int*); 00236 00237 } 00238 00239 #endif /* blas_proto_INC */ 00240 00241

Generated on Tue Aug 17 15:48:58 2004 for PLearn by doxygen 1.3.7