PageRenderTime 48ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/src/bin/psi4/export_blas_lapack.cc

https://gitlab.com/y-shao/psi4public
C++ | 220 lines | 41 code | 5 blank | 174 comment | 0 complexity | af78d7038814ae4ed52b61dd983a4d0f MD5 | raw file
  1. /*
  2. *@BEGIN LICENSE
  3. *
  4. * PSI4: an ab initio quantum chemistry software package
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License along
  17. * with this program; if not, write to the Free Software Foundation, Inc.,
  18. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  19. *
  20. *@END LICENSE
  21. */
  22. #include <boost/python.hpp>
  23. #include <libmints/psimath.h>
  24. using namespace boost::python;
  25. void export_blas_lapack()
  26. {
  27. // BLAS Static Wrappers
  28. def("DGBMV", &psi::PSI_DGBMV, "docstring");
  29. def("DGEMM", &psi::PSI_DGEMM, "docstring");
  30. def("DGEMV", &psi::PSI_DGEMV, "docstring");
  31. def("DGER", &psi::PSI_DGER, "docstring");
  32. def("DSBMV", &psi::PSI_DSBMV, "docstring");
  33. def("DSYMM", &psi::PSI_DSYMM, "docstring");
  34. def("DSYMV", &psi::PSI_DSYMV, "docstring");
  35. def("DSYR", &psi::PSI_DSYR, "docstring");
  36. def("DSYR2", &psi::PSI_DSYR2, "docstring");
  37. def("DSYR2K", &psi::PSI_DSYR2K, "docstring");
  38. def("DSYRK", &psi::PSI_DSYRK, "docstring");
  39. def("DTBMV", &psi::PSI_DTBMV, "docstring");
  40. def("DTBSV", &psi::PSI_DTBSV, "docstring");
  41. def("DTRMM", &psi::PSI_DTRMM, "docstring");
  42. def("DTRMV", &psi::PSI_DTRMV, "docstring");
  43. def("DTRSM", &psi::PSI_DTRSM, "docstring");
  44. def("DTRSV", &psi::PSI_DTRSV, "docstring");
  45. def("DROT", &psi::PSI_DROT, "docstring");
  46. def("DSWAP", &psi::PSI_DSWAP, "docstring");
  47. def("DSCAL", &psi::PSI_DSCAL, "docstring");
  48. def("DAXPY", &psi::PSI_DAXPY, "docstring");
  49. def("DCOPY", &psi::PSI_DCOPY, "docstring");
  50. def("DDOT", &psi::PSI_DDOT, "docstring");
  51. def("DNRM2", &psi::PSI_DNRM2, "docstring");
  52. def("DASUM", &psi::PSI_DASUM, "docstring");
  53. def("IDAMAX", &psi::PSI_IDAMAX, "docstring");
  54. // LAPACK static wrappers
  55. def("DGEEV", &psi::PSI_DGEEV, "docstring");
  56. def("DSYEV", &psi::PSI_DSYEV, "docstring");
  57. def("DSYSV", &psi::PSI_DSYSV, "docstring");
  58. def("DGETRF", &psi::PSI_DGETRF, "docstring");
  59. def("DGETRS", &psi::PSI_DGETRS, "docstring");
  60. def("DGETRI", &psi::PSI_DGETRI, "docstring");
  61. def("DPOTRF", &psi::PSI_DPOTRF, "docstring");
  62. def("DPOTRS", &psi::PSI_DPOTRS, "docstring");
  63. def("DPOTRI", &psi::PSI_DPOTRI, "docstring");
  64. /**
  65. def("DBDSDC", &psi::PSI_DBDSDC);
  66. def("DBDSQR", &psi::PSI_DBDSQR);
  67. def("DDISNA", &psi::PSI_DDISNA);
  68. def("DGBBRD", &psi::PSI_DGBBRD);
  69. def("DGBCON", &psi::PSI_DGBCON);
  70. def("DGBEQU", &psi::PSI_DGBEQU);
  71. def("DGBRFS", &psi::PSI_DGBRFS);
  72. def("DGBSV", &psi::PSI_DGBSV);
  73. def("DGBSVX", &psi::PSI_DGBSVX);
  74. def("DGBTRF", &psi::PSI_DGBTRF);
  75. def("DGBTRS", &psi::PSI_DGBTRS);
  76. def("DGEBAK", &psi::PSI_DGEBAK);
  77. def("DGEBAL", &psi::PSI_DGEBAL);
  78. def("DGEBRD", &psi::PSI_DGEBRD);
  79. def("DGECON", &psi::PSI_DGECON);
  80. def("DGEEQU", &psi::PSI_DGEEQU);
  81. def("DGEES", &psi::PSI_DGEES);
  82. def("DGEESX", &psi::PSI_DGEESX);
  83. def("DGEEVX", &psi::PSI_DGEEVX);
  84. def("DGEGS", &psi::PSI_DGEGS);
  85. def("DGEGV", &psi::PSI_DGEGV);
  86. def("DGEHRD", &psi::PSI_DGEHRD);
  87. def("DGELQF", &psi::PSI_DGELQF);
  88. def("DGELS", &psi::PSI_DGELS);
  89. def("DGELSD", &psi::PSI_DGELSD);
  90. def("DGELSS", &psi::PSI_DGELSS);
  91. def("DGELSX", &psi::PSI_DGELSX);
  92. def("DGELSY", &psi::PSI_DGELSY);
  93. def("DGEQLF", &psi::PSI_DGEQLF);
  94. def("DGEQP3", &psi::PSI_DGEQP3);
  95. def("DGEQPF", &psi::PSI_DGEQPF);
  96. def("DGERFS", &psi::PSI_DGERFS);
  97. def("DGERQF", &psi::PSI_DGERQF);
  98. def("DGESDD", &psi::PSI_DGESDD);
  99. def("DGESV", &psi::PSI_DGESV);
  100. def("DGESVX", &psi::PSI_DGESVX);
  101. def("DGETRF", &psi::PSI_DGETRF);
  102. def("DGETRI", &psi::PSI_DGETRI);
  103. def("DGETRS", &psi::PSI_DGETRS);
  104. def("DGGBAK", &psi::PSI_DGGBAK);
  105. def("DGGBAL", &psi::PSI_DGGBAL);
  106. def("DGGES", &psi::PSI_DGGES);
  107. def("DGGESX", &psi::PSI_DGGESX);
  108. def("DGGEV", &psi::PSI_DGGEV);
  109. def("DGGEVX", &psi::PSI_DGGEVX);
  110. def("DGGGLM", &psi::PSI_DGGGLM);
  111. def("DGGHRD", &psi::PSI_DGGHRD);
  112. def("DGGLSE", &psi::PSI_DGGLSE);
  113. def("DGGQRF", &psi::PSI_DGGQRF);
  114. def("DGGRQF", &psi::PSI_DGGRQF);
  115. def("DGGSVD", &psi::PSI_DGGSVD);
  116. def("DGGSVP", &psi::PSI_DGGSVP);
  117. def("DGTCON", &psi::PSI_DGTCON);
  118. def("DGTRFS", &psi::PSI_DGTRFS);
  119. def("DGTSV", &psi::PSI_DGTSV);
  120. def("DGTSVX", &psi::PSI_DGTSVX);
  121. def("DGTTRF", &psi::PSI_DGTTRF);
  122. def("DGTTRS", &psi::PSI_DGTTRS);
  123. def("DHGEQZ", &psi::PSI_DHGEQZ);
  124. def("DHSEIN", &psi::PSI_DHSEIN);
  125. def("DHSEQR", &psi::PSI_DHSEQR);
  126. def("DORGBR", &psi::PSI_DORGBR);
  127. def("DORGHR", &psi::PSI_DORGHR);
  128. def("DORGLQ", &psi::PSI_DORGLQ);
  129. def("DORGQL", &psi::PSI_DORGQL);
  130. def("DORGQR", &psi::PSI_DORGQR);
  131. def("DORGRQ", &psi::PSI_DORGRQ);
  132. def("DORGTR", &psi::PSI_DORGTR);
  133. def("DORMBR", &psi::PSI_DORMBR);
  134. def("DORMHR", &psi::PSI_DORMHR);
  135. def("DORMLQ", &psi::PSI_DORMLQ);
  136. def("DORMQL", &psi::PSI_DORMQL);
  137. def("DORMQR", &psi::PSI_DORMQR);
  138. def("DORMR3", &psi::PSI_DORMR3);
  139. def("DORMRQ", &psi::PSI_DORMRQ);
  140. def("DORMRZ", &psi::PSI_DORMRZ);
  141. def("DORMTR", &psi::PSI_DORMTR);
  142. def("DPBCON", &psi::PSI_DPBCON);
  143. def("DPBEQU", &psi::PSI_DPBEQU);
  144. def("DPBRFS", &psi::PSI_DPBRFS);
  145. def("DPBSTF", &psi::PSI_DPBSTF);
  146. def("DPBSV", &psi::PSI_DPBSV);
  147. def("DPBSVX", &psi::PSI_DPBSVX);
  148. def("DPBTRF", &psi::PSI_DPBTRF);
  149. def("DPBTRS", &psi::PSI_DPBTRS);
  150. def("DPOCON", &psi::PSI_DPOCON);
  151. def("DPOEQU", &psi::PSI_DPOEQU);
  152. def("DPORFS", &psi::PSI_DPORFS);
  153. def("DPOSV", &psi::PSI_DPOSV);
  154. def("DPOSVX", &psi::PSI_DPOSVX);
  155. def("DPOTRF", &psi::PSI_DPOTRF);
  156. def("DPOTRI", &psi::PSI_DPOTRI);
  157. def("DPOTRS", &psi::PSI_DPOTRS);
  158. def("DPTCON", &psi::PSI_DPTCON);
  159. def("DPTEQR", &psi::PSI_DPTEQR);
  160. def("DPTRFS", &psi::PSI_DPTRFS);
  161. def("DPTSV", &psi::PSI_DPTSV);
  162. def("DPTSVX", &psi::PSI_DPTSVX);
  163. def("DPTTRF", &psi::PSI_DPTTRF);
  164. def("DPTTRS", &psi::PSI_DPTTRS);
  165. def("DSBEV", &psi::PSI_DSBEV);
  166. def("DSBEVD", &psi::PSI_DSBEVD);
  167. def("DSBEVX", &psi::PSI_DSBEVX);
  168. def("DSBGST", &psi::PSI_DSBGST);
  169. def("DSBGV", &psi::PSI_DSBGV);
  170. def("DSBGVD", &psi::PSI_DSBGVD);
  171. def("DSBGVX", &psi::PSI_DSBGVX);
  172. def("DSBTRD", &psi::PSI_DSBTRD);
  173. def("DSGESV", &psi::PSI_DSGESV);
  174. def("DSTEBZ", &psi::PSI_DSTEBZ);
  175. def("DSTEDC", &psi::PSI_DSTEDC);
  176. def("DSTEGR", &psi::PSI_DSTEGR);
  177. def("DSTEIN", &psi::PSI_DSTEIN);
  178. def("DSTEQR", &psi::PSI_DSTEQR);
  179. def("DSTERF", &psi::PSI_DSTERF);
  180. def("DSTEV", &psi::PSI_DSTEV);
  181. def("DSTEVD", &psi::PSI_DSTEVD);
  182. def("DSTEVR", &psi::PSI_DSTEVR);
  183. def("DSTEVX", &psi::PSI_DSTEVX);
  184. def("DSYCON", &psi::PSI_DSYCON);
  185. def("DSYGST", &psi::PSI_DSYGST);
  186. def("DSYGV", &psi::PSI_DSYGV);
  187. def("DSYGVD", &psi::PSI_DSYGVD);
  188. def("DSYGVX", &psi::PSI_DSYGVX);
  189. def("DSYRFS", &psi::PSI_DSYRFS);
  190. def("DSYTRD", &psi::PSI_DSYTRD);
  191. def("DSYTRF", &psi::PSI_DSYTRF);
  192. def("DSYTRI", &psi::PSI_DSYTRI);
  193. def("DSYTRS", &psi::PSI_DSYTRS);
  194. def("DTBCON", &psi::PSI_DTBCON);
  195. def("DTBRFS", &psi::PSI_DTBRFS);
  196. def("DTBTRS", &psi::PSI_DTBTRS);
  197. def("DTGEVC", &psi::PSI_DTGEVC);
  198. def("DTGEXC", &psi::PSI_DTGEXC);
  199. def("DTGSEN", &psi::PSI_DTGSEN);
  200. def("DTGSJA", &psi::PSI_DTGSJA);
  201. def("DTGSNA", &psi::PSI_DTGSNA);
  202. def("DTGSYL", &psi::PSI_DTGSYL);
  203. def("DTRCON", &psi::PSI_DTRCON);
  204. def("DTREVC", &psi::PSI_DTREVC);
  205. def("DTREXC", &psi::PSI_DTREXC);
  206. def("DTRRFS", &psi::PSI_DTRRFS);
  207. def("DTRSEN", &psi::PSI_DTRSEN);
  208. def("DTRSNA", &psi::PSI_DTRSNA);
  209. def("DTRSYL", &psi::PSI_DTRSYL);
  210. def("DTRTRI", &psi::PSI_DTRTRI);
  211. def("DTRTRS", &psi::PSI_DTRTRS);
  212. def("DTZRQF", &psi::PSI_DTZRQF);
  213. def("DTZRZF", &psi::PSI_DTZRZF);
  214. **/
  215. }