slatec.hpp 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. // SLATEC exports.
  2. // Decls that don't seem to have use outside SLATEC have been collected in slatec-internal.hpp.
  3. #pragma once
  4. extern "C" {
  5. int d9b0mp_(double const *x, double *ampl, double *theta);
  6. int d9b1mp_(double const *x, double *ampl, double *theta);
  7. double d9lgmc_(double const *x);
  8. int dasyik_(double const *x, double const *fnu, int const *kode, double *flgik,
  9. double *ra, double *arg, int *in, double *y);
  10. int dasyjy_(int (*funjy)(double *, double *, double *, double *, double *),
  11. double const *x, double const *fnu, double *flgjy, int *in, double *y,
  12. double *wk, int *iflw);
  13. int dbesi_(double const *x, double const *alpha, int const *kode, int const *n, double *y, int *nz);
  14. double dbesi0_(double const *x);
  15. double dbesi1_(double const *x);
  16. int dbesj_(double const *x, double const *alpha, int const *n, double *y, int *nz);
  17. double dbesj0_(double const *x);
  18. double dbesj1_(double const *x);
  19. int dbesk_(double const *x, double const *fnu, int const *kode, int const *n, double *y, int *nz);
  20. double dbesk0_(double const *x);
  21. double dbesk1_(double const *x);
  22. int dbesks_(double const *xnu, double const *x, int *nin, double *bk);
  23. int dbesy_(double const *x, double const *fnu, int const *n, double *y);
  24. double dbesy0_(double const *x);
  25. double dbesy1_(double const *x);
  26. double dbsi0e_(double const *x);
  27. double dbsi1e_(double const *x);
  28. double dbsk0e_(double const *x);
  29. double dbsk1e_(double const *x);
  30. int dbsknu_(double const *x, double const *fnu, int const *kode, int const *n, double *y, int *nz);
  31. int dbsynu_(double const *x, double const *fnu, int const *n, double *y);
  32. double dcsevl_(double *x, double const *cs, int const *n);
  33. int dgamlm_(double *xmin, double *xmax);
  34. double dgamln_(double const *z__, int *ierr);
  35. double dgamma_(double const *x);
  36. int djairy_(double *x, double *rx, double *c__, double *ai, double *dai);
  37. double dlngam_(double const *x);
  38. int dyairy_(double *x, double *rx, double *c__, double *bi, double *dbi);
  39. int initds_(double const *os, int const *nos, float const *eta);
  40. double zabs_(double const *zr, double const *zi);
  41. int zacai_(double *zr, double *zi, double const *fnu,
  42. int const *kode, int *mr, int const *n, double *yr, double *
  43. yi, int *nz, double *rl, double *tol, double *elim,
  44. double *alim);
  45. int zacon_(double *zr, double *zi, double const *fnu,
  46. int const *kode, int *mr, int const *n, double *yr, double *
  47. yi, int *nz, double *rl, double *fnul, double *tol,
  48. double *elim, double *alim);
  49. int zairy_(double *zr, double *zi, int const *id,
  50. int const *kode, double *air, double *aii, int *nz, int
  51. *ierr);
  52. int zasyi_(double *zr, double *zi, double const *fnu,
  53. int const *kode, int const *n, double *yr, double *yi, int *
  54. nz, double *rl, double *tol, double *elim, double *
  55. alim);
  56. int zbesh_(double *zr, double *zi, double const *fnu,
  57. int const *kode, int const *m, int const *n, double *cyr, double *
  58. cyi, int *nz, int *ierr);
  59. int zbesi_(double *zr, double *zi, double const *fnu,
  60. int const *kode, int const *n, double *cyr, double *cyi, int *
  61. nz, int *ierr);
  62. int zbesj_(double *zr, double *zi, double const *fnu,
  63. int const *kode, int const *n, double *cyr, double *cyi, int *
  64. nz, int *ierr);
  65. int zbesk_(double *zr, double *zi, double const *fnu,
  66. int const *kode, int const *n, double *cyr, double *cyi, int *
  67. nz, int *ierr);
  68. int zbesy_(double *zr, double *zi, double const *fnu,
  69. int const *kode, int const *n, double *cyr, double *cyi, int *
  70. nz, double *cwrkr, double *cwrki, int *ierr);
  71. int zbinu_(double *zr, double *zi, double const *fnu,
  72. int const *kode, int const *n, double *cyr, double *cyi, int *
  73. nz, double *rl, double *fnul, double *tol, double *
  74. elim, double *alim);
  75. int zbknu_(double *zr, double *zi, double const *fnu,
  76. int const *kode, int const *n, double *yr, double *yi, int *
  77. nz, double *tol, double *elim, double *alim);
  78. int zbuni_(double *zr, double *zi, double const *fnu,
  79. int const *kode, int const *n, double *yr, double *yi, int *nz, int *nui,
  80. int *nlast, double *fnul, double *tol, double *elim, double *alim);
  81. int zbunk_(double *zr, double *zi, double const *fnu,
  82. int const *kode, int *mr, int const *n, double *yr, double *yi, int *nz,
  83. double *tol, double *elim, double *alim);
  84. int zdiv_(double const *ar, double const *ai, double const *br,
  85. double const *bi, double *cr, double *ci);
  86. int zexp_(double *ar, double *ai, double *br, double *bi);
  87. int zkscl_(double *zrr, double *zri, double const *fnu,
  88. int const *n, double *yr, double *yi, int *nz, double *rzr, double *rzi,
  89. double *ascle, double *tol, double *elim);
  90. int zlog_(double *ar, double *ai, double *br, double *bi, int *ierr);
  91. int zmlri_(double *zr, double *zi, double const *fnu,
  92. int const *kode, int const *n, double *yr, double *yi, int *nz, double *tol);
  93. int zmlt_(double *ar, double *ai, double *br,
  94. double *bi, double *cr, double *ci);
  95. int zrati_(double *zr, double *zi, double const *fnu,
  96. int const *n, double *cyr, double *cyi, double *tol);
  97. int zs1s2_(double *zrr, double *zri, double *s1r,
  98. double *s1i, double *s2r, double *s2i, int *nz,
  99. double *ascle, double *alim, int *iuf);
  100. int zseri_(double *zr, double *zi, double const *fnu,
  101. int const *kode, int const *n, double *yr, double *yi, int *nz, double *tol,
  102. double *elim, double *alim);
  103. int zshch_(double *zr, double *zi, double *cshr, double *cshi, double *cchr, double *cchi);
  104. int zsqrt_(double *ar, double *ai, double *br, double *bi);
  105. int zuchk_(double *yr, double *yi, int *nz, double *ascle, double *tol);
  106. int zunhj_(double *zr, double *zi, double const *fnu,
  107. int const *ipmtr, double *tol, double *phir, double *phii,
  108. double *argr, double *argi, double *zeta1r, double *zeta1i, double *zeta2r, double *zeta2i,
  109. double *asumr, double *asumi, double *bsumr, double *bsumi);
  110. int zuni1_(double *zr, double *zi, double const *fnu,
  111. int const *kode, int const *n, double *yr, double *yi, int *nz, int *nlast,
  112. double *fnul, double *tol, double *elim, double *alim);
  113. int zuni2_(double *zr, double *zi, double const *fnu,
  114. int const *kode, int const *n, double *yr, double *yi, int *nz, int *nlast,
  115. double *fnul, double *tol, double *elim, double *alim);
  116. int zunik_(double *zrr, double *zri, double const *fnu,
  117. int const *ikflg, int const *ipmtr, double *tol, int *init,
  118. double *phir, double *phii, double *zeta1r, double *zeta1i,
  119. double *zeta2r, double *zeta2i, double *sumr,
  120. double *sumi, double *cwrkr, double *cwrki);
  121. int zunk1_(double *zr, double *zi, double const *fnu,
  122. int const *kode, int *mr, int const *n, double *yr, double *yi, int *nz,
  123. double *tol, double *elim, double *alim);
  124. int zunk2_(double *zr, double *zi, double const *fnu,
  125. int const *kode, int *mr, int const *n, double *yr, double *yi, int *nz,
  126. double *tol, double *elim, double *alim);
  127. int zuoik_(double const *zr, double const *zi, double const *fnu,
  128. int const *kode, int const *ikflg, int const *n, double *yr, double *yi,
  129. int *nuf, double *tol, double *elim, double *alim);
  130. int zwrsk_(double *zrr, double *zri, double const *fnu,
  131. int const *kode, int const *n, double *yr, double *yi, int *nz,
  132. double *cwr, double *cwi, double *tol, double *elim, double *alim);
  133. /* From TOMS 680, not originally in SLATEC */
  134. int wofz_(double *xi, double *yi, double *u, double *v, int *flag__);
  135. } // extern "C"