QCLapack.hpp

Go to the documentation of this file.
00001 //------------------------------------------------------------------------------------//
00002 //                                                                                    //
00003 //   Copyright (c) 2001                                                               //
00004 //      INRIA                                                                         //
00005 //      54600 VILLERS LES NANCY                                                       //
00006 //      France                                                                        //
00007 //                                                                                    //
00008 //------------------------------------------------------------------------------------//
00009 //                                                                                    //
00010 //                 * NOTICE OF PROPRIETARY INFORMATION *                              //
00011 //                                                                                    //
00012 // The information contained in this file is considered proprietary and the exclusive //
00013 // property of  INRIA. This information may not be disclosed, duplicated              //
00014 // or used, in whole or in part, for  any purpose  whatsoever without express written //
00015 // authorization from INRIA                                                           //
00016 //                                                                                    //
00017 //------------------------------------------------------------------------------------//
00018 
00019 
00020 
00021 #include "QCCommon.hpp"
00022 
00023 
00024 #ifndef QC_Lapack_H_
00025 #define QC_Lapack_H_
00026 
00027 
00028 
00033 # define    QCLapack(name)    F77_FUNC(name,name)
00034 
00035 
00036 BEGIN_C_DECLARATION
00037 
00041 void QCLapack(dsyev)
00042       (//
00043       // "V" if you want all eigenvalues and all eigenvectors.
00044       char *,
00045       //
00046       // "U" for upper, "L" for lower
00047       char *,
00048       // the size
00049       const int *,
00050       //
00051       // the matrix
00052       QCFloat*,
00053       //
00054       // the size
00055       const int *,
00056       //
00057       // the eigenvalues
00058       QCFloat*,
00059       //
00060       // working array
00061       QCFloat*,
00062       //
00063       // the size
00064       const int*,
00065       //
00066       // error code
00067       int*
00068       );
00069 
00076 void QCLapack(dsyevx)
00077       (//
00078       // "V" if you want eigenvalues and eigenvectors.
00079       const char*,
00080       //
00081       // "A" if you want all eigenvectors.
00082       const char*,
00083       //
00084       // "U" for upper, "L" for lower
00085       const char*,
00086       //
00087       // the size
00088       const int&,
00089       //
00090       // the matrix
00091       const QCFloat*,
00092       //
00093       // the size again
00094       const int&,
00095       //
00096       // some dummy variables for us.
00097       const QCFloat*, const QCFloat*, const int*, const int*,
00098       //
00099       // tolerance factor
00100       const QCFloat&,
00101       //
00102       // the number of eigenvalues found
00103       int&,
00104       //
00105       // the eigenvalues
00106       QCFloat*,
00107       //
00108       // the eigenvectors
00109       QCFloat*,
00110       //
00111       // the size again
00112       const int&,
00113       //
00114       // the first working array
00115       QCFloat*,
00116       //
00117       // and its size
00118       const int&,
00119       //
00120       // the second working array
00121       int*,
00122       //
00123       // a third working array
00124       int*,
00125       //
00126       // error code
00127       int&
00128       );
00129 
00135 void QCLapack(dspevx)
00136      (//
00137       // "V" if you want eigenvalues and eigenvectors.
00138       const char *,
00139       //
00140       // "A" if you want all eigenvectors.
00141       const char *,
00142       //
00143       // "U" for upper, "L" for lower
00144       const char *,
00145       //
00146       // the size
00147       const int *,
00148       //
00149       // the matrix
00150       const QCFloat*,
00151       //
00152       // some dummy variables for us.
00153       const QCFloat*, const QCFloat*, const int*, const int*,
00154       //
00155       // tolerance factor
00156       const QCFloat*,
00157       //
00158       // the number of eigenvalues found
00159       int*,
00160       //
00161       // the eigenvalues
00162       QCFloat*,
00163       //
00164       // the eigenvectors
00165       QCFloat*,
00166       //
00167       // the size again
00168       const int*,
00169       //
00170       // the first working array
00171       QCFloat*,
00172       //
00173       // the second working array
00174       int*,
00175       //
00176       // a third working array
00177       int*,
00178       //
00179       // error code
00180       int*
00181       );
00182 
00189 void QCLapack(dsyevd)
00190      (//
00191       // "V" if you want all eigenvalues and all eigenvectors.
00192       const char*,
00193       //
00194       // "U" for upper, "L" for lower
00195       const char*,
00196       //
00197       // the size
00198       const int&,
00199       //
00200       // on entry the matrix, on exit the eigenvectors
00201       QCFloat*,
00202       //
00203       // the size again
00204       const int&,
00205       //
00206       // the eigenvalues
00207       QCFloat*,
00208       //
00209       // the first working array
00210       QCFloat*,
00211       //
00212       // and its size
00213       const int&,
00214       //
00215       // the second working array
00216       int*,
00217       //
00218       // and its size
00219       const int&,
00220       //
00221       // error code
00222       int&
00223       );
00224 
00225 END_C_DECLARATION
00226 
00227 
00228 
00229 #endif // QC_Lapack_H_

Generated on Sat Jan 28 21:07:26 2006 for QC++ by  doxygen 1.4.4