cython_special.pyx 142 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641
  1. # This file is automatically generated by _generate_pyx.py.
  2. # Do not edit manually!
  3. """
  4. .. highlight:: cython
  5. Cython API for special functions
  6. ================================
  7. Scalar, typed versions of many of the functions in ``scipy.special``
  8. can be accessed directly from Cython; the complete list is given
  9. below. Functions are overloaded using Cython fused types so their
  10. names match their Python counterpart. The module follows the following
  11. conventions:
  12. - If a function's Python counterpart returns multiple values, then the
  13. function returns its outputs via pointers in the final arguments.
  14. - If a function's Python counterpart returns a single value, then the
  15. function's output is returned directly.
  16. The module is usable from Cython via::
  17. cimport scipy.special.cython_special
  18. Error handling
  19. --------------
  20. Functions can indicate an error by returning ``nan``; however they
  21. cannot emit warnings like their counterparts in ``scipy.special``.
  22. Available functions
  23. -------------------
  24. - :py:func:`~scipy.special.voigt_profile`::
  25. double voigt_profile(double, double, double)
  26. - :py:func:`~scipy.special.agm`::
  27. double agm(double, double)
  28. - :py:func:`~scipy.special.airy`::
  29. void airy(double, double *, double *, double *, double *)
  30. void airy(double complex, double complex *, double complex *, double complex *, double complex *)
  31. - :py:func:`~scipy.special.airye`::
  32. void airye(double complex, double complex *, double complex *, double complex *, double complex *)
  33. void airye(double, double *, double *, double *, double *)
  34. - :py:func:`~scipy.special.bdtr`::
  35. double bdtr(double, double, double)
  36. double bdtr(double, long, double)
  37. - :py:func:`~scipy.special.bdtrc`::
  38. double bdtrc(double, double, double)
  39. double bdtrc(double, long, double)
  40. - :py:func:`~scipy.special.bdtri`::
  41. double bdtri(double, double, double)
  42. double bdtri(double, long, double)
  43. - :py:func:`~scipy.special.bdtrik`::
  44. double bdtrik(double, double, double)
  45. - :py:func:`~scipy.special.bdtrin`::
  46. double bdtrin(double, double, double)
  47. - :py:func:`~scipy.special.bei`::
  48. double bei(double)
  49. - :py:func:`~scipy.special.beip`::
  50. double beip(double)
  51. - :py:func:`~scipy.special.ber`::
  52. double ber(double)
  53. - :py:func:`~scipy.special.berp`::
  54. double berp(double)
  55. - :py:func:`~scipy.special.besselpoly`::
  56. double besselpoly(double, double, double)
  57. - :py:func:`~scipy.special.beta`::
  58. double beta(double, double)
  59. - :py:func:`~scipy.special.betainc`::
  60. double betainc(double, double, double)
  61. - :py:func:`~scipy.special.betaincinv`::
  62. double betaincinv(double, double, double)
  63. - :py:func:`~scipy.special.betaln`::
  64. double betaln(double, double)
  65. - :py:func:`~scipy.special.binom`::
  66. double binom(double, double)
  67. - :py:func:`~scipy.special.boxcox`::
  68. double boxcox(double, double)
  69. - :py:func:`~scipy.special.boxcox1p`::
  70. double boxcox1p(double, double)
  71. - :py:func:`~scipy.special.btdtr`::
  72. double btdtr(double, double, double)
  73. - :py:func:`~scipy.special.btdtri`::
  74. double btdtri(double, double, double)
  75. - :py:func:`~scipy.special.btdtria`::
  76. double btdtria(double, double, double)
  77. - :py:func:`~scipy.special.btdtrib`::
  78. double btdtrib(double, double, double)
  79. - :py:func:`~scipy.special.cbrt`::
  80. double cbrt(double)
  81. - :py:func:`~scipy.special.chdtr`::
  82. double chdtr(double, double)
  83. - :py:func:`~scipy.special.chdtrc`::
  84. double chdtrc(double, double)
  85. - :py:func:`~scipy.special.chdtri`::
  86. double chdtri(double, double)
  87. - :py:func:`~scipy.special.chdtriv`::
  88. double chdtriv(double, double)
  89. - :py:func:`~scipy.special.chndtr`::
  90. double chndtr(double, double, double)
  91. - :py:func:`~scipy.special.chndtridf`::
  92. double chndtridf(double, double, double)
  93. - :py:func:`~scipy.special.chndtrinc`::
  94. double chndtrinc(double, double, double)
  95. - :py:func:`~scipy.special.chndtrix`::
  96. double chndtrix(double, double, double)
  97. - :py:func:`~scipy.special.cosdg`::
  98. double cosdg(double)
  99. - :py:func:`~scipy.special.cosm1`::
  100. double cosm1(double)
  101. - :py:func:`~scipy.special.cotdg`::
  102. double cotdg(double)
  103. - :py:func:`~scipy.special.dawsn`::
  104. double dawsn(double)
  105. double complex dawsn(double complex)
  106. - :py:func:`~scipy.special.ellipe`::
  107. double ellipe(double)
  108. - :py:func:`~scipy.special.ellipeinc`::
  109. double ellipeinc(double, double)
  110. - :py:func:`~scipy.special.ellipj`::
  111. void ellipj(double, double, double *, double *, double *, double *)
  112. - :py:func:`~scipy.special.ellipkinc`::
  113. double ellipkinc(double, double)
  114. - :py:func:`~scipy.special.ellipkm1`::
  115. double ellipkm1(double)
  116. - :py:func:`~scipy.special.ellipk`::
  117. double ellipk(double)
  118. - :py:func:`~scipy.special.elliprc`::
  119. double elliprc(double, double)
  120. double complex elliprc(double complex, double complex)
  121. - :py:func:`~scipy.special.elliprd`::
  122. double elliprd(double, double, double)
  123. double complex elliprd(double complex, double complex, double complex)
  124. - :py:func:`~scipy.special.elliprf`::
  125. double elliprf(double, double, double)
  126. double complex elliprf(double complex, double complex, double complex)
  127. - :py:func:`~scipy.special.elliprg`::
  128. double elliprg(double, double, double)
  129. double complex elliprg(double complex, double complex, double complex)
  130. - :py:func:`~scipy.special.elliprj`::
  131. double elliprj(double, double, double, double)
  132. double complex elliprj(double complex, double complex, double complex, double complex)
  133. - :py:func:`~scipy.special.entr`::
  134. double entr(double)
  135. - :py:func:`~scipy.special.erf`::
  136. double complex erf(double complex)
  137. double erf(double)
  138. - :py:func:`~scipy.special.erfc`::
  139. double complex erfc(double complex)
  140. double erfc(double)
  141. - :py:func:`~scipy.special.erfcx`::
  142. double erfcx(double)
  143. double complex erfcx(double complex)
  144. - :py:func:`~scipy.special.erfi`::
  145. double erfi(double)
  146. double complex erfi(double complex)
  147. - :py:func:`~scipy.special.erfinv`::
  148. float erfinv(float)
  149. double erfinv(double)
  150. - :py:func:`~scipy.special.erfcinv`::
  151. double erfcinv(double)
  152. - :py:func:`~scipy.special.eval_chebyc`::
  153. double complex eval_chebyc(double, double complex)
  154. double eval_chebyc(double, double)
  155. double eval_chebyc(long, double)
  156. - :py:func:`~scipy.special.eval_chebys`::
  157. double complex eval_chebys(double, double complex)
  158. double eval_chebys(double, double)
  159. double eval_chebys(long, double)
  160. - :py:func:`~scipy.special.eval_chebyt`::
  161. double complex eval_chebyt(double, double complex)
  162. double eval_chebyt(double, double)
  163. double eval_chebyt(long, double)
  164. - :py:func:`~scipy.special.eval_chebyu`::
  165. double complex eval_chebyu(double, double complex)
  166. double eval_chebyu(double, double)
  167. double eval_chebyu(long, double)
  168. - :py:func:`~scipy.special.eval_gegenbauer`::
  169. double complex eval_gegenbauer(double, double, double complex)
  170. double eval_gegenbauer(double, double, double)
  171. double eval_gegenbauer(long, double, double)
  172. - :py:func:`~scipy.special.eval_genlaguerre`::
  173. double complex eval_genlaguerre(double, double, double complex)
  174. double eval_genlaguerre(double, double, double)
  175. double eval_genlaguerre(long, double, double)
  176. - :py:func:`~scipy.special.eval_hermite`::
  177. double eval_hermite(long, double)
  178. - :py:func:`~scipy.special.eval_hermitenorm`::
  179. double eval_hermitenorm(long, double)
  180. - :py:func:`~scipy.special.eval_jacobi`::
  181. double complex eval_jacobi(double, double, double, double complex)
  182. double eval_jacobi(double, double, double, double)
  183. double eval_jacobi(long, double, double, double)
  184. - :py:func:`~scipy.special.eval_laguerre`::
  185. double complex eval_laguerre(double, double complex)
  186. double eval_laguerre(double, double)
  187. double eval_laguerre(long, double)
  188. - :py:func:`~scipy.special.eval_legendre`::
  189. double complex eval_legendre(double, double complex)
  190. double eval_legendre(double, double)
  191. double eval_legendre(long, double)
  192. - :py:func:`~scipy.special.eval_sh_chebyt`::
  193. double complex eval_sh_chebyt(double, double complex)
  194. double eval_sh_chebyt(double, double)
  195. double eval_sh_chebyt(long, double)
  196. - :py:func:`~scipy.special.eval_sh_chebyu`::
  197. double complex eval_sh_chebyu(double, double complex)
  198. double eval_sh_chebyu(double, double)
  199. double eval_sh_chebyu(long, double)
  200. - :py:func:`~scipy.special.eval_sh_jacobi`::
  201. double complex eval_sh_jacobi(double, double, double, double complex)
  202. double eval_sh_jacobi(double, double, double, double)
  203. double eval_sh_jacobi(long, double, double, double)
  204. - :py:func:`~scipy.special.eval_sh_legendre`::
  205. double complex eval_sh_legendre(double, double complex)
  206. double eval_sh_legendre(double, double)
  207. double eval_sh_legendre(long, double)
  208. - :py:func:`~scipy.special.exp1`::
  209. double complex exp1(double complex)
  210. double exp1(double)
  211. - :py:func:`~scipy.special.exp10`::
  212. double exp10(double)
  213. - :py:func:`~scipy.special.exp2`::
  214. double exp2(double)
  215. - :py:func:`~scipy.special.expi`::
  216. double complex expi(double complex)
  217. double expi(double)
  218. - :py:func:`~scipy.special.expit`::
  219. double expit(double)
  220. float expit(float)
  221. long double expit(long double)
  222. - :py:func:`~scipy.special.expm1`::
  223. double complex expm1(double complex)
  224. double expm1(double)
  225. - :py:func:`~scipy.special.expn`::
  226. double expn(double, double)
  227. double expn(long, double)
  228. - :py:func:`~scipy.special.exprel`::
  229. double exprel(double)
  230. - :py:func:`~scipy.special.fdtr`::
  231. double fdtr(double, double, double)
  232. - :py:func:`~scipy.special.fdtrc`::
  233. double fdtrc(double, double, double)
  234. - :py:func:`~scipy.special.fdtri`::
  235. double fdtri(double, double, double)
  236. - :py:func:`~scipy.special.fdtridfd`::
  237. double fdtridfd(double, double, double)
  238. - :py:func:`~scipy.special.fresnel`::
  239. void fresnel(double, double *, double *)
  240. void fresnel(double complex, double complex *, double complex *)
  241. - :py:func:`~scipy.special.gamma`::
  242. double complex gamma(double complex)
  243. double gamma(double)
  244. - :py:func:`~scipy.special.gammainc`::
  245. double gammainc(double, double)
  246. - :py:func:`~scipy.special.gammaincc`::
  247. double gammaincc(double, double)
  248. - :py:func:`~scipy.special.gammainccinv`::
  249. double gammainccinv(double, double)
  250. - :py:func:`~scipy.special.gammaincinv`::
  251. double gammaincinv(double, double)
  252. - :py:func:`~scipy.special.gammaln`::
  253. double gammaln(double)
  254. - :py:func:`~scipy.special.gammasgn`::
  255. double gammasgn(double)
  256. - :py:func:`~scipy.special.gdtr`::
  257. double gdtr(double, double, double)
  258. - :py:func:`~scipy.special.gdtrc`::
  259. double gdtrc(double, double, double)
  260. - :py:func:`~scipy.special.gdtria`::
  261. double gdtria(double, double, double)
  262. - :py:func:`~scipy.special.gdtrib`::
  263. double gdtrib(double, double, double)
  264. - :py:func:`~scipy.special.gdtrix`::
  265. double gdtrix(double, double, double)
  266. - :py:func:`~scipy.special.hankel1`::
  267. double complex hankel1(double, double complex)
  268. - :py:func:`~scipy.special.hankel1e`::
  269. double complex hankel1e(double, double complex)
  270. - :py:func:`~scipy.special.hankel2`::
  271. double complex hankel2(double, double complex)
  272. - :py:func:`~scipy.special.hankel2e`::
  273. double complex hankel2e(double, double complex)
  274. - :py:func:`~scipy.special.huber`::
  275. double huber(double, double)
  276. - :py:func:`~scipy.special.hyp0f1`::
  277. double complex hyp0f1(double, double complex)
  278. double hyp0f1(double, double)
  279. - :py:func:`~scipy.special.hyp1f1`::
  280. double hyp1f1(double, double, double)
  281. double complex hyp1f1(double, double, double complex)
  282. - :py:func:`~scipy.special.hyp2f1`::
  283. double hyp2f1(double, double, double, double)
  284. double complex hyp2f1(double, double, double, double complex)
  285. - :py:func:`~scipy.special.hyperu`::
  286. double hyperu(double, double, double)
  287. - :py:func:`~scipy.special.i0`::
  288. double i0(double)
  289. - :py:func:`~scipy.special.i0e`::
  290. double i0e(double)
  291. - :py:func:`~scipy.special.i1`::
  292. double i1(double)
  293. - :py:func:`~scipy.special.i1e`::
  294. double i1e(double)
  295. - :py:func:`~scipy.special.inv_boxcox`::
  296. double inv_boxcox(double, double)
  297. - :py:func:`~scipy.special.inv_boxcox1p`::
  298. double inv_boxcox1p(double, double)
  299. - :py:func:`~scipy.special.it2i0k0`::
  300. void it2i0k0(double, double *, double *)
  301. - :py:func:`~scipy.special.it2j0y0`::
  302. void it2j0y0(double, double *, double *)
  303. - :py:func:`~scipy.special.it2struve0`::
  304. double it2struve0(double)
  305. - :py:func:`~scipy.special.itairy`::
  306. void itairy(double, double *, double *, double *, double *)
  307. - :py:func:`~scipy.special.iti0k0`::
  308. void iti0k0(double, double *, double *)
  309. - :py:func:`~scipy.special.itj0y0`::
  310. void itj0y0(double, double *, double *)
  311. - :py:func:`~scipy.special.itmodstruve0`::
  312. double itmodstruve0(double)
  313. - :py:func:`~scipy.special.itstruve0`::
  314. double itstruve0(double)
  315. - :py:func:`~scipy.special.iv`::
  316. double complex iv(double, double complex)
  317. double iv(double, double)
  318. - :py:func:`~scipy.special.ive`::
  319. double complex ive(double, double complex)
  320. double ive(double, double)
  321. - :py:func:`~scipy.special.j0`::
  322. double j0(double)
  323. - :py:func:`~scipy.special.j1`::
  324. double j1(double)
  325. - :py:func:`~scipy.special.jv`::
  326. double complex jv(double, double complex)
  327. double jv(double, double)
  328. - :py:func:`~scipy.special.jve`::
  329. double complex jve(double, double complex)
  330. double jve(double, double)
  331. - :py:func:`~scipy.special.k0`::
  332. double k0(double)
  333. - :py:func:`~scipy.special.k0e`::
  334. double k0e(double)
  335. - :py:func:`~scipy.special.k1`::
  336. double k1(double)
  337. - :py:func:`~scipy.special.k1e`::
  338. double k1e(double)
  339. - :py:func:`~scipy.special.kei`::
  340. double kei(double)
  341. - :py:func:`~scipy.special.keip`::
  342. double keip(double)
  343. - :py:func:`~scipy.special.kelvin`::
  344. void kelvin(double, double complex *, double complex *, double complex *, double complex *)
  345. - :py:func:`~scipy.special.ker`::
  346. double ker(double)
  347. - :py:func:`~scipy.special.kerp`::
  348. double kerp(double)
  349. - :py:func:`~scipy.special.kl_div`::
  350. double kl_div(double, double)
  351. - :py:func:`~scipy.special.kn`::
  352. double kn(double, double)
  353. double kn(long, double)
  354. - :py:func:`~scipy.special.kolmogi`::
  355. double kolmogi(double)
  356. - :py:func:`~scipy.special.kolmogorov`::
  357. double kolmogorov(double)
  358. - :py:func:`~scipy.special.kv`::
  359. double complex kv(double, double complex)
  360. double kv(double, double)
  361. - :py:func:`~scipy.special.kve`::
  362. double complex kve(double, double complex)
  363. double kve(double, double)
  364. - :py:func:`~scipy.special.log1p`::
  365. double complex log1p(double complex)
  366. double log1p(double)
  367. - :py:func:`~scipy.special.log_expit`::
  368. double log_expit(double)
  369. float log_expit(float)
  370. long double log_expit(long double)
  371. - :py:func:`~scipy.special.log_ndtr`::
  372. double log_ndtr(double)
  373. double complex log_ndtr(double complex)
  374. - :py:func:`~scipy.special.loggamma`::
  375. double loggamma(double)
  376. double complex loggamma(double complex)
  377. - :py:func:`~scipy.special.logit`::
  378. double logit(double)
  379. float logit(float)
  380. long double logit(long double)
  381. - :py:func:`~scipy.special.lpmv`::
  382. double lpmv(double, double, double)
  383. - :py:func:`~scipy.special.mathieu_a`::
  384. double mathieu_a(double, double)
  385. - :py:func:`~scipy.special.mathieu_b`::
  386. double mathieu_b(double, double)
  387. - :py:func:`~scipy.special.mathieu_cem`::
  388. void mathieu_cem(double, double, double, double *, double *)
  389. - :py:func:`~scipy.special.mathieu_modcem1`::
  390. void mathieu_modcem1(double, double, double, double *, double *)
  391. - :py:func:`~scipy.special.mathieu_modcem2`::
  392. void mathieu_modcem2(double, double, double, double *, double *)
  393. - :py:func:`~scipy.special.mathieu_modsem1`::
  394. void mathieu_modsem1(double, double, double, double *, double *)
  395. - :py:func:`~scipy.special.mathieu_modsem2`::
  396. void mathieu_modsem2(double, double, double, double *, double *)
  397. - :py:func:`~scipy.special.mathieu_sem`::
  398. void mathieu_sem(double, double, double, double *, double *)
  399. - :py:func:`~scipy.special.modfresnelm`::
  400. void modfresnelm(double, double complex *, double complex *)
  401. - :py:func:`~scipy.special.modfresnelp`::
  402. void modfresnelp(double, double complex *, double complex *)
  403. - :py:func:`~scipy.special.modstruve`::
  404. double modstruve(double, double)
  405. - :py:func:`~scipy.special.nbdtr`::
  406. double nbdtr(double, double, double)
  407. double nbdtr(long, long, double)
  408. - :py:func:`~scipy.special.nbdtrc`::
  409. double nbdtrc(double, double, double)
  410. double nbdtrc(long, long, double)
  411. - :py:func:`~scipy.special.nbdtri`::
  412. double nbdtri(double, double, double)
  413. double nbdtri(long, long, double)
  414. - :py:func:`~scipy.special.nbdtrik`::
  415. double nbdtrik(double, double, double)
  416. - :py:func:`~scipy.special.nbdtrin`::
  417. double nbdtrin(double, double, double)
  418. - :py:func:`~scipy.special.ncfdtr`::
  419. double ncfdtr(double, double, double, double)
  420. - :py:func:`~scipy.special.ncfdtri`::
  421. double ncfdtri(double, double, double, double)
  422. - :py:func:`~scipy.special.ncfdtridfd`::
  423. double ncfdtridfd(double, double, double, double)
  424. - :py:func:`~scipy.special.ncfdtridfn`::
  425. double ncfdtridfn(double, double, double, double)
  426. - :py:func:`~scipy.special.ncfdtrinc`::
  427. double ncfdtrinc(double, double, double, double)
  428. - :py:func:`~scipy.special.nctdtr`::
  429. double nctdtr(double, double, double)
  430. - :py:func:`~scipy.special.nctdtridf`::
  431. double nctdtridf(double, double, double)
  432. - :py:func:`~scipy.special.nctdtrinc`::
  433. double nctdtrinc(double, double, double)
  434. - :py:func:`~scipy.special.nctdtrit`::
  435. double nctdtrit(double, double, double)
  436. - :py:func:`~scipy.special.ndtr`::
  437. double complex ndtr(double complex)
  438. double ndtr(double)
  439. - :py:func:`~scipy.special.ndtri`::
  440. double ndtri(double)
  441. - :py:func:`~scipy.special.nrdtrimn`::
  442. double nrdtrimn(double, double, double)
  443. - :py:func:`~scipy.special.nrdtrisd`::
  444. double nrdtrisd(double, double, double)
  445. - :py:func:`~scipy.special.obl_ang1`::
  446. void obl_ang1(double, double, double, double, double *, double *)
  447. - :py:func:`~scipy.special.obl_ang1_cv`::
  448. void obl_ang1_cv(double, double, double, double, double, double *, double *)
  449. - :py:func:`~scipy.special.obl_cv`::
  450. double obl_cv(double, double, double)
  451. - :py:func:`~scipy.special.obl_rad1`::
  452. void obl_rad1(double, double, double, double, double *, double *)
  453. - :py:func:`~scipy.special.obl_rad1_cv`::
  454. void obl_rad1_cv(double, double, double, double, double, double *, double *)
  455. - :py:func:`~scipy.special.obl_rad2`::
  456. void obl_rad2(double, double, double, double, double *, double *)
  457. - :py:func:`~scipy.special.obl_rad2_cv`::
  458. void obl_rad2_cv(double, double, double, double, double, double *, double *)
  459. - :py:func:`~scipy.special.owens_t`::
  460. double owens_t(double, double)
  461. - :py:func:`~scipy.special.pbdv`::
  462. void pbdv(double, double, double *, double *)
  463. - :py:func:`~scipy.special.pbvv`::
  464. void pbvv(double, double, double *, double *)
  465. - :py:func:`~scipy.special.pbwa`::
  466. void pbwa(double, double, double *, double *)
  467. - :py:func:`~scipy.special.pdtr`::
  468. double pdtr(double, double)
  469. - :py:func:`~scipy.special.pdtrc`::
  470. double pdtrc(double, double)
  471. - :py:func:`~scipy.special.pdtri`::
  472. double pdtri(double, double)
  473. double pdtri(long, double)
  474. - :py:func:`~scipy.special.pdtrik`::
  475. double pdtrik(double, double)
  476. - :py:func:`~scipy.special.poch`::
  477. double poch(double, double)
  478. - :py:func:`~scipy.special.powm1`::
  479. float powm1(float, float)
  480. double powm1(double, double)
  481. - :py:func:`~scipy.special.pro_ang1`::
  482. void pro_ang1(double, double, double, double, double *, double *)
  483. - :py:func:`~scipy.special.pro_ang1_cv`::
  484. void pro_ang1_cv(double, double, double, double, double, double *, double *)
  485. - :py:func:`~scipy.special.pro_cv`::
  486. double pro_cv(double, double, double)
  487. - :py:func:`~scipy.special.pro_rad1`::
  488. void pro_rad1(double, double, double, double, double *, double *)
  489. - :py:func:`~scipy.special.pro_rad1_cv`::
  490. void pro_rad1_cv(double, double, double, double, double, double *, double *)
  491. - :py:func:`~scipy.special.pro_rad2`::
  492. void pro_rad2(double, double, double, double, double *, double *)
  493. - :py:func:`~scipy.special.pro_rad2_cv`::
  494. void pro_rad2_cv(double, double, double, double, double, double *, double *)
  495. - :py:func:`~scipy.special.pseudo_huber`::
  496. double pseudo_huber(double, double)
  497. - :py:func:`~scipy.special.psi`::
  498. double complex psi(double complex)
  499. double psi(double)
  500. - :py:func:`~scipy.special.radian`::
  501. double radian(double, double, double)
  502. - :py:func:`~scipy.special.rel_entr`::
  503. double rel_entr(double, double)
  504. - :py:func:`~scipy.special.rgamma`::
  505. double complex rgamma(double complex)
  506. double rgamma(double)
  507. - :py:func:`~scipy.special.round`::
  508. double round(double)
  509. - :py:func:`~scipy.special.shichi`::
  510. void shichi(double complex, double complex *, double complex *)
  511. void shichi(double, double *, double *)
  512. - :py:func:`~scipy.special.sici`::
  513. void sici(double complex, double complex *, double complex *)
  514. void sici(double, double *, double *)
  515. - :py:func:`~scipy.special.sindg`::
  516. double sindg(double)
  517. - :py:func:`~scipy.special.smirnov`::
  518. double smirnov(double, double)
  519. double smirnov(long, double)
  520. - :py:func:`~scipy.special.smirnovi`::
  521. double smirnovi(double, double)
  522. double smirnovi(long, double)
  523. - :py:func:`~scipy.special.spence`::
  524. double complex spence(double complex)
  525. double spence(double)
  526. - :py:func:`~scipy.special.sph_harm`::
  527. double complex sph_harm(double, double, double, double)
  528. double complex sph_harm(long, long, double, double)
  529. - :py:func:`~scipy.special.stdtr`::
  530. double stdtr(double, double)
  531. - :py:func:`~scipy.special.stdtridf`::
  532. double stdtridf(double, double)
  533. - :py:func:`~scipy.special.stdtrit`::
  534. double stdtrit(double, double)
  535. - :py:func:`~scipy.special.struve`::
  536. double struve(double, double)
  537. - :py:func:`~scipy.special.tandg`::
  538. double tandg(double)
  539. - :py:func:`~scipy.special.tklmbda`::
  540. double tklmbda(double, double)
  541. - :py:func:`~scipy.special.wofz`::
  542. double complex wofz(double complex)
  543. - :py:func:`~scipy.special.wrightomega`::
  544. double complex wrightomega(double complex)
  545. double wrightomega(double)
  546. - :py:func:`~scipy.special.xlog1py`::
  547. double xlog1py(double, double)
  548. double complex xlog1py(double complex, double complex)
  549. - :py:func:`~scipy.special.xlogy`::
  550. double xlogy(double, double)
  551. double complex xlogy(double complex, double complex)
  552. - :py:func:`~scipy.special.y0`::
  553. double y0(double)
  554. - :py:func:`~scipy.special.y1`::
  555. double y1(double)
  556. - :py:func:`~scipy.special.yn`::
  557. double yn(double, double)
  558. double yn(long, double)
  559. - :py:func:`~scipy.special.yv`::
  560. double complex yv(double, double complex)
  561. double yv(double, double)
  562. - :py:func:`~scipy.special.yve`::
  563. double complex yve(double, double complex)
  564. double yve(double, double)
  565. - :py:func:`~scipy.special.zetac`::
  566. double zetac(double)
  567. - :py:func:`~scipy.special.wright_bessel`::
  568. double wright_bessel(double, double, double)
  569. - :py:func:`~scipy.special.ndtri_exp`::
  570. double ndtri_exp(double)
  571. Custom functions
  572. ----------------
  573. Some functions in ``scipy.special`` which are not ufuncs have custom
  574. Cython wrappers.
  575. Spherical Bessel functions
  576. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  577. The optional ``derivative`` boolean argument is replaced with an
  578. optional Cython ``bint``, leading to the following signatures.
  579. - :py:func:`~scipy.special.spherical_jn`::
  580. double complex spherical_jn(long, double complex)
  581. double complex spherical_jn(long, double complex, bint)
  582. double spherical_jn(long, double)
  583. double spherical_jn(long, double, bint)
  584. - :py:func:`~scipy.special.spherical_yn`::
  585. double complex spherical_yn(long, double complex)
  586. double complex spherical_yn(long, double complex, bint)
  587. double spherical_yn(long, double)
  588. double spherical_yn(long, double, bint)
  589. - :py:func:`~scipy.special.spherical_in`::
  590. double complex spherical_in(long, double complex)
  591. double complex spherical_in(long, double complex, bint)
  592. double spherical_in(long, double)
  593. double spherical_in(long, double, bint)
  594. - :py:func:`~scipy.special.spherical_kn`::
  595. double complex spherical_kn(long, double complex)
  596. double complex spherical_kn(long, double complex, bint)
  597. double spherical_kn(long, double)
  598. double spherical_kn(long, double, bint)
  599. """
  600. from libc.math cimport NAN
  601. include "_cython_special.pxi"
  602. include "_cython_special_custom.pxi"
  603. from ._agm cimport agm as _func_agm
  604. ctypedef double _proto_agm_t(double, double) nogil
  605. cdef _proto_agm_t *_proto_agm_t_var = &_func_agm
  606. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  607. cdef npy_int _func_airy_wrap "airy_wrap"(npy_double, npy_double *, npy_double *, npy_double *, npy_double *)nogil
  608. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  609. cdef npy_int _func_cairy_wrap "cairy_wrap"(npy_cdouble, npy_cdouble *, npy_cdouble *, npy_cdouble *, npy_cdouble *)nogil
  610. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  611. cdef npy_int _func_cairy_wrap_e "cairy_wrap_e"(npy_cdouble, npy_cdouble *, npy_cdouble *, npy_cdouble *, npy_cdouble *)nogil
  612. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  613. cdef npy_int _func_cairy_wrap_e_real "cairy_wrap_e_real"(npy_double, npy_double *, npy_double *, npy_double *, npy_double *)nogil
  614. from ._legacy cimport bdtr_unsafe as _func_bdtr_unsafe
  615. ctypedef double _proto_bdtr_unsafe_t(double, double, double) nogil
  616. cdef _proto_bdtr_unsafe_t *_proto_bdtr_unsafe_t_var = &_func_bdtr_unsafe
  617. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  618. cdef npy_double _func_bdtr "bdtr"(npy_double, npy_int, npy_double)nogil
  619. from ._legacy cimport bdtrc_unsafe as _func_bdtrc_unsafe
  620. ctypedef double _proto_bdtrc_unsafe_t(double, double, double) nogil
  621. cdef _proto_bdtrc_unsafe_t *_proto_bdtrc_unsafe_t_var = &_func_bdtrc_unsafe
  622. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  623. cdef npy_double _func_bdtrc "bdtrc"(npy_double, npy_int, npy_double)nogil
  624. from ._legacy cimport bdtri_unsafe as _func_bdtri_unsafe
  625. ctypedef double _proto_bdtri_unsafe_t(double, double, double) nogil
  626. cdef _proto_bdtri_unsafe_t *_proto_bdtri_unsafe_t_var = &_func_bdtri_unsafe
  627. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  628. cdef npy_double _func_bdtri "bdtri"(npy_double, npy_int, npy_double)nogil
  629. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  630. cdef npy_double _func_cdfbin2_wrap "cdfbin2_wrap"(npy_double, npy_double, npy_double)nogil
  631. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  632. cdef npy_double _func_cdfbin3_wrap "cdfbin3_wrap"(npy_double, npy_double, npy_double)nogil
  633. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  634. cdef npy_double _func_bei_wrap "bei_wrap"(npy_double)nogil
  635. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  636. cdef npy_double _func_beip_wrap "beip_wrap"(npy_double)nogil
  637. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  638. cdef npy_double _func_ber_wrap "ber_wrap"(npy_double)nogil
  639. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  640. cdef npy_double _func_berp_wrap "berp_wrap"(npy_double)nogil
  641. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  642. cdef npy_double _func_besselpoly "besselpoly"(npy_double, npy_double, npy_double)nogil
  643. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  644. cdef npy_double _func_beta "beta"(npy_double, npy_double)nogil
  645. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  646. cdef npy_double _func_incbet "incbet"(npy_double, npy_double, npy_double)nogil
  647. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  648. cdef npy_double _func_incbi "incbi"(npy_double, npy_double, npy_double)nogil
  649. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  650. cdef npy_double _func_lbeta "lbeta"(npy_double, npy_double)nogil
  651. from .orthogonal_eval cimport binom as _func_binom
  652. ctypedef double _proto_binom_t(double, double) nogil
  653. cdef _proto_binom_t *_proto_binom_t_var = &_func_binom
  654. from ._boxcox cimport boxcox as _func_boxcox
  655. ctypedef double _proto_boxcox_t(double, double) nogil
  656. cdef _proto_boxcox_t *_proto_boxcox_t_var = &_func_boxcox
  657. from ._boxcox cimport boxcox1p as _func_boxcox1p
  658. ctypedef double _proto_boxcox1p_t(double, double) nogil
  659. cdef _proto_boxcox1p_t *_proto_boxcox1p_t_var = &_func_boxcox1p
  660. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  661. cdef npy_double _func_btdtr "btdtr"(npy_double, npy_double, npy_double)nogil
  662. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  663. cdef npy_double _func_incbi "incbi"(npy_double, npy_double, npy_double)nogil
  664. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  665. cdef npy_double _func_cdfbet3_wrap "cdfbet3_wrap"(npy_double, npy_double, npy_double)nogil
  666. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  667. cdef npy_double _func_cdfbet4_wrap "cdfbet4_wrap"(npy_double, npy_double, npy_double)nogil
  668. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  669. cdef npy_double _func_cbrt "cbrt"(npy_double)nogil
  670. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  671. cdef npy_double _func_chdtr "chdtr"(npy_double, npy_double)nogil
  672. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  673. cdef npy_double _func_chdtrc "chdtrc"(npy_double, npy_double)nogil
  674. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  675. cdef npy_double _func_chdtri "chdtri"(npy_double, npy_double)nogil
  676. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  677. cdef npy_double _func_cdfchi3_wrap "cdfchi3_wrap"(npy_double, npy_double)nogil
  678. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  679. cdef npy_double _func_cdfchn1_wrap "cdfchn1_wrap"(npy_double, npy_double, npy_double)nogil
  680. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  681. cdef npy_double _func_cdfchn3_wrap "cdfchn3_wrap"(npy_double, npy_double, npy_double)nogil
  682. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  683. cdef npy_double _func_cdfchn4_wrap "cdfchn4_wrap"(npy_double, npy_double, npy_double)nogil
  684. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  685. cdef npy_double _func_cdfchn2_wrap "cdfchn2_wrap"(npy_double, npy_double, npy_double)nogil
  686. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  687. cdef npy_double _func_cosdg "cosdg"(npy_double)nogil
  688. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  689. cdef npy_double _func_cosm1 "cosm1"(npy_double)nogil
  690. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  691. cdef npy_double _func_cotdg "cotdg"(npy_double)nogil
  692. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  693. cdef npy_double _func_ellpe "ellpe"(npy_double)nogil
  694. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  695. cdef npy_double _func_ellie "ellie"(npy_double, npy_double)nogil
  696. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  697. cdef npy_int _func_ellpj "ellpj"(npy_double, npy_double, npy_double *, npy_double *, npy_double *, npy_double *)nogil
  698. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  699. cdef npy_double _func_ellik "ellik"(npy_double, npy_double)nogil
  700. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  701. cdef npy_double _func_ellpk "ellpk"(npy_double)nogil
  702. from ._ellipk cimport ellipk as _func_ellipk
  703. ctypedef double _proto_ellipk_t(double) nogil
  704. cdef _proto_ellipk_t *_proto_ellipk_t_var = &_func_ellipk
  705. from ._convex_analysis cimport entr as _func_entr
  706. ctypedef double _proto_entr_t(double) nogil
  707. cdef _proto_entr_t *_proto_entr_t_var = &_func_entr
  708. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  709. cdef npy_double _func_erf "erf"(npy_double)nogil
  710. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  711. cdef npy_double _func_erfc "erfc"(npy_double)nogil
  712. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  713. cdef npy_double _func_erfcinv "erfcinv"(npy_double)nogil
  714. from .orthogonal_eval cimport eval_chebyc as _func_eval_chebyc
  715. ctypedef double complex _proto_eval_chebyc_double_complex__t(double, double complex) nogil
  716. cdef _proto_eval_chebyc_double_complex__t *_proto_eval_chebyc_double_complex__t_var = &_func_eval_chebyc[double_complex]
  717. from .orthogonal_eval cimport eval_chebyc as _func_eval_chebyc
  718. ctypedef double _proto_eval_chebyc_double__t(double, double) nogil
  719. cdef _proto_eval_chebyc_double__t *_proto_eval_chebyc_double__t_var = &_func_eval_chebyc[double]
  720. from .orthogonal_eval cimport eval_chebyc_l as _func_eval_chebyc_l
  721. ctypedef double _proto_eval_chebyc_l_t(long, double) nogil
  722. cdef _proto_eval_chebyc_l_t *_proto_eval_chebyc_l_t_var = &_func_eval_chebyc_l
  723. from .orthogonal_eval cimport eval_chebys as _func_eval_chebys
  724. ctypedef double complex _proto_eval_chebys_double_complex__t(double, double complex) nogil
  725. cdef _proto_eval_chebys_double_complex__t *_proto_eval_chebys_double_complex__t_var = &_func_eval_chebys[double_complex]
  726. from .orthogonal_eval cimport eval_chebys as _func_eval_chebys
  727. ctypedef double _proto_eval_chebys_double__t(double, double) nogil
  728. cdef _proto_eval_chebys_double__t *_proto_eval_chebys_double__t_var = &_func_eval_chebys[double]
  729. from .orthogonal_eval cimport eval_chebys_l as _func_eval_chebys_l
  730. ctypedef double _proto_eval_chebys_l_t(long, double) nogil
  731. cdef _proto_eval_chebys_l_t *_proto_eval_chebys_l_t_var = &_func_eval_chebys_l
  732. from .orthogonal_eval cimport eval_chebyt as _func_eval_chebyt
  733. ctypedef double complex _proto_eval_chebyt_double_complex__t(double, double complex) nogil
  734. cdef _proto_eval_chebyt_double_complex__t *_proto_eval_chebyt_double_complex__t_var = &_func_eval_chebyt[double_complex]
  735. from .orthogonal_eval cimport eval_chebyt as _func_eval_chebyt
  736. ctypedef double _proto_eval_chebyt_double__t(double, double) nogil
  737. cdef _proto_eval_chebyt_double__t *_proto_eval_chebyt_double__t_var = &_func_eval_chebyt[double]
  738. from .orthogonal_eval cimport eval_chebyt_l as _func_eval_chebyt_l
  739. ctypedef double _proto_eval_chebyt_l_t(long, double) nogil
  740. cdef _proto_eval_chebyt_l_t *_proto_eval_chebyt_l_t_var = &_func_eval_chebyt_l
  741. from .orthogonal_eval cimport eval_chebyu as _func_eval_chebyu
  742. ctypedef double complex _proto_eval_chebyu_double_complex__t(double, double complex) nogil
  743. cdef _proto_eval_chebyu_double_complex__t *_proto_eval_chebyu_double_complex__t_var = &_func_eval_chebyu[double_complex]
  744. from .orthogonal_eval cimport eval_chebyu as _func_eval_chebyu
  745. ctypedef double _proto_eval_chebyu_double__t(double, double) nogil
  746. cdef _proto_eval_chebyu_double__t *_proto_eval_chebyu_double__t_var = &_func_eval_chebyu[double]
  747. from .orthogonal_eval cimport eval_chebyu_l as _func_eval_chebyu_l
  748. ctypedef double _proto_eval_chebyu_l_t(long, double) nogil
  749. cdef _proto_eval_chebyu_l_t *_proto_eval_chebyu_l_t_var = &_func_eval_chebyu_l
  750. from .orthogonal_eval cimport eval_gegenbauer as _func_eval_gegenbauer
  751. ctypedef double complex _proto_eval_gegenbauer_double_complex__t(double, double, double complex) nogil
  752. cdef _proto_eval_gegenbauer_double_complex__t *_proto_eval_gegenbauer_double_complex__t_var = &_func_eval_gegenbauer[double_complex]
  753. from .orthogonal_eval cimport eval_gegenbauer as _func_eval_gegenbauer
  754. ctypedef double _proto_eval_gegenbauer_double__t(double, double, double) nogil
  755. cdef _proto_eval_gegenbauer_double__t *_proto_eval_gegenbauer_double__t_var = &_func_eval_gegenbauer[double]
  756. from .orthogonal_eval cimport eval_gegenbauer_l as _func_eval_gegenbauer_l
  757. ctypedef double _proto_eval_gegenbauer_l_t(long, double, double) nogil
  758. cdef _proto_eval_gegenbauer_l_t *_proto_eval_gegenbauer_l_t_var = &_func_eval_gegenbauer_l
  759. from .orthogonal_eval cimport eval_genlaguerre as _func_eval_genlaguerre
  760. ctypedef double complex _proto_eval_genlaguerre_double_complex__t(double, double, double complex) nogil
  761. cdef _proto_eval_genlaguerre_double_complex__t *_proto_eval_genlaguerre_double_complex__t_var = &_func_eval_genlaguerre[double_complex]
  762. from .orthogonal_eval cimport eval_genlaguerre as _func_eval_genlaguerre
  763. ctypedef double _proto_eval_genlaguerre_double__t(double, double, double) nogil
  764. cdef _proto_eval_genlaguerre_double__t *_proto_eval_genlaguerre_double__t_var = &_func_eval_genlaguerre[double]
  765. from .orthogonal_eval cimport eval_genlaguerre_l as _func_eval_genlaguerre_l
  766. ctypedef double _proto_eval_genlaguerre_l_t(long, double, double) nogil
  767. cdef _proto_eval_genlaguerre_l_t *_proto_eval_genlaguerre_l_t_var = &_func_eval_genlaguerre_l
  768. from .orthogonal_eval cimport eval_hermite as _func_eval_hermite
  769. ctypedef double _proto_eval_hermite_t(long, double) nogil
  770. cdef _proto_eval_hermite_t *_proto_eval_hermite_t_var = &_func_eval_hermite
  771. from .orthogonal_eval cimport eval_hermitenorm as _func_eval_hermitenorm
  772. ctypedef double _proto_eval_hermitenorm_t(long, double) nogil
  773. cdef _proto_eval_hermitenorm_t *_proto_eval_hermitenorm_t_var = &_func_eval_hermitenorm
  774. from .orthogonal_eval cimport eval_jacobi as _func_eval_jacobi
  775. ctypedef double complex _proto_eval_jacobi_double_complex__t(double, double, double, double complex) nogil
  776. cdef _proto_eval_jacobi_double_complex__t *_proto_eval_jacobi_double_complex__t_var = &_func_eval_jacobi[double_complex]
  777. from .orthogonal_eval cimport eval_jacobi as _func_eval_jacobi
  778. ctypedef double _proto_eval_jacobi_double__t(double, double, double, double) nogil
  779. cdef _proto_eval_jacobi_double__t *_proto_eval_jacobi_double__t_var = &_func_eval_jacobi[double]
  780. from .orthogonal_eval cimport eval_jacobi_l as _func_eval_jacobi_l
  781. ctypedef double _proto_eval_jacobi_l_t(long, double, double, double) nogil
  782. cdef _proto_eval_jacobi_l_t *_proto_eval_jacobi_l_t_var = &_func_eval_jacobi_l
  783. from .orthogonal_eval cimport eval_laguerre as _func_eval_laguerre
  784. ctypedef double complex _proto_eval_laguerre_double_complex__t(double, double complex) nogil
  785. cdef _proto_eval_laguerre_double_complex__t *_proto_eval_laguerre_double_complex__t_var = &_func_eval_laguerre[double_complex]
  786. from .orthogonal_eval cimport eval_laguerre as _func_eval_laguerre
  787. ctypedef double _proto_eval_laguerre_double__t(double, double) nogil
  788. cdef _proto_eval_laguerre_double__t *_proto_eval_laguerre_double__t_var = &_func_eval_laguerre[double]
  789. from .orthogonal_eval cimport eval_laguerre_l as _func_eval_laguerre_l
  790. ctypedef double _proto_eval_laguerre_l_t(long, double) nogil
  791. cdef _proto_eval_laguerre_l_t *_proto_eval_laguerre_l_t_var = &_func_eval_laguerre_l
  792. from .orthogonal_eval cimport eval_legendre as _func_eval_legendre
  793. ctypedef double complex _proto_eval_legendre_double_complex__t(double, double complex) nogil
  794. cdef _proto_eval_legendre_double_complex__t *_proto_eval_legendre_double_complex__t_var = &_func_eval_legendre[double_complex]
  795. from .orthogonal_eval cimport eval_legendre as _func_eval_legendre
  796. ctypedef double _proto_eval_legendre_double__t(double, double) nogil
  797. cdef _proto_eval_legendre_double__t *_proto_eval_legendre_double__t_var = &_func_eval_legendre[double]
  798. from .orthogonal_eval cimport eval_legendre_l as _func_eval_legendre_l
  799. ctypedef double _proto_eval_legendre_l_t(long, double) nogil
  800. cdef _proto_eval_legendre_l_t *_proto_eval_legendre_l_t_var = &_func_eval_legendre_l
  801. from .orthogonal_eval cimport eval_sh_chebyt as _func_eval_sh_chebyt
  802. ctypedef double complex _proto_eval_sh_chebyt_double_complex__t(double, double complex) nogil
  803. cdef _proto_eval_sh_chebyt_double_complex__t *_proto_eval_sh_chebyt_double_complex__t_var = &_func_eval_sh_chebyt[double_complex]
  804. from .orthogonal_eval cimport eval_sh_chebyt as _func_eval_sh_chebyt
  805. ctypedef double _proto_eval_sh_chebyt_double__t(double, double) nogil
  806. cdef _proto_eval_sh_chebyt_double__t *_proto_eval_sh_chebyt_double__t_var = &_func_eval_sh_chebyt[double]
  807. from .orthogonal_eval cimport eval_sh_chebyt_l as _func_eval_sh_chebyt_l
  808. ctypedef double _proto_eval_sh_chebyt_l_t(long, double) nogil
  809. cdef _proto_eval_sh_chebyt_l_t *_proto_eval_sh_chebyt_l_t_var = &_func_eval_sh_chebyt_l
  810. from .orthogonal_eval cimport eval_sh_chebyu as _func_eval_sh_chebyu
  811. ctypedef double complex _proto_eval_sh_chebyu_double_complex__t(double, double complex) nogil
  812. cdef _proto_eval_sh_chebyu_double_complex__t *_proto_eval_sh_chebyu_double_complex__t_var = &_func_eval_sh_chebyu[double_complex]
  813. from .orthogonal_eval cimport eval_sh_chebyu as _func_eval_sh_chebyu
  814. ctypedef double _proto_eval_sh_chebyu_double__t(double, double) nogil
  815. cdef _proto_eval_sh_chebyu_double__t *_proto_eval_sh_chebyu_double__t_var = &_func_eval_sh_chebyu[double]
  816. from .orthogonal_eval cimport eval_sh_chebyu_l as _func_eval_sh_chebyu_l
  817. ctypedef double _proto_eval_sh_chebyu_l_t(long, double) nogil
  818. cdef _proto_eval_sh_chebyu_l_t *_proto_eval_sh_chebyu_l_t_var = &_func_eval_sh_chebyu_l
  819. from .orthogonal_eval cimport eval_sh_jacobi as _func_eval_sh_jacobi
  820. ctypedef double complex _proto_eval_sh_jacobi_double_complex__t(double, double, double, double complex) nogil
  821. cdef _proto_eval_sh_jacobi_double_complex__t *_proto_eval_sh_jacobi_double_complex__t_var = &_func_eval_sh_jacobi[double_complex]
  822. from .orthogonal_eval cimport eval_sh_jacobi as _func_eval_sh_jacobi
  823. ctypedef double _proto_eval_sh_jacobi_double__t(double, double, double, double) nogil
  824. cdef _proto_eval_sh_jacobi_double__t *_proto_eval_sh_jacobi_double__t_var = &_func_eval_sh_jacobi[double]
  825. from .orthogonal_eval cimport eval_sh_jacobi_l as _func_eval_sh_jacobi_l
  826. ctypedef double _proto_eval_sh_jacobi_l_t(long, double, double, double) nogil
  827. cdef _proto_eval_sh_jacobi_l_t *_proto_eval_sh_jacobi_l_t_var = &_func_eval_sh_jacobi_l
  828. from .orthogonal_eval cimport eval_sh_legendre as _func_eval_sh_legendre
  829. ctypedef double complex _proto_eval_sh_legendre_double_complex__t(double, double complex) nogil
  830. cdef _proto_eval_sh_legendre_double_complex__t *_proto_eval_sh_legendre_double_complex__t_var = &_func_eval_sh_legendre[double_complex]
  831. from .orthogonal_eval cimport eval_sh_legendre as _func_eval_sh_legendre
  832. ctypedef double _proto_eval_sh_legendre_double__t(double, double) nogil
  833. cdef _proto_eval_sh_legendre_double__t *_proto_eval_sh_legendre_double__t_var = &_func_eval_sh_legendre[double]
  834. from .orthogonal_eval cimport eval_sh_legendre_l as _func_eval_sh_legendre_l
  835. ctypedef double _proto_eval_sh_legendre_l_t(long, double) nogil
  836. cdef _proto_eval_sh_legendre_l_t *_proto_eval_sh_legendre_l_t_var = &_func_eval_sh_legendre_l
  837. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  838. cdef npy_cdouble _func_cexp1_wrap "cexp1_wrap"(npy_cdouble)nogil
  839. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  840. cdef npy_double _func_exp1_wrap "exp1_wrap"(npy_double)nogil
  841. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  842. cdef npy_double _func_exp10 "exp10"(npy_double)nogil
  843. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  844. cdef npy_double _func_exp2 "exp2"(npy_double)nogil
  845. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  846. cdef npy_cdouble _func_cexpi_wrap "cexpi_wrap"(npy_cdouble)nogil
  847. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  848. cdef npy_double _func_expi_wrap "expi_wrap"(npy_double)nogil
  849. from ._cunity cimport cexpm1 as _func_cexpm1
  850. ctypedef double complex _proto_cexpm1_t(double complex) nogil
  851. cdef _proto_cexpm1_t *_proto_cexpm1_t_var = &_func_cexpm1
  852. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  853. cdef npy_double _func_expm1 "expm1"(npy_double)nogil
  854. from ._legacy cimport expn_unsafe as _func_expn_unsafe
  855. ctypedef double _proto_expn_unsafe_t(double, double) nogil
  856. cdef _proto_expn_unsafe_t *_proto_expn_unsafe_t_var = &_func_expn_unsafe
  857. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  858. cdef npy_double _func_expn "expn"(npy_int, npy_double)nogil
  859. from ._exprel cimport exprel as _func_exprel
  860. ctypedef double _proto_exprel_t(double) nogil
  861. cdef _proto_exprel_t *_proto_exprel_t_var = &_func_exprel
  862. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  863. cdef npy_double _func_fdtr "fdtr"(npy_double, npy_double, npy_double)nogil
  864. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  865. cdef npy_double _func_fdtrc "fdtrc"(npy_double, npy_double, npy_double)nogil
  866. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  867. cdef npy_double _func_fdtri "fdtri"(npy_double, npy_double, npy_double)nogil
  868. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  869. cdef npy_double _func_cdff4_wrap "cdff4_wrap"(npy_double, npy_double, npy_double)nogil
  870. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  871. cdef npy_int _func_fresnl "fresnl"(npy_double, npy_double *, npy_double *)nogil
  872. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  873. cdef npy_int _func_cfresnl_wrap "cfresnl_wrap"(npy_cdouble, npy_cdouble *, npy_cdouble *)nogil
  874. from ._loggamma cimport cgamma as _func_cgamma
  875. ctypedef double complex _proto_cgamma_t(double complex) nogil
  876. cdef _proto_cgamma_t *_proto_cgamma_t_var = &_func_cgamma
  877. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  878. cdef npy_double _func_Gamma "Gamma"(npy_double)nogil
  879. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  880. cdef npy_double _func_igam "igam"(npy_double, npy_double)nogil
  881. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  882. cdef npy_double _func_igamc "igamc"(npy_double, npy_double)nogil
  883. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  884. cdef npy_double _func_igamci "igamci"(npy_double, npy_double)nogil
  885. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  886. cdef npy_double _func_igami "igami"(npy_double, npy_double)nogil
  887. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  888. cdef npy_double _func_lgam "lgam"(npy_double)nogil
  889. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  890. cdef npy_double _func_gammasgn "gammasgn"(npy_double)nogil
  891. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  892. cdef npy_double _func_gdtr "gdtr"(npy_double, npy_double, npy_double)nogil
  893. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  894. cdef npy_double _func_gdtrc "gdtrc"(npy_double, npy_double, npy_double)nogil
  895. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  896. cdef npy_double _func_cdfgam4_wrap "cdfgam4_wrap"(npy_double, npy_double, npy_double)nogil
  897. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  898. cdef npy_double _func_cdfgam3_wrap "cdfgam3_wrap"(npy_double, npy_double, npy_double)nogil
  899. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  900. cdef npy_double _func_cdfgam2_wrap "cdfgam2_wrap"(npy_double, npy_double, npy_double)nogil
  901. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  902. cdef npy_cdouble _func_cbesh_wrap1 "cbesh_wrap1"(npy_double, npy_cdouble)nogil
  903. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  904. cdef npy_cdouble _func_cbesh_wrap1_e "cbesh_wrap1_e"(npy_double, npy_cdouble)nogil
  905. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  906. cdef npy_cdouble _func_cbesh_wrap2 "cbesh_wrap2"(npy_double, npy_cdouble)nogil
  907. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  908. cdef npy_cdouble _func_cbesh_wrap2_e "cbesh_wrap2_e"(npy_double, npy_cdouble)nogil
  909. from ._convex_analysis cimport huber as _func_huber
  910. ctypedef double _proto_huber_t(double, double) nogil
  911. cdef _proto_huber_t *_proto_huber_t_var = &_func_huber
  912. from ._hyp0f1 cimport _hyp0f1_cmplx as _func__hyp0f1_cmplx
  913. ctypedef double complex _proto__hyp0f1_cmplx_t(double, double complex) nogil
  914. cdef _proto__hyp0f1_cmplx_t *_proto__hyp0f1_cmplx_t_var = &_func__hyp0f1_cmplx
  915. from ._hyp0f1 cimport _hyp0f1_real as _func__hyp0f1_real
  916. ctypedef double _proto__hyp0f1_real_t(double, double) nogil
  917. cdef _proto__hyp0f1_real_t *_proto__hyp0f1_real_t_var = &_func__hyp0f1_real
  918. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  919. cdef npy_cdouble _func_chyp1f1_wrap "chyp1f1_wrap"(npy_double, npy_double, npy_cdouble)nogil
  920. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  921. cdef npy_double _func_hyp2f1 "hyp2f1"(npy_double, npy_double, npy_double, npy_double)nogil
  922. from ._hyp2f1 cimport hyp2f1_complex as _func_hyp2f1_complex
  923. ctypedef double complex _proto_hyp2f1_complex_t(double, double, double, double complex) nogil
  924. cdef _proto_hyp2f1_complex_t *_proto_hyp2f1_complex_t_var = &_func_hyp2f1_complex
  925. from ._hypergeometric cimport hyperu as _func_hyperu
  926. ctypedef double _proto_hyperu_t(double, double, double) nogil
  927. cdef _proto_hyperu_t *_proto_hyperu_t_var = &_func_hyperu
  928. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  929. cdef npy_double _func_i0 "i0"(npy_double)nogil
  930. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  931. cdef npy_double _func_i0e "i0e"(npy_double)nogil
  932. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  933. cdef npy_double _func_i1 "i1"(npy_double)nogil
  934. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  935. cdef npy_double _func_i1e "i1e"(npy_double)nogil
  936. from ._boxcox cimport inv_boxcox as _func_inv_boxcox
  937. ctypedef double _proto_inv_boxcox_t(double, double) nogil
  938. cdef _proto_inv_boxcox_t *_proto_inv_boxcox_t_var = &_func_inv_boxcox
  939. from ._boxcox cimport inv_boxcox1p as _func_inv_boxcox1p
  940. ctypedef double _proto_inv_boxcox1p_t(double, double) nogil
  941. cdef _proto_inv_boxcox1p_t *_proto_inv_boxcox1p_t_var = &_func_inv_boxcox1p
  942. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  943. cdef npy_int _func_it2i0k0_wrap "it2i0k0_wrap"(npy_double, npy_double *, npy_double *)nogil
  944. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  945. cdef npy_int _func_it2j0y0_wrap "it2j0y0_wrap"(npy_double, npy_double *, npy_double *)nogil
  946. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  947. cdef npy_double _func_it2struve0_wrap "it2struve0_wrap"(npy_double)nogil
  948. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  949. cdef npy_int _func_itairy_wrap "itairy_wrap"(npy_double, npy_double *, npy_double *, npy_double *, npy_double *)nogil
  950. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  951. cdef npy_int _func_it1i0k0_wrap "it1i0k0_wrap"(npy_double, npy_double *, npy_double *)nogil
  952. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  953. cdef npy_int _func_it1j0y0_wrap "it1j0y0_wrap"(npy_double, npy_double *, npy_double *)nogil
  954. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  955. cdef npy_double _func_itmodstruve0_wrap "itmodstruve0_wrap"(npy_double)nogil
  956. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  957. cdef npy_double _func_itstruve0_wrap "itstruve0_wrap"(npy_double)nogil
  958. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  959. cdef npy_cdouble _func_cbesi_wrap "cbesi_wrap"(npy_double, npy_cdouble)nogil
  960. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  961. cdef npy_double _func_iv "iv"(npy_double, npy_double)nogil
  962. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  963. cdef npy_cdouble _func_cbesi_wrap_e "cbesi_wrap_e"(npy_double, npy_cdouble)nogil
  964. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  965. cdef npy_double _func_cbesi_wrap_e_real "cbesi_wrap_e_real"(npy_double, npy_double)nogil
  966. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  967. cdef npy_double _func_j0 "j0"(npy_double)nogil
  968. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  969. cdef npy_double _func_j1 "j1"(npy_double)nogil
  970. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  971. cdef npy_cdouble _func_cbesj_wrap "cbesj_wrap"(npy_double, npy_cdouble)nogil
  972. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  973. cdef npy_double _func_cbesj_wrap_real "cbesj_wrap_real"(npy_double, npy_double)nogil
  974. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  975. cdef npy_cdouble _func_cbesj_wrap_e "cbesj_wrap_e"(npy_double, npy_cdouble)nogil
  976. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  977. cdef npy_double _func_cbesj_wrap_e_real "cbesj_wrap_e_real"(npy_double, npy_double)nogil
  978. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  979. cdef npy_double _func_k0 "k0"(npy_double)nogil
  980. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  981. cdef npy_double _func_k0e "k0e"(npy_double)nogil
  982. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  983. cdef npy_double _func_k1 "k1"(npy_double)nogil
  984. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  985. cdef npy_double _func_k1e "k1e"(npy_double)nogil
  986. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  987. cdef npy_double _func_kei_wrap "kei_wrap"(npy_double)nogil
  988. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  989. cdef npy_double _func_keip_wrap "keip_wrap"(npy_double)nogil
  990. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  991. cdef npy_int _func_kelvin_wrap "kelvin_wrap"(npy_double, npy_cdouble *, npy_cdouble *, npy_cdouble *, npy_cdouble *)nogil
  992. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  993. cdef npy_double _func_ker_wrap "ker_wrap"(npy_double)nogil
  994. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  995. cdef npy_double _func_kerp_wrap "kerp_wrap"(npy_double)nogil
  996. from ._convex_analysis cimport kl_div as _func_kl_div
  997. ctypedef double _proto_kl_div_t(double, double) nogil
  998. cdef _proto_kl_div_t *_proto_kl_div_t_var = &_func_kl_div
  999. from ._legacy cimport kn_unsafe as _func_kn_unsafe
  1000. ctypedef double _proto_kn_unsafe_t(double, double) nogil
  1001. cdef _proto_kn_unsafe_t *_proto_kn_unsafe_t_var = &_func_kn_unsafe
  1002. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1003. cdef npy_double _func_cbesk_wrap_real_int "cbesk_wrap_real_int"(npy_int, npy_double)nogil
  1004. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1005. cdef npy_double _func_kolmogi "kolmogi"(npy_double)nogil
  1006. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1007. cdef npy_double _func_kolmogorov "kolmogorov"(npy_double)nogil
  1008. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1009. cdef npy_cdouble _func_cbesk_wrap "cbesk_wrap"(npy_double, npy_cdouble)nogil
  1010. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1011. cdef npy_double _func_cbesk_wrap_real "cbesk_wrap_real"(npy_double, npy_double)nogil
  1012. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1013. cdef npy_cdouble _func_cbesk_wrap_e "cbesk_wrap_e"(npy_double, npy_cdouble)nogil
  1014. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1015. cdef npy_double _func_cbesk_wrap_e_real "cbesk_wrap_e_real"(npy_double, npy_double)nogil
  1016. from ._cunity cimport clog1p as _func_clog1p
  1017. ctypedef double complex _proto_clog1p_t(double complex) nogil
  1018. cdef _proto_clog1p_t *_proto_clog1p_t_var = &_func_clog1p
  1019. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1020. cdef npy_double _func_log1p "log1p"(npy_double)nogil
  1021. from ._loggamma cimport loggamma_real as _func_loggamma_real
  1022. ctypedef double _proto_loggamma_real_t(double) nogil
  1023. cdef _proto_loggamma_real_t *_proto_loggamma_real_t_var = &_func_loggamma_real
  1024. from ._loggamma cimport loggamma as _func_loggamma
  1025. ctypedef double complex _proto_loggamma_t(double complex) nogil
  1026. cdef _proto_loggamma_t *_proto_loggamma_t_var = &_func_loggamma
  1027. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1028. cdef npy_double _func_pmv_wrap "pmv_wrap"(npy_double, npy_double, npy_double)nogil
  1029. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1030. cdef npy_double _func_cem_cva_wrap "cem_cva_wrap"(npy_double, npy_double)nogil
  1031. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1032. cdef npy_double _func_sem_cva_wrap "sem_cva_wrap"(npy_double, npy_double)nogil
  1033. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1034. cdef npy_int _func_cem_wrap "cem_wrap"(npy_double, npy_double, npy_double, npy_double *, npy_double *)nogil
  1035. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1036. cdef npy_int _func_mcm1_wrap "mcm1_wrap"(npy_double, npy_double, npy_double, npy_double *, npy_double *)nogil
  1037. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1038. cdef npy_int _func_mcm2_wrap "mcm2_wrap"(npy_double, npy_double, npy_double, npy_double *, npy_double *)nogil
  1039. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1040. cdef npy_int _func_msm1_wrap "msm1_wrap"(npy_double, npy_double, npy_double, npy_double *, npy_double *)nogil
  1041. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1042. cdef npy_int _func_msm2_wrap "msm2_wrap"(npy_double, npy_double, npy_double, npy_double *, npy_double *)nogil
  1043. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1044. cdef npy_int _func_sem_wrap "sem_wrap"(npy_double, npy_double, npy_double, npy_double *, npy_double *)nogil
  1045. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1046. cdef npy_int _func_modified_fresnel_minus_wrap "modified_fresnel_minus_wrap"(npy_double, npy_cdouble *, npy_cdouble *)nogil
  1047. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1048. cdef npy_int _func_modified_fresnel_plus_wrap "modified_fresnel_plus_wrap"(npy_double, npy_cdouble *, npy_cdouble *)nogil
  1049. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1050. cdef npy_double _func_struve_l "struve_l"(npy_double, npy_double)nogil
  1051. from ._legacy cimport nbdtr_unsafe as _func_nbdtr_unsafe
  1052. ctypedef double _proto_nbdtr_unsafe_t(double, double, double) nogil
  1053. cdef _proto_nbdtr_unsafe_t *_proto_nbdtr_unsafe_t_var = &_func_nbdtr_unsafe
  1054. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1055. cdef npy_double _func_nbdtr "nbdtr"(npy_int, npy_int, npy_double)nogil
  1056. from ._legacy cimport nbdtrc_unsafe as _func_nbdtrc_unsafe
  1057. ctypedef double _proto_nbdtrc_unsafe_t(double, double, double) nogil
  1058. cdef _proto_nbdtrc_unsafe_t *_proto_nbdtrc_unsafe_t_var = &_func_nbdtrc_unsafe
  1059. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1060. cdef npy_double _func_nbdtrc "nbdtrc"(npy_int, npy_int, npy_double)nogil
  1061. from ._legacy cimport nbdtri_unsafe as _func_nbdtri_unsafe
  1062. ctypedef double _proto_nbdtri_unsafe_t(double, double, double) nogil
  1063. cdef _proto_nbdtri_unsafe_t *_proto_nbdtri_unsafe_t_var = &_func_nbdtri_unsafe
  1064. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1065. cdef npy_double _func_nbdtri "nbdtri"(npy_int, npy_int, npy_double)nogil
  1066. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1067. cdef npy_double _func_cdfnbn2_wrap "cdfnbn2_wrap"(npy_double, npy_double, npy_double)nogil
  1068. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1069. cdef npy_double _func_cdfnbn3_wrap "cdfnbn3_wrap"(npy_double, npy_double, npy_double)nogil
  1070. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1071. cdef npy_double _func_cdffnc1_wrap "cdffnc1_wrap"(npy_double, npy_double, npy_double, npy_double)nogil
  1072. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1073. cdef npy_double _func_cdffnc2_wrap "cdffnc2_wrap"(npy_double, npy_double, npy_double, npy_double)nogil
  1074. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1075. cdef npy_double _func_cdffnc4_wrap "cdffnc4_wrap"(npy_double, npy_double, npy_double, npy_double)nogil
  1076. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1077. cdef npy_double _func_cdffnc3_wrap "cdffnc3_wrap"(npy_double, npy_double, npy_double, npy_double)nogil
  1078. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1079. cdef npy_double _func_cdffnc5_wrap "cdffnc5_wrap"(npy_double, npy_double, npy_double, npy_double)nogil
  1080. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1081. cdef npy_double _func_cdftnc1_wrap "cdftnc1_wrap"(npy_double, npy_double, npy_double)nogil
  1082. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1083. cdef npy_double _func_cdftnc3_wrap "cdftnc3_wrap"(npy_double, npy_double, npy_double)nogil
  1084. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1085. cdef npy_double _func_cdftnc4_wrap "cdftnc4_wrap"(npy_double, npy_double, npy_double)nogil
  1086. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1087. cdef npy_double _func_cdftnc2_wrap "cdftnc2_wrap"(npy_double, npy_double, npy_double)nogil
  1088. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1089. cdef npy_double _func_ndtr "ndtr"(npy_double)nogil
  1090. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1091. cdef npy_double _func_ndtri "ndtri"(npy_double)nogil
  1092. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1093. cdef npy_double _func_cdfnor3_wrap "cdfnor3_wrap"(npy_double, npy_double, npy_double)nogil
  1094. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1095. cdef npy_double _func_cdfnor4_wrap "cdfnor4_wrap"(npy_double, npy_double, npy_double)nogil
  1096. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1097. cdef npy_double _func_oblate_aswfa_nocv_wrap "oblate_aswfa_nocv_wrap"(npy_double, npy_double, npy_double, npy_double, npy_double *)nogil
  1098. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1099. cdef npy_int _func_oblate_aswfa_wrap "oblate_aswfa_wrap"(npy_double, npy_double, npy_double, npy_double, npy_double, npy_double *, npy_double *)nogil
  1100. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1101. cdef npy_double _func_oblate_segv_wrap "oblate_segv_wrap"(npy_double, npy_double, npy_double)nogil
  1102. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1103. cdef npy_double _func_oblate_radial1_nocv_wrap "oblate_radial1_nocv_wrap"(npy_double, npy_double, npy_double, npy_double, npy_double *)nogil
  1104. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1105. cdef npy_int _func_oblate_radial1_wrap "oblate_radial1_wrap"(npy_double, npy_double, npy_double, npy_double, npy_double, npy_double *, npy_double *)nogil
  1106. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1107. cdef npy_double _func_oblate_radial2_nocv_wrap "oblate_radial2_nocv_wrap"(npy_double, npy_double, npy_double, npy_double, npy_double *)nogil
  1108. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1109. cdef npy_int _func_oblate_radial2_wrap "oblate_radial2_wrap"(npy_double, npy_double, npy_double, npy_double, npy_double, npy_double *, npy_double *)nogil
  1110. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1111. cdef npy_double _func_owens_t "owens_t"(npy_double, npy_double)nogil
  1112. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1113. cdef npy_int _func_pbdv_wrap "pbdv_wrap"(npy_double, npy_double, npy_double *, npy_double *)nogil
  1114. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1115. cdef npy_int _func_pbvv_wrap "pbvv_wrap"(npy_double, npy_double, npy_double *, npy_double *)nogil
  1116. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1117. cdef npy_int _func_pbwa_wrap "pbwa_wrap"(npy_double, npy_double, npy_double *, npy_double *)nogil
  1118. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1119. cdef npy_double _func_pdtr "pdtr"(npy_double, npy_double)nogil
  1120. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1121. cdef npy_double _func_pdtrc "pdtrc"(npy_double, npy_double)nogil
  1122. from ._legacy cimport pdtri_unsafe as _func_pdtri_unsafe
  1123. ctypedef double _proto_pdtri_unsafe_t(double, double) nogil
  1124. cdef _proto_pdtri_unsafe_t *_proto_pdtri_unsafe_t_var = &_func_pdtri_unsafe
  1125. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1126. cdef npy_double _func_pdtri "pdtri"(npy_int, npy_double)nogil
  1127. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1128. cdef npy_double _func_cdfpoi2_wrap "cdfpoi2_wrap"(npy_double, npy_double)nogil
  1129. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1130. cdef npy_double _func_poch "poch"(npy_double, npy_double)nogil
  1131. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1132. cdef npy_double _func_prolate_aswfa_nocv_wrap "prolate_aswfa_nocv_wrap"(npy_double, npy_double, npy_double, npy_double, npy_double *)nogil
  1133. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1134. cdef npy_int _func_prolate_aswfa_wrap "prolate_aswfa_wrap"(npy_double, npy_double, npy_double, npy_double, npy_double, npy_double *, npy_double *)nogil
  1135. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1136. cdef npy_double _func_prolate_segv_wrap "prolate_segv_wrap"(npy_double, npy_double, npy_double)nogil
  1137. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1138. cdef npy_double _func_prolate_radial1_nocv_wrap "prolate_radial1_nocv_wrap"(npy_double, npy_double, npy_double, npy_double, npy_double *)nogil
  1139. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1140. cdef npy_int _func_prolate_radial1_wrap "prolate_radial1_wrap"(npy_double, npy_double, npy_double, npy_double, npy_double, npy_double *, npy_double *)nogil
  1141. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1142. cdef npy_double _func_prolate_radial2_nocv_wrap "prolate_radial2_nocv_wrap"(npy_double, npy_double, npy_double, npy_double, npy_double *)nogil
  1143. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1144. cdef npy_int _func_prolate_radial2_wrap "prolate_radial2_wrap"(npy_double, npy_double, npy_double, npy_double, npy_double, npy_double *, npy_double *)nogil
  1145. from ._convex_analysis cimport pseudo_huber as _func_pseudo_huber
  1146. ctypedef double _proto_pseudo_huber_t(double, double) nogil
  1147. cdef _proto_pseudo_huber_t *_proto_pseudo_huber_t_var = &_func_pseudo_huber
  1148. from ._digamma cimport cdigamma as _func_cdigamma
  1149. ctypedef double complex _proto_cdigamma_t(double complex) nogil
  1150. cdef _proto_cdigamma_t *_proto_cdigamma_t_var = &_func_cdigamma
  1151. from ._digamma cimport digamma as _func_digamma
  1152. ctypedef double _proto_digamma_t(double) nogil
  1153. cdef _proto_digamma_t *_proto_digamma_t_var = &_func_digamma
  1154. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1155. cdef npy_double _func_radian "radian"(npy_double, npy_double, npy_double)nogil
  1156. from ._convex_analysis cimport rel_entr as _func_rel_entr
  1157. ctypedef double _proto_rel_entr_t(double, double) nogil
  1158. cdef _proto_rel_entr_t *_proto_rel_entr_t_var = &_func_rel_entr
  1159. from ._loggamma cimport crgamma as _func_crgamma
  1160. ctypedef double complex _proto_crgamma_t(double complex) nogil
  1161. cdef _proto_crgamma_t *_proto_crgamma_t_var = &_func_crgamma
  1162. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1163. cdef npy_double _func_rgamma "rgamma"(npy_double)nogil
  1164. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1165. cdef npy_double _func_round "round"(npy_double)nogil
  1166. from ._sici cimport cshichi as _func_cshichi
  1167. ctypedef int _proto_cshichi_t(double complex, double complex *, double complex *) nogil
  1168. cdef _proto_cshichi_t *_proto_cshichi_t_var = &_func_cshichi
  1169. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1170. cdef npy_int _func_shichi "shichi"(npy_double, npy_double *, npy_double *)nogil
  1171. from ._sici cimport csici as _func_csici
  1172. ctypedef int _proto_csici_t(double complex, double complex *, double complex *) nogil
  1173. cdef _proto_csici_t *_proto_csici_t_var = &_func_csici
  1174. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1175. cdef npy_int _func_sici "sici"(npy_double, npy_double *, npy_double *)nogil
  1176. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1177. cdef npy_double _func_sindg "sindg"(npy_double)nogil
  1178. from ._legacy cimport smirnov_unsafe as _func_smirnov_unsafe
  1179. ctypedef double _proto_smirnov_unsafe_t(double, double) nogil
  1180. cdef _proto_smirnov_unsafe_t *_proto_smirnov_unsafe_t_var = &_func_smirnov_unsafe
  1181. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1182. cdef npy_double _func_smirnov "smirnov"(npy_int, npy_double)nogil
  1183. from ._legacy cimport smirnovi_unsafe as _func_smirnovi_unsafe
  1184. ctypedef double _proto_smirnovi_unsafe_t(double, double) nogil
  1185. cdef _proto_smirnovi_unsafe_t *_proto_smirnovi_unsafe_t_var = &_func_smirnovi_unsafe
  1186. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1187. cdef npy_double _func_smirnovi "smirnovi"(npy_int, npy_double)nogil
  1188. from ._spence cimport cspence as _func_cspence
  1189. ctypedef double complex _proto_cspence_t(double complex) nogil
  1190. cdef _proto_cspence_t *_proto_cspence_t_var = &_func_cspence
  1191. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1192. cdef npy_double _func_spence "spence"(npy_double)nogil
  1193. from ._legacy cimport sph_harmonic_unsafe as _func_sph_harmonic_unsafe
  1194. ctypedef double complex _proto_sph_harmonic_unsafe_t(double, double, double, double) nogil
  1195. cdef _proto_sph_harmonic_unsafe_t *_proto_sph_harmonic_unsafe_t_var = &_func_sph_harmonic_unsafe
  1196. from .sph_harm cimport sph_harmonic as _func_sph_harmonic
  1197. ctypedef double complex _proto_sph_harmonic_t(int, int, double, double) nogil
  1198. cdef _proto_sph_harmonic_t *_proto_sph_harmonic_t_var = &_func_sph_harmonic
  1199. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1200. cdef npy_double _func_cdft1_wrap "cdft1_wrap"(npy_double, npy_double)nogil
  1201. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1202. cdef npy_double _func_cdft3_wrap "cdft3_wrap"(npy_double, npy_double)nogil
  1203. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1204. cdef npy_double _func_cdft2_wrap "cdft2_wrap"(npy_double, npy_double)nogil
  1205. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1206. cdef npy_double _func_struve_h "struve_h"(npy_double, npy_double)nogil
  1207. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1208. cdef npy_double _func_tandg "tandg"(npy_double)nogil
  1209. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1210. cdef npy_double _func_tukeylambdacdf "tukeylambdacdf"(npy_double, npy_double)nogil
  1211. from ._xlogy cimport xlog1py as _func_xlog1py
  1212. ctypedef double _proto_xlog1py_double__t(double, double) nogil
  1213. cdef _proto_xlog1py_double__t *_proto_xlog1py_double__t_var = &_func_xlog1py[double]
  1214. from ._xlogy cimport xlog1py as _func_xlog1py
  1215. ctypedef double complex _proto_xlog1py_double_complex__t(double complex, double complex) nogil
  1216. cdef _proto_xlog1py_double_complex__t *_proto_xlog1py_double_complex__t_var = &_func_xlog1py[double_complex]
  1217. from ._xlogy cimport xlogy as _func_xlogy
  1218. ctypedef double _proto_xlogy_double__t(double, double) nogil
  1219. cdef _proto_xlogy_double__t *_proto_xlogy_double__t_var = &_func_xlogy[double]
  1220. from ._xlogy cimport xlogy as _func_xlogy
  1221. ctypedef double complex _proto_xlogy_double_complex__t(double complex, double complex) nogil
  1222. cdef _proto_xlogy_double_complex__t *_proto_xlogy_double_complex__t_var = &_func_xlogy[double_complex]
  1223. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1224. cdef npy_double _func_y0 "y0"(npy_double)nogil
  1225. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1226. cdef npy_double _func_y1 "y1"(npy_double)nogil
  1227. from ._legacy cimport yn_unsafe as _func_yn_unsafe
  1228. ctypedef double _proto_yn_unsafe_t(double, double) nogil
  1229. cdef _proto_yn_unsafe_t *_proto_yn_unsafe_t_var = &_func_yn_unsafe
  1230. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1231. cdef npy_double _func_yn "yn"(npy_int, npy_double)nogil
  1232. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1233. cdef npy_cdouble _func_cbesy_wrap "cbesy_wrap"(npy_double, npy_cdouble)nogil
  1234. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1235. cdef npy_double _func_cbesy_wrap_real "cbesy_wrap_real"(npy_double, npy_double)nogil
  1236. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1237. cdef npy_cdouble _func_cbesy_wrap_e "cbesy_wrap_e"(npy_double, npy_cdouble)nogil
  1238. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1239. cdef npy_double _func_cbesy_wrap_e_real "cbesy_wrap_e_real"(npy_double, npy_double)nogil
  1240. cdef extern from r"/project/.mesonpy-9bazhw_8/build/scipy/special/_ufuncs_defs.h":
  1241. cdef npy_double _func_zetac "zetac"(npy_double)nogil
  1242. from ._wright_bessel cimport wright_bessel_scalar as _func_wright_bessel_scalar
  1243. ctypedef double _proto_wright_bessel_scalar_t(double, double, double) nogil
  1244. cdef _proto_wright_bessel_scalar_t *_proto_wright_bessel_scalar_t_var = &_func_wright_bessel_scalar
  1245. from ._ndtri_exp cimport ndtri_exp as _func_ndtri_exp
  1246. ctypedef double _proto_ndtri_exp_t(double) nogil
  1247. cdef _proto_ndtri_exp_t *_proto_ndtri_exp_t_var = &_func_ndtri_exp
  1248. cpdef double voigt_profile(double x0, double x1, double x2) nogil:
  1249. """See the documentation for scipy.special.voigt_profile"""
  1250. return (<double(*)(double, double, double) nogil>scipy.special._ufuncs_cxx._export_faddeeva_voigt_profile)(x0, x1, x2)
  1251. cpdef double agm(double x0, double x1) nogil:
  1252. """See the documentation for scipy.special.agm"""
  1253. return _func_agm(x0, x1)
  1254. cdef void airy(Dd_number_t x0, Dd_number_t *y0, Dd_number_t *y1, Dd_number_t *y2, Dd_number_t *y3) nogil:
  1255. """See the documentation for scipy.special.airy"""
  1256. cdef npy_cdouble tmp0
  1257. cdef npy_cdouble tmp1
  1258. cdef npy_cdouble tmp2
  1259. cdef npy_cdouble tmp3
  1260. if Dd_number_t is double:
  1261. _func_airy_wrap(x0, y0, y1, y2, y3)
  1262. elif Dd_number_t is double_complex:
  1263. _func_cairy_wrap(_complexstuff.npy_cdouble_from_double_complex(x0), &tmp0, &tmp1, &tmp2, &tmp3)
  1264. y0[0] = _complexstuff.double_complex_from_npy_cdouble(tmp0)
  1265. y1[0] = _complexstuff.double_complex_from_npy_cdouble(tmp1)
  1266. y2[0] = _complexstuff.double_complex_from_npy_cdouble(tmp2)
  1267. y3[0] = _complexstuff.double_complex_from_npy_cdouble(tmp3)
  1268. else:
  1269. if Dd_number_t is double_complex:
  1270. y0[0] = NAN
  1271. y1[0] = NAN
  1272. y2[0] = NAN
  1273. y3[0] = NAN
  1274. else:
  1275. y0[0] = NAN
  1276. y1[0] = NAN
  1277. y2[0] = NAN
  1278. y3[0] = NAN
  1279. def _airy_pywrap(Dd_number_t x0):
  1280. cdef Dd_number_t y0
  1281. cdef Dd_number_t y1
  1282. cdef Dd_number_t y2
  1283. cdef Dd_number_t y3
  1284. airy(x0, &y0, &y1, &y2, &y3)
  1285. return y0, y1, y2, y3
  1286. cdef void airye(Dd_number_t x0, Dd_number_t *y0, Dd_number_t *y1, Dd_number_t *y2, Dd_number_t *y3) nogil:
  1287. """See the documentation for scipy.special.airye"""
  1288. cdef npy_cdouble tmp0
  1289. cdef npy_cdouble tmp1
  1290. cdef npy_cdouble tmp2
  1291. cdef npy_cdouble tmp3
  1292. if Dd_number_t is double_complex:
  1293. _func_cairy_wrap_e(_complexstuff.npy_cdouble_from_double_complex(x0), &tmp0, &tmp1, &tmp2, &tmp3)
  1294. y0[0] = _complexstuff.double_complex_from_npy_cdouble(tmp0)
  1295. y1[0] = _complexstuff.double_complex_from_npy_cdouble(tmp1)
  1296. y2[0] = _complexstuff.double_complex_from_npy_cdouble(tmp2)
  1297. y3[0] = _complexstuff.double_complex_from_npy_cdouble(tmp3)
  1298. elif Dd_number_t is double:
  1299. _func_cairy_wrap_e_real(x0, y0, y1, y2, y3)
  1300. else:
  1301. if Dd_number_t is double_complex:
  1302. y0[0] = NAN
  1303. y1[0] = NAN
  1304. y2[0] = NAN
  1305. y3[0] = NAN
  1306. else:
  1307. y0[0] = NAN
  1308. y1[0] = NAN
  1309. y2[0] = NAN
  1310. y3[0] = NAN
  1311. def _airye_pywrap(Dd_number_t x0):
  1312. cdef Dd_number_t y0
  1313. cdef Dd_number_t y1
  1314. cdef Dd_number_t y2
  1315. cdef Dd_number_t y3
  1316. airye(x0, &y0, &y1, &y2, &y3)
  1317. return y0, y1, y2, y3
  1318. cpdef double bdtr(double x0, dl_number_t x1, double x2) nogil:
  1319. """See the documentation for scipy.special.bdtr"""
  1320. if dl_number_t is double:
  1321. return _func_bdtr_unsafe(x0, x1, x2)
  1322. elif dl_number_t is long:
  1323. return _func_bdtr(x0, x1, x2)
  1324. else:
  1325. return NAN
  1326. cpdef double bdtrc(double x0, dl_number_t x1, double x2) nogil:
  1327. """See the documentation for scipy.special.bdtrc"""
  1328. if dl_number_t is double:
  1329. return _func_bdtrc_unsafe(x0, x1, x2)
  1330. elif dl_number_t is long:
  1331. return _func_bdtrc(x0, x1, x2)
  1332. else:
  1333. return NAN
  1334. cpdef double bdtri(double x0, dl_number_t x1, double x2) nogil:
  1335. """See the documentation for scipy.special.bdtri"""
  1336. if dl_number_t is double:
  1337. return _func_bdtri_unsafe(x0, x1, x2)
  1338. elif dl_number_t is long:
  1339. return _func_bdtri(x0, x1, x2)
  1340. else:
  1341. return NAN
  1342. cpdef double bdtrik(double x0, double x1, double x2) nogil:
  1343. """See the documentation for scipy.special.bdtrik"""
  1344. return _func_cdfbin2_wrap(x0, x1, x2)
  1345. cpdef double bdtrin(double x0, double x1, double x2) nogil:
  1346. """See the documentation for scipy.special.bdtrin"""
  1347. return _func_cdfbin3_wrap(x0, x1, x2)
  1348. cpdef double bei(double x0) nogil:
  1349. """See the documentation for scipy.special.bei"""
  1350. return _func_bei_wrap(x0)
  1351. cpdef double beip(double x0) nogil:
  1352. """See the documentation for scipy.special.beip"""
  1353. return _func_beip_wrap(x0)
  1354. cpdef double ber(double x0) nogil:
  1355. """See the documentation for scipy.special.ber"""
  1356. return _func_ber_wrap(x0)
  1357. cpdef double berp(double x0) nogil:
  1358. """See the documentation for scipy.special.berp"""
  1359. return _func_berp_wrap(x0)
  1360. cpdef double besselpoly(double x0, double x1, double x2) nogil:
  1361. """See the documentation for scipy.special.besselpoly"""
  1362. return _func_besselpoly(x0, x1, x2)
  1363. cpdef double beta(double x0, double x1) nogil:
  1364. """See the documentation for scipy.special.beta"""
  1365. return _func_beta(x0, x1)
  1366. cpdef double betainc(double x0, double x1, double x2) nogil:
  1367. """See the documentation for scipy.special.betainc"""
  1368. return _func_incbet(x0, x1, x2)
  1369. cpdef double betaincinv(double x0, double x1, double x2) nogil:
  1370. """See the documentation for scipy.special.betaincinv"""
  1371. return _func_incbi(x0, x1, x2)
  1372. cpdef double betaln(double x0, double x1) nogil:
  1373. """See the documentation for scipy.special.betaln"""
  1374. return _func_lbeta(x0, x1)
  1375. cpdef double binom(double x0, double x1) nogil:
  1376. """See the documentation for scipy.special.binom"""
  1377. return _func_binom(x0, x1)
  1378. cpdef double boxcox(double x0, double x1) nogil:
  1379. """See the documentation for scipy.special.boxcox"""
  1380. return _func_boxcox(x0, x1)
  1381. cpdef double boxcox1p(double x0, double x1) nogil:
  1382. """See the documentation for scipy.special.boxcox1p"""
  1383. return _func_boxcox1p(x0, x1)
  1384. cpdef double btdtr(double x0, double x1, double x2) nogil:
  1385. """See the documentation for scipy.special.btdtr"""
  1386. return _func_btdtr(x0, x1, x2)
  1387. cpdef double btdtri(double x0, double x1, double x2) nogil:
  1388. """See the documentation for scipy.special.btdtri"""
  1389. return _func_incbi(x0, x1, x2)
  1390. cpdef double btdtria(double x0, double x1, double x2) nogil:
  1391. """See the documentation for scipy.special.btdtria"""
  1392. return _func_cdfbet3_wrap(x0, x1, x2)
  1393. cpdef double btdtrib(double x0, double x1, double x2) nogil:
  1394. """See the documentation for scipy.special.btdtrib"""
  1395. return _func_cdfbet4_wrap(x0, x1, x2)
  1396. cpdef double cbrt(double x0) nogil:
  1397. """See the documentation for scipy.special.cbrt"""
  1398. return _func_cbrt(x0)
  1399. cpdef double chdtr(double x0, double x1) nogil:
  1400. """See the documentation for scipy.special.chdtr"""
  1401. return _func_chdtr(x0, x1)
  1402. cpdef double chdtrc(double x0, double x1) nogil:
  1403. """See the documentation for scipy.special.chdtrc"""
  1404. return _func_chdtrc(x0, x1)
  1405. cpdef double chdtri(double x0, double x1) nogil:
  1406. """See the documentation for scipy.special.chdtri"""
  1407. return _func_chdtri(x0, x1)
  1408. cpdef double chdtriv(double x0, double x1) nogil:
  1409. """See the documentation for scipy.special.chdtriv"""
  1410. return _func_cdfchi3_wrap(x0, x1)
  1411. cpdef double chndtr(double x0, double x1, double x2) nogil:
  1412. """See the documentation for scipy.special.chndtr"""
  1413. return _func_cdfchn1_wrap(x0, x1, x2)
  1414. cpdef double chndtridf(double x0, double x1, double x2) nogil:
  1415. """See the documentation for scipy.special.chndtridf"""
  1416. return _func_cdfchn3_wrap(x0, x1, x2)
  1417. cpdef double chndtrinc(double x0, double x1, double x2) nogil:
  1418. """See the documentation for scipy.special.chndtrinc"""
  1419. return _func_cdfchn4_wrap(x0, x1, x2)
  1420. cpdef double chndtrix(double x0, double x1, double x2) nogil:
  1421. """See the documentation for scipy.special.chndtrix"""
  1422. return _func_cdfchn2_wrap(x0, x1, x2)
  1423. cpdef double cosdg(double x0) nogil:
  1424. """See the documentation for scipy.special.cosdg"""
  1425. return _func_cosdg(x0)
  1426. cpdef double cosm1(double x0) nogil:
  1427. """See the documentation for scipy.special.cosm1"""
  1428. return _func_cosm1(x0)
  1429. cpdef double cotdg(double x0) nogil:
  1430. """See the documentation for scipy.special.cotdg"""
  1431. return _func_cotdg(x0)
  1432. cpdef Dd_number_t dawsn(Dd_number_t x0) nogil:
  1433. """See the documentation for scipy.special.dawsn"""
  1434. if Dd_number_t is double:
  1435. return (<double(*)(double) nogil>scipy.special._ufuncs_cxx._export_faddeeva_dawsn)(x0)
  1436. elif Dd_number_t is double_complex:
  1437. return (<double complex(*)(double complex) nogil>scipy.special._ufuncs_cxx._export_faddeeva_dawsn_complex)(x0)
  1438. else:
  1439. if Dd_number_t is double_complex:
  1440. return NAN
  1441. else:
  1442. return NAN
  1443. cpdef double ellipe(double x0) nogil:
  1444. """See the documentation for scipy.special.ellipe"""
  1445. return _func_ellpe(x0)
  1446. cpdef double ellipeinc(double x0, double x1) nogil:
  1447. """See the documentation for scipy.special.ellipeinc"""
  1448. return _func_ellie(x0, x1)
  1449. cdef void ellipj(double x0, double x1, double *y0, double *y1, double *y2, double *y3) nogil:
  1450. """See the documentation for scipy.special.ellipj"""
  1451. _func_ellpj(x0, x1, y0, y1, y2, y3)
  1452. def _ellipj_pywrap(double x0, double x1):
  1453. cdef double y0
  1454. cdef double y1
  1455. cdef double y2
  1456. cdef double y3
  1457. ellipj(x0, x1, &y0, &y1, &y2, &y3)
  1458. return y0, y1, y2, y3
  1459. cpdef double ellipkinc(double x0, double x1) nogil:
  1460. """See the documentation for scipy.special.ellipkinc"""
  1461. return _func_ellik(x0, x1)
  1462. cpdef double ellipkm1(double x0) nogil:
  1463. """See the documentation for scipy.special.ellipkm1"""
  1464. return _func_ellpk(x0)
  1465. cpdef double ellipk(double x0) nogil:
  1466. """See the documentation for scipy.special.ellipk"""
  1467. return _func_ellipk(x0)
  1468. cpdef Dd_number_t elliprc(Dd_number_t x0, Dd_number_t x1) nogil:
  1469. """See the documentation for scipy.special.elliprc"""
  1470. if Dd_number_t is double:
  1471. return (<double(*)(double, double) nogil>scipy.special._ufuncs_cxx._export_fellint_RC)(x0, x1)
  1472. elif Dd_number_t is double_complex:
  1473. return (<double complex(*)(double complex, double complex) nogil>scipy.special._ufuncs_cxx._export_cellint_RC)(x0, x1)
  1474. else:
  1475. if Dd_number_t is double_complex:
  1476. return NAN
  1477. else:
  1478. return NAN
  1479. cpdef Dd_number_t elliprd(Dd_number_t x0, Dd_number_t x1, Dd_number_t x2) nogil:
  1480. """See the documentation for scipy.special.elliprd"""
  1481. if Dd_number_t is double:
  1482. return (<double(*)(double, double, double) nogil>scipy.special._ufuncs_cxx._export_fellint_RD)(x0, x1, x2)
  1483. elif Dd_number_t is double_complex:
  1484. return (<double complex(*)(double complex, double complex, double complex) nogil>scipy.special._ufuncs_cxx._export_cellint_RD)(x0, x1, x2)
  1485. else:
  1486. if Dd_number_t is double_complex:
  1487. return NAN
  1488. else:
  1489. return NAN
  1490. cpdef Dd_number_t elliprf(Dd_number_t x0, Dd_number_t x1, Dd_number_t x2) nogil:
  1491. """See the documentation for scipy.special.elliprf"""
  1492. if Dd_number_t is double:
  1493. return (<double(*)(double, double, double) nogil>scipy.special._ufuncs_cxx._export_fellint_RF)(x0, x1, x2)
  1494. elif Dd_number_t is double_complex:
  1495. return (<double complex(*)(double complex, double complex, double complex) nogil>scipy.special._ufuncs_cxx._export_cellint_RF)(x0, x1, x2)
  1496. else:
  1497. if Dd_number_t is double_complex:
  1498. return NAN
  1499. else:
  1500. return NAN
  1501. cpdef Dd_number_t elliprg(Dd_number_t x0, Dd_number_t x1, Dd_number_t x2) nogil:
  1502. """See the documentation for scipy.special.elliprg"""
  1503. if Dd_number_t is double:
  1504. return (<double(*)(double, double, double) nogil>scipy.special._ufuncs_cxx._export_fellint_RG)(x0, x1, x2)
  1505. elif Dd_number_t is double_complex:
  1506. return (<double complex(*)(double complex, double complex, double complex) nogil>scipy.special._ufuncs_cxx._export_cellint_RG)(x0, x1, x2)
  1507. else:
  1508. if Dd_number_t is double_complex:
  1509. return NAN
  1510. else:
  1511. return NAN
  1512. cpdef Dd_number_t elliprj(Dd_number_t x0, Dd_number_t x1, Dd_number_t x2, Dd_number_t x3) nogil:
  1513. """See the documentation for scipy.special.elliprj"""
  1514. if Dd_number_t is double:
  1515. return (<double(*)(double, double, double, double) nogil>scipy.special._ufuncs_cxx._export_fellint_RJ)(x0, x1, x2, x3)
  1516. elif Dd_number_t is double_complex:
  1517. return (<double complex(*)(double complex, double complex, double complex, double complex) nogil>scipy.special._ufuncs_cxx._export_cellint_RJ)(x0, x1, x2, x3)
  1518. else:
  1519. if Dd_number_t is double_complex:
  1520. return NAN
  1521. else:
  1522. return NAN
  1523. cpdef double entr(double x0) nogil:
  1524. """See the documentation for scipy.special.entr"""
  1525. return _func_entr(x0)
  1526. cpdef Dd_number_t erf(Dd_number_t x0) nogil:
  1527. """See the documentation for scipy.special.erf"""
  1528. if Dd_number_t is double_complex:
  1529. return (<double complex(*)(double complex) nogil>scipy.special._ufuncs_cxx._export_faddeeva_erf)(x0)
  1530. elif Dd_number_t is double:
  1531. return _func_erf(x0)
  1532. else:
  1533. if Dd_number_t is double_complex:
  1534. return NAN
  1535. else:
  1536. return NAN
  1537. cpdef Dd_number_t erfc(Dd_number_t x0) nogil:
  1538. """See the documentation for scipy.special.erfc"""
  1539. if Dd_number_t is double_complex:
  1540. return (<double complex(*)(double complex) nogil>scipy.special._ufuncs_cxx._export_faddeeva_erfc_complex)(x0)
  1541. elif Dd_number_t is double:
  1542. return _func_erfc(x0)
  1543. else:
  1544. if Dd_number_t is double_complex:
  1545. return NAN
  1546. else:
  1547. return NAN
  1548. cpdef Dd_number_t erfcx(Dd_number_t x0) nogil:
  1549. """See the documentation for scipy.special.erfcx"""
  1550. if Dd_number_t is double:
  1551. return (<double(*)(double) nogil>scipy.special._ufuncs_cxx._export_faddeeva_erfcx)(x0)
  1552. elif Dd_number_t is double_complex:
  1553. return (<double complex(*)(double complex) nogil>scipy.special._ufuncs_cxx._export_faddeeva_erfcx_complex)(x0)
  1554. else:
  1555. if Dd_number_t is double_complex:
  1556. return NAN
  1557. else:
  1558. return NAN
  1559. cpdef Dd_number_t erfi(Dd_number_t x0) nogil:
  1560. """See the documentation for scipy.special.erfi"""
  1561. if Dd_number_t is double:
  1562. return (<double(*)(double) nogil>scipy.special._ufuncs_cxx._export_faddeeva_erfi)(x0)
  1563. elif Dd_number_t is double_complex:
  1564. return (<double complex(*)(double complex) nogil>scipy.special._ufuncs_cxx._export_faddeeva_erfi_complex)(x0)
  1565. else:
  1566. if Dd_number_t is double_complex:
  1567. return NAN
  1568. else:
  1569. return NAN
  1570. cpdef df_number_t erfinv(df_number_t x0) nogil:
  1571. """See the documentation for scipy.special.erfinv"""
  1572. if df_number_t is float:
  1573. return (<float(*)(float) nogil>scipy.special._ufuncs_cxx._export_erfinv_float)(x0)
  1574. elif df_number_t is double:
  1575. return (<double(*)(double) nogil>scipy.special._ufuncs_cxx._export_erfinv_double)(x0)
  1576. else:
  1577. if df_number_t is double:
  1578. return NAN
  1579. else:
  1580. return NAN
  1581. cpdef double erfcinv(double x0) nogil:
  1582. """See the documentation for scipy.special.erfcinv"""
  1583. return _func_erfcinv(x0)
  1584. cpdef Dd_number_t eval_chebyc(dl_number_t x0, Dd_number_t x1) nogil:
  1585. """See the documentation for scipy.special.eval_chebyc"""
  1586. if dl_number_t is double and Dd_number_t is double_complex:
  1587. return _func_eval_chebyc[double_complex](x0, x1)
  1588. elif dl_number_t is double and Dd_number_t is double:
  1589. return _func_eval_chebyc[double](x0, x1)
  1590. elif dl_number_t is long and Dd_number_t is double:
  1591. return _func_eval_chebyc_l(x0, x1)
  1592. else:
  1593. if Dd_number_t is double_complex:
  1594. return NAN
  1595. else:
  1596. return NAN
  1597. cpdef Dd_number_t eval_chebys(dl_number_t x0, Dd_number_t x1) nogil:
  1598. """See the documentation for scipy.special.eval_chebys"""
  1599. if dl_number_t is double and Dd_number_t is double_complex:
  1600. return _func_eval_chebys[double_complex](x0, x1)
  1601. elif dl_number_t is double and Dd_number_t is double:
  1602. return _func_eval_chebys[double](x0, x1)
  1603. elif dl_number_t is long and Dd_number_t is double:
  1604. return _func_eval_chebys_l(x0, x1)
  1605. else:
  1606. if Dd_number_t is double_complex:
  1607. return NAN
  1608. else:
  1609. return NAN
  1610. cpdef Dd_number_t eval_chebyt(dl_number_t x0, Dd_number_t x1) nogil:
  1611. """See the documentation for scipy.special.eval_chebyt"""
  1612. if dl_number_t is double and Dd_number_t is double_complex:
  1613. return _func_eval_chebyt[double_complex](x0, x1)
  1614. elif dl_number_t is double and Dd_number_t is double:
  1615. return _func_eval_chebyt[double](x0, x1)
  1616. elif dl_number_t is long and Dd_number_t is double:
  1617. return _func_eval_chebyt_l(x0, x1)
  1618. else:
  1619. if Dd_number_t is double_complex:
  1620. return NAN
  1621. else:
  1622. return NAN
  1623. cpdef Dd_number_t eval_chebyu(dl_number_t x0, Dd_number_t x1) nogil:
  1624. """See the documentation for scipy.special.eval_chebyu"""
  1625. if dl_number_t is double and Dd_number_t is double_complex:
  1626. return _func_eval_chebyu[double_complex](x0, x1)
  1627. elif dl_number_t is double and Dd_number_t is double:
  1628. return _func_eval_chebyu[double](x0, x1)
  1629. elif dl_number_t is long and Dd_number_t is double:
  1630. return _func_eval_chebyu_l(x0, x1)
  1631. else:
  1632. if Dd_number_t is double_complex:
  1633. return NAN
  1634. else:
  1635. return NAN
  1636. cpdef Dd_number_t eval_gegenbauer(dl_number_t x0, double x1, Dd_number_t x2) nogil:
  1637. """See the documentation for scipy.special.eval_gegenbauer"""
  1638. if dl_number_t is double and Dd_number_t is double_complex:
  1639. return _func_eval_gegenbauer[double_complex](x0, x1, x2)
  1640. elif dl_number_t is double and Dd_number_t is double:
  1641. return _func_eval_gegenbauer[double](x0, x1, x2)
  1642. elif dl_number_t is long and Dd_number_t is double:
  1643. return _func_eval_gegenbauer_l(x0, x1, x2)
  1644. else:
  1645. if Dd_number_t is double_complex:
  1646. return NAN
  1647. else:
  1648. return NAN
  1649. cpdef Dd_number_t eval_genlaguerre(dl_number_t x0, double x1, Dd_number_t x2) nogil:
  1650. """See the documentation for scipy.special.eval_genlaguerre"""
  1651. if dl_number_t is double and Dd_number_t is double_complex:
  1652. return _func_eval_genlaguerre[double_complex](x0, x1, x2)
  1653. elif dl_number_t is double and Dd_number_t is double:
  1654. return _func_eval_genlaguerre[double](x0, x1, x2)
  1655. elif dl_number_t is long and Dd_number_t is double:
  1656. return _func_eval_genlaguerre_l(x0, x1, x2)
  1657. else:
  1658. if Dd_number_t is double_complex:
  1659. return NAN
  1660. else:
  1661. return NAN
  1662. cpdef double eval_hermite(long x0, double x1) nogil:
  1663. """See the documentation for scipy.special.eval_hermite"""
  1664. return _func_eval_hermite(x0, x1)
  1665. cpdef double eval_hermitenorm(long x0, double x1) nogil:
  1666. """See the documentation for scipy.special.eval_hermitenorm"""
  1667. return _func_eval_hermitenorm(x0, x1)
  1668. cpdef Dd_number_t eval_jacobi(dl_number_t x0, double x1, double x2, Dd_number_t x3) nogil:
  1669. """See the documentation for scipy.special.eval_jacobi"""
  1670. if dl_number_t is double and Dd_number_t is double_complex:
  1671. return _func_eval_jacobi[double_complex](x0, x1, x2, x3)
  1672. elif dl_number_t is double and Dd_number_t is double:
  1673. return _func_eval_jacobi[double](x0, x1, x2, x3)
  1674. elif dl_number_t is long and Dd_number_t is double:
  1675. return _func_eval_jacobi_l(x0, x1, x2, x3)
  1676. else:
  1677. if Dd_number_t is double_complex:
  1678. return NAN
  1679. else:
  1680. return NAN
  1681. cpdef Dd_number_t eval_laguerre(dl_number_t x0, Dd_number_t x1) nogil:
  1682. """See the documentation for scipy.special.eval_laguerre"""
  1683. if dl_number_t is double and Dd_number_t is double_complex:
  1684. return _func_eval_laguerre[double_complex](x0, x1)
  1685. elif dl_number_t is double and Dd_number_t is double:
  1686. return _func_eval_laguerre[double](x0, x1)
  1687. elif dl_number_t is long and Dd_number_t is double:
  1688. return _func_eval_laguerre_l(x0, x1)
  1689. else:
  1690. if Dd_number_t is double_complex:
  1691. return NAN
  1692. else:
  1693. return NAN
  1694. cpdef Dd_number_t eval_legendre(dl_number_t x0, Dd_number_t x1) nogil:
  1695. """See the documentation for scipy.special.eval_legendre"""
  1696. if dl_number_t is double and Dd_number_t is double_complex:
  1697. return _func_eval_legendre[double_complex](x0, x1)
  1698. elif dl_number_t is double and Dd_number_t is double:
  1699. return _func_eval_legendre[double](x0, x1)
  1700. elif dl_number_t is long and Dd_number_t is double:
  1701. return _func_eval_legendre_l(x0, x1)
  1702. else:
  1703. if Dd_number_t is double_complex:
  1704. return NAN
  1705. else:
  1706. return NAN
  1707. cpdef Dd_number_t eval_sh_chebyt(dl_number_t x0, Dd_number_t x1) nogil:
  1708. """See the documentation for scipy.special.eval_sh_chebyt"""
  1709. if dl_number_t is double and Dd_number_t is double_complex:
  1710. return _func_eval_sh_chebyt[double_complex](x0, x1)
  1711. elif dl_number_t is double and Dd_number_t is double:
  1712. return _func_eval_sh_chebyt[double](x0, x1)
  1713. elif dl_number_t is long and Dd_number_t is double:
  1714. return _func_eval_sh_chebyt_l(x0, x1)
  1715. else:
  1716. if Dd_number_t is double_complex:
  1717. return NAN
  1718. else:
  1719. return NAN
  1720. cpdef Dd_number_t eval_sh_chebyu(dl_number_t x0, Dd_number_t x1) nogil:
  1721. """See the documentation for scipy.special.eval_sh_chebyu"""
  1722. if dl_number_t is double and Dd_number_t is double_complex:
  1723. return _func_eval_sh_chebyu[double_complex](x0, x1)
  1724. elif dl_number_t is double and Dd_number_t is double:
  1725. return _func_eval_sh_chebyu[double](x0, x1)
  1726. elif dl_number_t is long and Dd_number_t is double:
  1727. return _func_eval_sh_chebyu_l(x0, x1)
  1728. else:
  1729. if Dd_number_t is double_complex:
  1730. return NAN
  1731. else:
  1732. return NAN
  1733. cpdef Dd_number_t eval_sh_jacobi(dl_number_t x0, double x1, double x2, Dd_number_t x3) nogil:
  1734. """See the documentation for scipy.special.eval_sh_jacobi"""
  1735. if dl_number_t is double and Dd_number_t is double_complex:
  1736. return _func_eval_sh_jacobi[double_complex](x0, x1, x2, x3)
  1737. elif dl_number_t is double and Dd_number_t is double:
  1738. return _func_eval_sh_jacobi[double](x0, x1, x2, x3)
  1739. elif dl_number_t is long and Dd_number_t is double:
  1740. return _func_eval_sh_jacobi_l(x0, x1, x2, x3)
  1741. else:
  1742. if Dd_number_t is double_complex:
  1743. return NAN
  1744. else:
  1745. return NAN
  1746. cpdef Dd_number_t eval_sh_legendre(dl_number_t x0, Dd_number_t x1) nogil:
  1747. """See the documentation for scipy.special.eval_sh_legendre"""
  1748. if dl_number_t is double and Dd_number_t is double_complex:
  1749. return _func_eval_sh_legendre[double_complex](x0, x1)
  1750. elif dl_number_t is double and Dd_number_t is double:
  1751. return _func_eval_sh_legendre[double](x0, x1)
  1752. elif dl_number_t is long and Dd_number_t is double:
  1753. return _func_eval_sh_legendre_l(x0, x1)
  1754. else:
  1755. if Dd_number_t is double_complex:
  1756. return NAN
  1757. else:
  1758. return NAN
  1759. cpdef Dd_number_t exp1(Dd_number_t x0) nogil:
  1760. """See the documentation for scipy.special.exp1"""
  1761. if Dd_number_t is double_complex:
  1762. return _complexstuff.double_complex_from_npy_cdouble(_func_cexp1_wrap(_complexstuff.npy_cdouble_from_double_complex(x0)))
  1763. elif Dd_number_t is double:
  1764. return _func_exp1_wrap(x0)
  1765. else:
  1766. if Dd_number_t is double_complex:
  1767. return NAN
  1768. else:
  1769. return NAN
  1770. cpdef double exp10(double x0) nogil:
  1771. """See the documentation for scipy.special.exp10"""
  1772. return _func_exp10(x0)
  1773. cpdef double exp2(double x0) nogil:
  1774. """See the documentation for scipy.special.exp2"""
  1775. return _func_exp2(x0)
  1776. cpdef Dd_number_t expi(Dd_number_t x0) nogil:
  1777. """See the documentation for scipy.special.expi"""
  1778. if Dd_number_t is double_complex:
  1779. return _complexstuff.double_complex_from_npy_cdouble(_func_cexpi_wrap(_complexstuff.npy_cdouble_from_double_complex(x0)))
  1780. elif Dd_number_t is double:
  1781. return _func_expi_wrap(x0)
  1782. else:
  1783. if Dd_number_t is double_complex:
  1784. return NAN
  1785. else:
  1786. return NAN
  1787. cpdef dfg_number_t expit(dfg_number_t x0) nogil:
  1788. """See the documentation for scipy.special.expit"""
  1789. if dfg_number_t is double:
  1790. return (<double(*)(double) nogil>scipy.special._ufuncs_cxx._export_expit)(x0)
  1791. elif dfg_number_t is float:
  1792. return (<float(*)(float) nogil>scipy.special._ufuncs_cxx._export_expitf)(x0)
  1793. elif dfg_number_t is long_double:
  1794. return (<long double(*)(long double) nogil>scipy.special._ufuncs_cxx._export_expitl)(x0)
  1795. else:
  1796. if dfg_number_t is double:
  1797. return NAN
  1798. elif dfg_number_t is float:
  1799. return NAN
  1800. else:
  1801. return NAN
  1802. cpdef Dd_number_t expm1(Dd_number_t x0) nogil:
  1803. """See the documentation for scipy.special.expm1"""
  1804. if Dd_number_t is double_complex:
  1805. return _func_cexpm1(x0)
  1806. elif Dd_number_t is double:
  1807. return _func_expm1(x0)
  1808. else:
  1809. if Dd_number_t is double_complex:
  1810. return NAN
  1811. else:
  1812. return NAN
  1813. cpdef double expn(dl_number_t x0, double x1) nogil:
  1814. """See the documentation for scipy.special.expn"""
  1815. if dl_number_t is double:
  1816. return _func_expn_unsafe(x0, x1)
  1817. elif dl_number_t is long:
  1818. return _func_expn(x0, x1)
  1819. else:
  1820. return NAN
  1821. cpdef double exprel(double x0) nogil:
  1822. """See the documentation for scipy.special.exprel"""
  1823. return _func_exprel(x0)
  1824. cpdef double fdtr(double x0, double x1, double x2) nogil:
  1825. """See the documentation for scipy.special.fdtr"""
  1826. return _func_fdtr(x0, x1, x2)
  1827. cpdef double fdtrc(double x0, double x1, double x2) nogil:
  1828. """See the documentation for scipy.special.fdtrc"""
  1829. return _func_fdtrc(x0, x1, x2)
  1830. cpdef double fdtri(double x0, double x1, double x2) nogil:
  1831. """See the documentation for scipy.special.fdtri"""
  1832. return _func_fdtri(x0, x1, x2)
  1833. cpdef double fdtridfd(double x0, double x1, double x2) nogil:
  1834. """See the documentation for scipy.special.fdtridfd"""
  1835. return _func_cdff4_wrap(x0, x1, x2)
  1836. cdef void fresnel(Dd_number_t x0, Dd_number_t *y0, Dd_number_t *y1) nogil:
  1837. """See the documentation for scipy.special.fresnel"""
  1838. cdef npy_cdouble tmp0
  1839. cdef npy_cdouble tmp1
  1840. if Dd_number_t is double:
  1841. _func_fresnl(x0, y0, y1)
  1842. elif Dd_number_t is double_complex:
  1843. _func_cfresnl_wrap(_complexstuff.npy_cdouble_from_double_complex(x0), &tmp0, &tmp1)
  1844. y0[0] = _complexstuff.double_complex_from_npy_cdouble(tmp0)
  1845. y1[0] = _complexstuff.double_complex_from_npy_cdouble(tmp1)
  1846. else:
  1847. if Dd_number_t is double_complex:
  1848. y0[0] = NAN
  1849. y1[0] = NAN
  1850. else:
  1851. y0[0] = NAN
  1852. y1[0] = NAN
  1853. def _fresnel_pywrap(Dd_number_t x0):
  1854. cdef Dd_number_t y0
  1855. cdef Dd_number_t y1
  1856. fresnel(x0, &y0, &y1)
  1857. return y0, y1
  1858. cpdef Dd_number_t gamma(Dd_number_t x0) nogil:
  1859. """See the documentation for scipy.special.gamma"""
  1860. if Dd_number_t is double_complex:
  1861. return _func_cgamma(x0)
  1862. elif Dd_number_t is double:
  1863. return _func_Gamma(x0)
  1864. else:
  1865. if Dd_number_t is double_complex:
  1866. return NAN
  1867. else:
  1868. return NAN
  1869. cpdef double gammainc(double x0, double x1) nogil:
  1870. """See the documentation for scipy.special.gammainc"""
  1871. return _func_igam(x0, x1)
  1872. cpdef double gammaincc(double x0, double x1) nogil:
  1873. """See the documentation for scipy.special.gammaincc"""
  1874. return _func_igamc(x0, x1)
  1875. cpdef double gammainccinv(double x0, double x1) nogil:
  1876. """See the documentation for scipy.special.gammainccinv"""
  1877. return _func_igamci(x0, x1)
  1878. cpdef double gammaincinv(double x0, double x1) nogil:
  1879. """See the documentation for scipy.special.gammaincinv"""
  1880. return _func_igami(x0, x1)
  1881. cpdef double gammaln(double x0) nogil:
  1882. """See the documentation for scipy.special.gammaln"""
  1883. return _func_lgam(x0)
  1884. cpdef double gammasgn(double x0) nogil:
  1885. """See the documentation for scipy.special.gammasgn"""
  1886. return _func_gammasgn(x0)
  1887. cpdef double gdtr(double x0, double x1, double x2) nogil:
  1888. """See the documentation for scipy.special.gdtr"""
  1889. return _func_gdtr(x0, x1, x2)
  1890. cpdef double gdtrc(double x0, double x1, double x2) nogil:
  1891. """See the documentation for scipy.special.gdtrc"""
  1892. return _func_gdtrc(x0, x1, x2)
  1893. cpdef double gdtria(double x0, double x1, double x2) nogil:
  1894. """See the documentation for scipy.special.gdtria"""
  1895. return _func_cdfgam4_wrap(x0, x1, x2)
  1896. cpdef double gdtrib(double x0, double x1, double x2) nogil:
  1897. """See the documentation for scipy.special.gdtrib"""
  1898. return _func_cdfgam3_wrap(x0, x1, x2)
  1899. cpdef double gdtrix(double x0, double x1, double x2) nogil:
  1900. """See the documentation for scipy.special.gdtrix"""
  1901. return _func_cdfgam2_wrap(x0, x1, x2)
  1902. cpdef double complex hankel1(double x0, double complex x1) nogil:
  1903. """See the documentation for scipy.special.hankel1"""
  1904. return _complexstuff.double_complex_from_npy_cdouble(_func_cbesh_wrap1(x0, _complexstuff.npy_cdouble_from_double_complex(x1)))
  1905. cpdef double complex hankel1e(double x0, double complex x1) nogil:
  1906. """See the documentation for scipy.special.hankel1e"""
  1907. return _complexstuff.double_complex_from_npy_cdouble(_func_cbesh_wrap1_e(x0, _complexstuff.npy_cdouble_from_double_complex(x1)))
  1908. cpdef double complex hankel2(double x0, double complex x1) nogil:
  1909. """See the documentation for scipy.special.hankel2"""
  1910. return _complexstuff.double_complex_from_npy_cdouble(_func_cbesh_wrap2(x0, _complexstuff.npy_cdouble_from_double_complex(x1)))
  1911. cpdef double complex hankel2e(double x0, double complex x1) nogil:
  1912. """See the documentation for scipy.special.hankel2e"""
  1913. return _complexstuff.double_complex_from_npy_cdouble(_func_cbesh_wrap2_e(x0, _complexstuff.npy_cdouble_from_double_complex(x1)))
  1914. cpdef double huber(double x0, double x1) nogil:
  1915. """See the documentation for scipy.special.huber"""
  1916. return _func_huber(x0, x1)
  1917. cpdef Dd_number_t hyp0f1(double x0, Dd_number_t x1) nogil:
  1918. """See the documentation for scipy.special.hyp0f1"""
  1919. if Dd_number_t is double_complex:
  1920. return _func__hyp0f1_cmplx(x0, x1)
  1921. elif Dd_number_t is double:
  1922. return _func__hyp0f1_real(x0, x1)
  1923. else:
  1924. if Dd_number_t is double_complex:
  1925. return NAN
  1926. else:
  1927. return NAN
  1928. cpdef Dd_number_t hyp1f1(double x0, double x1, Dd_number_t x2) nogil:
  1929. """See the documentation for scipy.special.hyp1f1"""
  1930. if Dd_number_t is double:
  1931. return (<double(*)(double, double, double) nogil>scipy.special._ufuncs_cxx._export_hyp1f1_double)(x0, x1, x2)
  1932. elif Dd_number_t is double_complex:
  1933. return _complexstuff.double_complex_from_npy_cdouble(_func_chyp1f1_wrap(x0, x1, _complexstuff.npy_cdouble_from_double_complex(x2)))
  1934. else:
  1935. if Dd_number_t is double_complex:
  1936. return NAN
  1937. else:
  1938. return NAN
  1939. cpdef Dd_number_t hyp2f1(double x0, double x1, double x2, Dd_number_t x3) nogil:
  1940. """See the documentation for scipy.special.hyp2f1"""
  1941. if Dd_number_t is double:
  1942. return _func_hyp2f1(x0, x1, x2, x3)
  1943. elif Dd_number_t is double_complex:
  1944. return _func_hyp2f1_complex(x0, x1, x2, x3)
  1945. else:
  1946. if Dd_number_t is double_complex:
  1947. return NAN
  1948. else:
  1949. return NAN
  1950. cpdef double hyperu(double x0, double x1, double x2) nogil:
  1951. """See the documentation for scipy.special.hyperu"""
  1952. return _func_hyperu(x0, x1, x2)
  1953. cpdef double i0(double x0) nogil:
  1954. """See the documentation for scipy.special.i0"""
  1955. return _func_i0(x0)
  1956. cpdef double i0e(double x0) nogil:
  1957. """See the documentation for scipy.special.i0e"""
  1958. return _func_i0e(x0)
  1959. cpdef double i1(double x0) nogil:
  1960. """See the documentation for scipy.special.i1"""
  1961. return _func_i1(x0)
  1962. cpdef double i1e(double x0) nogil:
  1963. """See the documentation for scipy.special.i1e"""
  1964. return _func_i1e(x0)
  1965. cpdef double inv_boxcox(double x0, double x1) nogil:
  1966. """See the documentation for scipy.special.inv_boxcox"""
  1967. return _func_inv_boxcox(x0, x1)
  1968. cpdef double inv_boxcox1p(double x0, double x1) nogil:
  1969. """See the documentation for scipy.special.inv_boxcox1p"""
  1970. return _func_inv_boxcox1p(x0, x1)
  1971. cdef void it2i0k0(double x0, double *y0, double *y1) nogil:
  1972. """See the documentation for scipy.special.it2i0k0"""
  1973. _func_it2i0k0_wrap(x0, y0, y1)
  1974. def _it2i0k0_pywrap(double x0):
  1975. cdef double y0
  1976. cdef double y1
  1977. it2i0k0(x0, &y0, &y1)
  1978. return y0, y1
  1979. cdef void it2j0y0(double x0, double *y0, double *y1) nogil:
  1980. """See the documentation for scipy.special.it2j0y0"""
  1981. _func_it2j0y0_wrap(x0, y0, y1)
  1982. def _it2j0y0_pywrap(double x0):
  1983. cdef double y0
  1984. cdef double y1
  1985. it2j0y0(x0, &y0, &y1)
  1986. return y0, y1
  1987. cpdef double it2struve0(double x0) nogil:
  1988. """See the documentation for scipy.special.it2struve0"""
  1989. return _func_it2struve0_wrap(x0)
  1990. cdef void itairy(double x0, double *y0, double *y1, double *y2, double *y3) nogil:
  1991. """See the documentation for scipy.special.itairy"""
  1992. _func_itairy_wrap(x0, y0, y1, y2, y3)
  1993. def _itairy_pywrap(double x0):
  1994. cdef double y0
  1995. cdef double y1
  1996. cdef double y2
  1997. cdef double y3
  1998. itairy(x0, &y0, &y1, &y2, &y3)
  1999. return y0, y1, y2, y3
  2000. cdef void iti0k0(double x0, double *y0, double *y1) nogil:
  2001. """See the documentation for scipy.special.iti0k0"""
  2002. _func_it1i0k0_wrap(x0, y0, y1)
  2003. def _iti0k0_pywrap(double x0):
  2004. cdef double y0
  2005. cdef double y1
  2006. iti0k0(x0, &y0, &y1)
  2007. return y0, y1
  2008. cdef void itj0y0(double x0, double *y0, double *y1) nogil:
  2009. """See the documentation for scipy.special.itj0y0"""
  2010. _func_it1j0y0_wrap(x0, y0, y1)
  2011. def _itj0y0_pywrap(double x0):
  2012. cdef double y0
  2013. cdef double y1
  2014. itj0y0(x0, &y0, &y1)
  2015. return y0, y1
  2016. cpdef double itmodstruve0(double x0) nogil:
  2017. """See the documentation for scipy.special.itmodstruve0"""
  2018. return _func_itmodstruve0_wrap(x0)
  2019. cpdef double itstruve0(double x0) nogil:
  2020. """See the documentation for scipy.special.itstruve0"""
  2021. return _func_itstruve0_wrap(x0)
  2022. cpdef Dd_number_t iv(double x0, Dd_number_t x1) nogil:
  2023. """See the documentation for scipy.special.iv"""
  2024. if Dd_number_t is double_complex:
  2025. return _complexstuff.double_complex_from_npy_cdouble(_func_cbesi_wrap(x0, _complexstuff.npy_cdouble_from_double_complex(x1)))
  2026. elif Dd_number_t is double:
  2027. return _func_iv(x0, x1)
  2028. else:
  2029. if Dd_number_t is double_complex:
  2030. return NAN
  2031. else:
  2032. return NAN
  2033. cpdef Dd_number_t ive(double x0, Dd_number_t x1) nogil:
  2034. """See the documentation for scipy.special.ive"""
  2035. if Dd_number_t is double_complex:
  2036. return _complexstuff.double_complex_from_npy_cdouble(_func_cbesi_wrap_e(x0, _complexstuff.npy_cdouble_from_double_complex(x1)))
  2037. elif Dd_number_t is double:
  2038. return _func_cbesi_wrap_e_real(x0, x1)
  2039. else:
  2040. if Dd_number_t is double_complex:
  2041. return NAN
  2042. else:
  2043. return NAN
  2044. cpdef double j0(double x0) nogil:
  2045. """See the documentation for scipy.special.j0"""
  2046. return _func_j0(x0)
  2047. cpdef double j1(double x0) nogil:
  2048. """See the documentation for scipy.special.j1"""
  2049. return _func_j1(x0)
  2050. cpdef Dd_number_t jv(double x0, Dd_number_t x1) nogil:
  2051. """See the documentation for scipy.special.jv"""
  2052. if Dd_number_t is double_complex:
  2053. return _complexstuff.double_complex_from_npy_cdouble(_func_cbesj_wrap(x0, _complexstuff.npy_cdouble_from_double_complex(x1)))
  2054. elif Dd_number_t is double:
  2055. return _func_cbesj_wrap_real(x0, x1)
  2056. else:
  2057. if Dd_number_t is double_complex:
  2058. return NAN
  2059. else:
  2060. return NAN
  2061. cpdef Dd_number_t jve(double x0, Dd_number_t x1) nogil:
  2062. """See the documentation for scipy.special.jve"""
  2063. if Dd_number_t is double_complex:
  2064. return _complexstuff.double_complex_from_npy_cdouble(_func_cbesj_wrap_e(x0, _complexstuff.npy_cdouble_from_double_complex(x1)))
  2065. elif Dd_number_t is double:
  2066. return _func_cbesj_wrap_e_real(x0, x1)
  2067. else:
  2068. if Dd_number_t is double_complex:
  2069. return NAN
  2070. else:
  2071. return NAN
  2072. cpdef double k0(double x0) nogil:
  2073. """See the documentation for scipy.special.k0"""
  2074. return _func_k0(x0)
  2075. cpdef double k0e(double x0) nogil:
  2076. """See the documentation for scipy.special.k0e"""
  2077. return _func_k0e(x0)
  2078. cpdef double k1(double x0) nogil:
  2079. """See the documentation for scipy.special.k1"""
  2080. return _func_k1(x0)
  2081. cpdef double k1e(double x0) nogil:
  2082. """See the documentation for scipy.special.k1e"""
  2083. return _func_k1e(x0)
  2084. cpdef double kei(double x0) nogil:
  2085. """See the documentation for scipy.special.kei"""
  2086. return _func_kei_wrap(x0)
  2087. cpdef double keip(double x0) nogil:
  2088. """See the documentation for scipy.special.keip"""
  2089. return _func_keip_wrap(x0)
  2090. cdef void kelvin(double x0, double complex *y0, double complex *y1, double complex *y2, double complex *y3) nogil:
  2091. """See the documentation for scipy.special.kelvin"""
  2092. cdef npy_cdouble tmp0
  2093. cdef npy_cdouble tmp1
  2094. cdef npy_cdouble tmp2
  2095. cdef npy_cdouble tmp3
  2096. _func_kelvin_wrap(x0, &tmp0, &tmp1, &tmp2, &tmp3)
  2097. y0[0] = _complexstuff.double_complex_from_npy_cdouble(tmp0)
  2098. y1[0] = _complexstuff.double_complex_from_npy_cdouble(tmp1)
  2099. y2[0] = _complexstuff.double_complex_from_npy_cdouble(tmp2)
  2100. y3[0] = _complexstuff.double_complex_from_npy_cdouble(tmp3)
  2101. def _kelvin_pywrap(double x0):
  2102. cdef double complex y0
  2103. cdef double complex y1
  2104. cdef double complex y2
  2105. cdef double complex y3
  2106. kelvin(x0, &y0, &y1, &y2, &y3)
  2107. return y0, y1, y2, y3
  2108. cpdef double ker(double x0) nogil:
  2109. """See the documentation for scipy.special.ker"""
  2110. return _func_ker_wrap(x0)
  2111. cpdef double kerp(double x0) nogil:
  2112. """See the documentation for scipy.special.kerp"""
  2113. return _func_kerp_wrap(x0)
  2114. cpdef double kl_div(double x0, double x1) nogil:
  2115. """See the documentation for scipy.special.kl_div"""
  2116. return _func_kl_div(x0, x1)
  2117. cpdef double kn(dl_number_t x0, double x1) nogil:
  2118. """See the documentation for scipy.special.kn"""
  2119. if dl_number_t is double:
  2120. return _func_kn_unsafe(x0, x1)
  2121. elif dl_number_t is long:
  2122. return _func_cbesk_wrap_real_int(x0, x1)
  2123. else:
  2124. return NAN
  2125. cpdef double kolmogi(double x0) nogil:
  2126. """See the documentation for scipy.special.kolmogi"""
  2127. return _func_kolmogi(x0)
  2128. cpdef double kolmogorov(double x0) nogil:
  2129. """See the documentation for scipy.special.kolmogorov"""
  2130. return _func_kolmogorov(x0)
  2131. cpdef Dd_number_t kv(double x0, Dd_number_t x1) nogil:
  2132. """See the documentation for scipy.special.kv"""
  2133. if Dd_number_t is double_complex:
  2134. return _complexstuff.double_complex_from_npy_cdouble(_func_cbesk_wrap(x0, _complexstuff.npy_cdouble_from_double_complex(x1)))
  2135. elif Dd_number_t is double:
  2136. return _func_cbesk_wrap_real(x0, x1)
  2137. else:
  2138. if Dd_number_t is double_complex:
  2139. return NAN
  2140. else:
  2141. return NAN
  2142. cpdef Dd_number_t kve(double x0, Dd_number_t x1) nogil:
  2143. """See the documentation for scipy.special.kve"""
  2144. if Dd_number_t is double_complex:
  2145. return _complexstuff.double_complex_from_npy_cdouble(_func_cbesk_wrap_e(x0, _complexstuff.npy_cdouble_from_double_complex(x1)))
  2146. elif Dd_number_t is double:
  2147. return _func_cbesk_wrap_e_real(x0, x1)
  2148. else:
  2149. if Dd_number_t is double_complex:
  2150. return NAN
  2151. else:
  2152. return NAN
  2153. cpdef Dd_number_t log1p(Dd_number_t x0) nogil:
  2154. """See the documentation for scipy.special.log1p"""
  2155. if Dd_number_t is double_complex:
  2156. return _func_clog1p(x0)
  2157. elif Dd_number_t is double:
  2158. return _func_log1p(x0)
  2159. else:
  2160. if Dd_number_t is double_complex:
  2161. return NAN
  2162. else:
  2163. return NAN
  2164. cpdef dfg_number_t log_expit(dfg_number_t x0) nogil:
  2165. """See the documentation for scipy.special.log_expit"""
  2166. if dfg_number_t is double:
  2167. return (<double(*)(double) nogil>scipy.special._ufuncs_cxx._export_log_expit)(x0)
  2168. elif dfg_number_t is float:
  2169. return (<float(*)(float) nogil>scipy.special._ufuncs_cxx._export_log_expitf)(x0)
  2170. elif dfg_number_t is long_double:
  2171. return (<long double(*)(long double) nogil>scipy.special._ufuncs_cxx._export_log_expitl)(x0)
  2172. else:
  2173. if dfg_number_t is double:
  2174. return NAN
  2175. elif dfg_number_t is float:
  2176. return NAN
  2177. else:
  2178. return NAN
  2179. cpdef Dd_number_t log_ndtr(Dd_number_t x0) nogil:
  2180. """See the documentation for scipy.special.log_ndtr"""
  2181. if Dd_number_t is double:
  2182. return (<double(*)(double) nogil>scipy.special._ufuncs_cxx._export_faddeeva_log_ndtr)(x0)
  2183. elif Dd_number_t is double_complex:
  2184. return (<double complex(*)(double complex) nogil>scipy.special._ufuncs_cxx._export_faddeeva_log_ndtr_complex)(x0)
  2185. else:
  2186. if Dd_number_t is double_complex:
  2187. return NAN
  2188. else:
  2189. return NAN
  2190. cpdef Dd_number_t loggamma(Dd_number_t x0) nogil:
  2191. """See the documentation for scipy.special.loggamma"""
  2192. if Dd_number_t is double:
  2193. return _func_loggamma_real(x0)
  2194. elif Dd_number_t is double_complex:
  2195. return _func_loggamma(x0)
  2196. else:
  2197. if Dd_number_t is double_complex:
  2198. return NAN
  2199. else:
  2200. return NAN
  2201. cpdef dfg_number_t logit(dfg_number_t x0) nogil:
  2202. """See the documentation for scipy.special.logit"""
  2203. if dfg_number_t is double:
  2204. return (<double(*)(double) nogil>scipy.special._ufuncs_cxx._export_logit)(x0)
  2205. elif dfg_number_t is float:
  2206. return (<float(*)(float) nogil>scipy.special._ufuncs_cxx._export_logitf)(x0)
  2207. elif dfg_number_t is long_double:
  2208. return (<long double(*)(long double) nogil>scipy.special._ufuncs_cxx._export_logitl)(x0)
  2209. else:
  2210. if dfg_number_t is double:
  2211. return NAN
  2212. elif dfg_number_t is float:
  2213. return NAN
  2214. else:
  2215. return NAN
  2216. cpdef double lpmv(double x0, double x1, double x2) nogil:
  2217. """See the documentation for scipy.special.lpmv"""
  2218. return _func_pmv_wrap(x0, x1, x2)
  2219. cpdef double mathieu_a(double x0, double x1) nogil:
  2220. """See the documentation for scipy.special.mathieu_a"""
  2221. return _func_cem_cva_wrap(x0, x1)
  2222. cpdef double mathieu_b(double x0, double x1) nogil:
  2223. """See the documentation for scipy.special.mathieu_b"""
  2224. return _func_sem_cva_wrap(x0, x1)
  2225. cdef void mathieu_cem(double x0, double x1, double x2, double *y0, double *y1) nogil:
  2226. """See the documentation for scipy.special.mathieu_cem"""
  2227. _func_cem_wrap(x0, x1, x2, y0, y1)
  2228. def _mathieu_cem_pywrap(double x0, double x1, double x2):
  2229. cdef double y0
  2230. cdef double y1
  2231. mathieu_cem(x0, x1, x2, &y0, &y1)
  2232. return y0, y1
  2233. cdef void mathieu_modcem1(double x0, double x1, double x2, double *y0, double *y1) nogil:
  2234. """See the documentation for scipy.special.mathieu_modcem1"""
  2235. _func_mcm1_wrap(x0, x1, x2, y0, y1)
  2236. def _mathieu_modcem1_pywrap(double x0, double x1, double x2):
  2237. cdef double y0
  2238. cdef double y1
  2239. mathieu_modcem1(x0, x1, x2, &y0, &y1)
  2240. return y0, y1
  2241. cdef void mathieu_modcem2(double x0, double x1, double x2, double *y0, double *y1) nogil:
  2242. """See the documentation for scipy.special.mathieu_modcem2"""
  2243. _func_mcm2_wrap(x0, x1, x2, y0, y1)
  2244. def _mathieu_modcem2_pywrap(double x0, double x1, double x2):
  2245. cdef double y0
  2246. cdef double y1
  2247. mathieu_modcem2(x0, x1, x2, &y0, &y1)
  2248. return y0, y1
  2249. cdef void mathieu_modsem1(double x0, double x1, double x2, double *y0, double *y1) nogil:
  2250. """See the documentation for scipy.special.mathieu_modsem1"""
  2251. _func_msm1_wrap(x0, x1, x2, y0, y1)
  2252. def _mathieu_modsem1_pywrap(double x0, double x1, double x2):
  2253. cdef double y0
  2254. cdef double y1
  2255. mathieu_modsem1(x0, x1, x2, &y0, &y1)
  2256. return y0, y1
  2257. cdef void mathieu_modsem2(double x0, double x1, double x2, double *y0, double *y1) nogil:
  2258. """See the documentation for scipy.special.mathieu_modsem2"""
  2259. _func_msm2_wrap(x0, x1, x2, y0, y1)
  2260. def _mathieu_modsem2_pywrap(double x0, double x1, double x2):
  2261. cdef double y0
  2262. cdef double y1
  2263. mathieu_modsem2(x0, x1, x2, &y0, &y1)
  2264. return y0, y1
  2265. cdef void mathieu_sem(double x0, double x1, double x2, double *y0, double *y1) nogil:
  2266. """See the documentation for scipy.special.mathieu_sem"""
  2267. _func_sem_wrap(x0, x1, x2, y0, y1)
  2268. def _mathieu_sem_pywrap(double x0, double x1, double x2):
  2269. cdef double y0
  2270. cdef double y1
  2271. mathieu_sem(x0, x1, x2, &y0, &y1)
  2272. return y0, y1
  2273. cdef void modfresnelm(double x0, double complex *y0, double complex *y1) nogil:
  2274. """See the documentation for scipy.special.modfresnelm"""
  2275. cdef npy_cdouble tmp0
  2276. cdef npy_cdouble tmp1
  2277. _func_modified_fresnel_minus_wrap(x0, &tmp0, &tmp1)
  2278. y0[0] = _complexstuff.double_complex_from_npy_cdouble(tmp0)
  2279. y1[0] = _complexstuff.double_complex_from_npy_cdouble(tmp1)
  2280. def _modfresnelm_pywrap(double x0):
  2281. cdef double complex y0
  2282. cdef double complex y1
  2283. modfresnelm(x0, &y0, &y1)
  2284. return y0, y1
  2285. cdef void modfresnelp(double x0, double complex *y0, double complex *y1) nogil:
  2286. """See the documentation for scipy.special.modfresnelp"""
  2287. cdef npy_cdouble tmp0
  2288. cdef npy_cdouble tmp1
  2289. _func_modified_fresnel_plus_wrap(x0, &tmp0, &tmp1)
  2290. y0[0] = _complexstuff.double_complex_from_npy_cdouble(tmp0)
  2291. y1[0] = _complexstuff.double_complex_from_npy_cdouble(tmp1)
  2292. def _modfresnelp_pywrap(double x0):
  2293. cdef double complex y0
  2294. cdef double complex y1
  2295. modfresnelp(x0, &y0, &y1)
  2296. return y0, y1
  2297. cpdef double modstruve(double x0, double x1) nogil:
  2298. """See the documentation for scipy.special.modstruve"""
  2299. return _func_struve_l(x0, x1)
  2300. cpdef double nbdtr(dl_number_t x0, dl_number_t x1, double x2) nogil:
  2301. """See the documentation for scipy.special.nbdtr"""
  2302. if dl_number_t is double:
  2303. return _func_nbdtr_unsafe(x0, x1, x2)
  2304. elif dl_number_t is long:
  2305. return _func_nbdtr(x0, x1, x2)
  2306. else:
  2307. return NAN
  2308. cpdef double nbdtrc(dl_number_t x0, dl_number_t x1, double x2) nogil:
  2309. """See the documentation for scipy.special.nbdtrc"""
  2310. if dl_number_t is double:
  2311. return _func_nbdtrc_unsafe(x0, x1, x2)
  2312. elif dl_number_t is long:
  2313. return _func_nbdtrc(x0, x1, x2)
  2314. else:
  2315. return NAN
  2316. cpdef double nbdtri(dl_number_t x0, dl_number_t x1, double x2) nogil:
  2317. """See the documentation for scipy.special.nbdtri"""
  2318. if dl_number_t is double:
  2319. return _func_nbdtri_unsafe(x0, x1, x2)
  2320. elif dl_number_t is long:
  2321. return _func_nbdtri(x0, x1, x2)
  2322. else:
  2323. return NAN
  2324. cpdef double nbdtrik(double x0, double x1, double x2) nogil:
  2325. """See the documentation for scipy.special.nbdtrik"""
  2326. return _func_cdfnbn2_wrap(x0, x1, x2)
  2327. cpdef double nbdtrin(double x0, double x1, double x2) nogil:
  2328. """See the documentation for scipy.special.nbdtrin"""
  2329. return _func_cdfnbn3_wrap(x0, x1, x2)
  2330. cpdef double ncfdtr(double x0, double x1, double x2, double x3) nogil:
  2331. """See the documentation for scipy.special.ncfdtr"""
  2332. return _func_cdffnc1_wrap(x0, x1, x2, x3)
  2333. cpdef double ncfdtri(double x0, double x1, double x2, double x3) nogil:
  2334. """See the documentation for scipy.special.ncfdtri"""
  2335. return _func_cdffnc2_wrap(x0, x1, x2, x3)
  2336. cpdef double ncfdtridfd(double x0, double x1, double x2, double x3) nogil:
  2337. """See the documentation for scipy.special.ncfdtridfd"""
  2338. return _func_cdffnc4_wrap(x0, x1, x2, x3)
  2339. cpdef double ncfdtridfn(double x0, double x1, double x2, double x3) nogil:
  2340. """See the documentation for scipy.special.ncfdtridfn"""
  2341. return _func_cdffnc3_wrap(x0, x1, x2, x3)
  2342. cpdef double ncfdtrinc(double x0, double x1, double x2, double x3) nogil:
  2343. """See the documentation for scipy.special.ncfdtrinc"""
  2344. return _func_cdffnc5_wrap(x0, x1, x2, x3)
  2345. cpdef double nctdtr(double x0, double x1, double x2) nogil:
  2346. """See the documentation for scipy.special.nctdtr"""
  2347. return _func_cdftnc1_wrap(x0, x1, x2)
  2348. cpdef double nctdtridf(double x0, double x1, double x2) nogil:
  2349. """See the documentation for scipy.special.nctdtridf"""
  2350. return _func_cdftnc3_wrap(x0, x1, x2)
  2351. cpdef double nctdtrinc(double x0, double x1, double x2) nogil:
  2352. """See the documentation for scipy.special.nctdtrinc"""
  2353. return _func_cdftnc4_wrap(x0, x1, x2)
  2354. cpdef double nctdtrit(double x0, double x1, double x2) nogil:
  2355. """See the documentation for scipy.special.nctdtrit"""
  2356. return _func_cdftnc2_wrap(x0, x1, x2)
  2357. cpdef Dd_number_t ndtr(Dd_number_t x0) nogil:
  2358. """See the documentation for scipy.special.ndtr"""
  2359. if Dd_number_t is double_complex:
  2360. return (<double complex(*)(double complex) nogil>scipy.special._ufuncs_cxx._export_faddeeva_ndtr)(x0)
  2361. elif Dd_number_t is double:
  2362. return _func_ndtr(x0)
  2363. else:
  2364. if Dd_number_t is double_complex:
  2365. return NAN
  2366. else:
  2367. return NAN
  2368. cpdef double ndtri(double x0) nogil:
  2369. """See the documentation for scipy.special.ndtri"""
  2370. return _func_ndtri(x0)
  2371. cpdef double nrdtrimn(double x0, double x1, double x2) nogil:
  2372. """See the documentation for scipy.special.nrdtrimn"""
  2373. return _func_cdfnor3_wrap(x0, x1, x2)
  2374. cpdef double nrdtrisd(double x0, double x1, double x2) nogil:
  2375. """See the documentation for scipy.special.nrdtrisd"""
  2376. return _func_cdfnor4_wrap(x0, x1, x2)
  2377. cdef void obl_ang1(double x0, double x1, double x2, double x3, double *y0, double *y1) nogil:
  2378. """See the documentation for scipy.special.obl_ang1"""
  2379. y0[0] = _func_oblate_aswfa_nocv_wrap(x0, x1, x2, x3, y1)
  2380. def _obl_ang1_pywrap(double x0, double x1, double x2, double x3):
  2381. cdef double y0
  2382. cdef double y1
  2383. obl_ang1(x0, x1, x2, x3, &y0, &y1)
  2384. return y0, y1
  2385. cdef void obl_ang1_cv(double x0, double x1, double x2, double x3, double x4, double *y0, double *y1) nogil:
  2386. """See the documentation for scipy.special.obl_ang1_cv"""
  2387. _func_oblate_aswfa_wrap(x0, x1, x2, x3, x4, y0, y1)
  2388. def _obl_ang1_cv_pywrap(double x0, double x1, double x2, double x3, double x4):
  2389. cdef double y0
  2390. cdef double y1
  2391. obl_ang1_cv(x0, x1, x2, x3, x4, &y0, &y1)
  2392. return y0, y1
  2393. cpdef double obl_cv(double x0, double x1, double x2) nogil:
  2394. """See the documentation for scipy.special.obl_cv"""
  2395. return _func_oblate_segv_wrap(x0, x1, x2)
  2396. cdef void obl_rad1(double x0, double x1, double x2, double x3, double *y0, double *y1) nogil:
  2397. """See the documentation for scipy.special.obl_rad1"""
  2398. y0[0] = _func_oblate_radial1_nocv_wrap(x0, x1, x2, x3, y1)
  2399. def _obl_rad1_pywrap(double x0, double x1, double x2, double x3):
  2400. cdef double y0
  2401. cdef double y1
  2402. obl_rad1(x0, x1, x2, x3, &y0, &y1)
  2403. return y0, y1
  2404. cdef void obl_rad1_cv(double x0, double x1, double x2, double x3, double x4, double *y0, double *y1) nogil:
  2405. """See the documentation for scipy.special.obl_rad1_cv"""
  2406. _func_oblate_radial1_wrap(x0, x1, x2, x3, x4, y0, y1)
  2407. def _obl_rad1_cv_pywrap(double x0, double x1, double x2, double x3, double x4):
  2408. cdef double y0
  2409. cdef double y1
  2410. obl_rad1_cv(x0, x1, x2, x3, x4, &y0, &y1)
  2411. return y0, y1
  2412. cdef void obl_rad2(double x0, double x1, double x2, double x3, double *y0, double *y1) nogil:
  2413. """See the documentation for scipy.special.obl_rad2"""
  2414. y0[0] = _func_oblate_radial2_nocv_wrap(x0, x1, x2, x3, y1)
  2415. def _obl_rad2_pywrap(double x0, double x1, double x2, double x3):
  2416. cdef double y0
  2417. cdef double y1
  2418. obl_rad2(x0, x1, x2, x3, &y0, &y1)
  2419. return y0, y1
  2420. cdef void obl_rad2_cv(double x0, double x1, double x2, double x3, double x4, double *y0, double *y1) nogil:
  2421. """See the documentation for scipy.special.obl_rad2_cv"""
  2422. _func_oblate_radial2_wrap(x0, x1, x2, x3, x4, y0, y1)
  2423. def _obl_rad2_cv_pywrap(double x0, double x1, double x2, double x3, double x4):
  2424. cdef double y0
  2425. cdef double y1
  2426. obl_rad2_cv(x0, x1, x2, x3, x4, &y0, &y1)
  2427. return y0, y1
  2428. cpdef double owens_t(double x0, double x1) nogil:
  2429. """See the documentation for scipy.special.owens_t"""
  2430. return _func_owens_t(x0, x1)
  2431. cdef void pbdv(double x0, double x1, double *y0, double *y1) nogil:
  2432. """See the documentation for scipy.special.pbdv"""
  2433. _func_pbdv_wrap(x0, x1, y0, y1)
  2434. def _pbdv_pywrap(double x0, double x1):
  2435. cdef double y0
  2436. cdef double y1
  2437. pbdv(x0, x1, &y0, &y1)
  2438. return y0, y1
  2439. cdef void pbvv(double x0, double x1, double *y0, double *y1) nogil:
  2440. """See the documentation for scipy.special.pbvv"""
  2441. _func_pbvv_wrap(x0, x1, y0, y1)
  2442. def _pbvv_pywrap(double x0, double x1):
  2443. cdef double y0
  2444. cdef double y1
  2445. pbvv(x0, x1, &y0, &y1)
  2446. return y0, y1
  2447. cdef void pbwa(double x0, double x1, double *y0, double *y1) nogil:
  2448. """See the documentation for scipy.special.pbwa"""
  2449. _func_pbwa_wrap(x0, x1, y0, y1)
  2450. def _pbwa_pywrap(double x0, double x1):
  2451. cdef double y0
  2452. cdef double y1
  2453. pbwa(x0, x1, &y0, &y1)
  2454. return y0, y1
  2455. cpdef double pdtr(double x0, double x1) nogil:
  2456. """See the documentation for scipy.special.pdtr"""
  2457. return _func_pdtr(x0, x1)
  2458. cpdef double pdtrc(double x0, double x1) nogil:
  2459. """See the documentation for scipy.special.pdtrc"""
  2460. return _func_pdtrc(x0, x1)
  2461. cpdef double pdtri(dl_number_t x0, double x1) nogil:
  2462. """See the documentation for scipy.special.pdtri"""
  2463. if dl_number_t is double:
  2464. return _func_pdtri_unsafe(x0, x1)
  2465. elif dl_number_t is long:
  2466. return _func_pdtri(x0, x1)
  2467. else:
  2468. return NAN
  2469. cpdef double pdtrik(double x0, double x1) nogil:
  2470. """See the documentation for scipy.special.pdtrik"""
  2471. return _func_cdfpoi2_wrap(x0, x1)
  2472. cpdef double poch(double x0, double x1) nogil:
  2473. """See the documentation for scipy.special.poch"""
  2474. return _func_poch(x0, x1)
  2475. cpdef df_number_t powm1(df_number_t x0, df_number_t x1) nogil:
  2476. """See the documentation for scipy.special.powm1"""
  2477. if df_number_t is float:
  2478. return (<float(*)(float, float) nogil>scipy.special._ufuncs_cxx._export_powm1_float)(x0, x1)
  2479. elif df_number_t is double:
  2480. return (<double(*)(double, double) nogil>scipy.special._ufuncs_cxx._export_powm1_double)(x0, x1)
  2481. else:
  2482. if df_number_t is double:
  2483. return NAN
  2484. else:
  2485. return NAN
  2486. cdef void pro_ang1(double x0, double x1, double x2, double x3, double *y0, double *y1) nogil:
  2487. """See the documentation for scipy.special.pro_ang1"""
  2488. y0[0] = _func_prolate_aswfa_nocv_wrap(x0, x1, x2, x3, y1)
  2489. def _pro_ang1_pywrap(double x0, double x1, double x2, double x3):
  2490. cdef double y0
  2491. cdef double y1
  2492. pro_ang1(x0, x1, x2, x3, &y0, &y1)
  2493. return y0, y1
  2494. cdef void pro_ang1_cv(double x0, double x1, double x2, double x3, double x4, double *y0, double *y1) nogil:
  2495. """See the documentation for scipy.special.pro_ang1_cv"""
  2496. _func_prolate_aswfa_wrap(x0, x1, x2, x3, x4, y0, y1)
  2497. def _pro_ang1_cv_pywrap(double x0, double x1, double x2, double x3, double x4):
  2498. cdef double y0
  2499. cdef double y1
  2500. pro_ang1_cv(x0, x1, x2, x3, x4, &y0, &y1)
  2501. return y0, y1
  2502. cpdef double pro_cv(double x0, double x1, double x2) nogil:
  2503. """See the documentation for scipy.special.pro_cv"""
  2504. return _func_prolate_segv_wrap(x0, x1, x2)
  2505. cdef void pro_rad1(double x0, double x1, double x2, double x3, double *y0, double *y1) nogil:
  2506. """See the documentation for scipy.special.pro_rad1"""
  2507. y0[0] = _func_prolate_radial1_nocv_wrap(x0, x1, x2, x3, y1)
  2508. def _pro_rad1_pywrap(double x0, double x1, double x2, double x3):
  2509. cdef double y0
  2510. cdef double y1
  2511. pro_rad1(x0, x1, x2, x3, &y0, &y1)
  2512. return y0, y1
  2513. cdef void pro_rad1_cv(double x0, double x1, double x2, double x3, double x4, double *y0, double *y1) nogil:
  2514. """See the documentation for scipy.special.pro_rad1_cv"""
  2515. _func_prolate_radial1_wrap(x0, x1, x2, x3, x4, y0, y1)
  2516. def _pro_rad1_cv_pywrap(double x0, double x1, double x2, double x3, double x4):
  2517. cdef double y0
  2518. cdef double y1
  2519. pro_rad1_cv(x0, x1, x2, x3, x4, &y0, &y1)
  2520. return y0, y1
  2521. cdef void pro_rad2(double x0, double x1, double x2, double x3, double *y0, double *y1) nogil:
  2522. """See the documentation for scipy.special.pro_rad2"""
  2523. y0[0] = _func_prolate_radial2_nocv_wrap(x0, x1, x2, x3, y1)
  2524. def _pro_rad2_pywrap(double x0, double x1, double x2, double x3):
  2525. cdef double y0
  2526. cdef double y1
  2527. pro_rad2(x0, x1, x2, x3, &y0, &y1)
  2528. return y0, y1
  2529. cdef void pro_rad2_cv(double x0, double x1, double x2, double x3, double x4, double *y0, double *y1) nogil:
  2530. """See the documentation for scipy.special.pro_rad2_cv"""
  2531. _func_prolate_radial2_wrap(x0, x1, x2, x3, x4, y0, y1)
  2532. def _pro_rad2_cv_pywrap(double x0, double x1, double x2, double x3, double x4):
  2533. cdef double y0
  2534. cdef double y1
  2535. pro_rad2_cv(x0, x1, x2, x3, x4, &y0, &y1)
  2536. return y0, y1
  2537. cpdef double pseudo_huber(double x0, double x1) nogil:
  2538. """See the documentation for scipy.special.pseudo_huber"""
  2539. return _func_pseudo_huber(x0, x1)
  2540. cpdef Dd_number_t psi(Dd_number_t x0) nogil:
  2541. """See the documentation for scipy.special.psi"""
  2542. if Dd_number_t is double_complex:
  2543. return _func_cdigamma(x0)
  2544. elif Dd_number_t is double:
  2545. return _func_digamma(x0)
  2546. else:
  2547. if Dd_number_t is double_complex:
  2548. return NAN
  2549. else:
  2550. return NAN
  2551. cpdef double radian(double x0, double x1, double x2) nogil:
  2552. """See the documentation for scipy.special.radian"""
  2553. return _func_radian(x0, x1, x2)
  2554. cpdef double rel_entr(double x0, double x1) nogil:
  2555. """See the documentation for scipy.special.rel_entr"""
  2556. return _func_rel_entr(x0, x1)
  2557. cpdef Dd_number_t rgamma(Dd_number_t x0) nogil:
  2558. """See the documentation for scipy.special.rgamma"""
  2559. if Dd_number_t is double_complex:
  2560. return _func_crgamma(x0)
  2561. elif Dd_number_t is double:
  2562. return _func_rgamma(x0)
  2563. else:
  2564. if Dd_number_t is double_complex:
  2565. return NAN
  2566. else:
  2567. return NAN
  2568. cpdef double round(double x0) nogil:
  2569. """See the documentation for scipy.special.round"""
  2570. return _func_round(x0)
  2571. cdef void shichi(Dd_number_t x0, Dd_number_t *y0, Dd_number_t *y1) nogil:
  2572. """See the documentation for scipy.special.shichi"""
  2573. if Dd_number_t is double_complex:
  2574. _func_cshichi(x0, y0, y1)
  2575. elif Dd_number_t is double:
  2576. _func_shichi(x0, y0, y1)
  2577. else:
  2578. if Dd_number_t is double_complex:
  2579. y0[0] = NAN
  2580. y1[0] = NAN
  2581. else:
  2582. y0[0] = NAN
  2583. y1[0] = NAN
  2584. def _shichi_pywrap(Dd_number_t x0):
  2585. cdef Dd_number_t y0
  2586. cdef Dd_number_t y1
  2587. shichi(x0, &y0, &y1)
  2588. return y0, y1
  2589. cdef void sici(Dd_number_t x0, Dd_number_t *y0, Dd_number_t *y1) nogil:
  2590. """See the documentation for scipy.special.sici"""
  2591. if Dd_number_t is double_complex:
  2592. _func_csici(x0, y0, y1)
  2593. elif Dd_number_t is double:
  2594. _func_sici(x0, y0, y1)
  2595. else:
  2596. if Dd_number_t is double_complex:
  2597. y0[0] = NAN
  2598. y1[0] = NAN
  2599. else:
  2600. y0[0] = NAN
  2601. y1[0] = NAN
  2602. def _sici_pywrap(Dd_number_t x0):
  2603. cdef Dd_number_t y0
  2604. cdef Dd_number_t y1
  2605. sici(x0, &y0, &y1)
  2606. return y0, y1
  2607. cpdef double sindg(double x0) nogil:
  2608. """See the documentation for scipy.special.sindg"""
  2609. return _func_sindg(x0)
  2610. cpdef double smirnov(dl_number_t x0, double x1) nogil:
  2611. """See the documentation for scipy.special.smirnov"""
  2612. if dl_number_t is double:
  2613. return _func_smirnov_unsafe(x0, x1)
  2614. elif dl_number_t is long:
  2615. return _func_smirnov(x0, x1)
  2616. else:
  2617. return NAN
  2618. cpdef double smirnovi(dl_number_t x0, double x1) nogil:
  2619. """See the documentation for scipy.special.smirnovi"""
  2620. if dl_number_t is double:
  2621. return _func_smirnovi_unsafe(x0, x1)
  2622. elif dl_number_t is long:
  2623. return _func_smirnovi(x0, x1)
  2624. else:
  2625. return NAN
  2626. cpdef Dd_number_t spence(Dd_number_t x0) nogil:
  2627. """See the documentation for scipy.special.spence"""
  2628. if Dd_number_t is double_complex:
  2629. return _func_cspence(x0)
  2630. elif Dd_number_t is double:
  2631. return _func_spence(x0)
  2632. else:
  2633. if Dd_number_t is double_complex:
  2634. return NAN
  2635. else:
  2636. return NAN
  2637. cpdef double complex sph_harm(dl_number_t x0, dl_number_t x1, double x2, double x3) nogil:
  2638. """See the documentation for scipy.special.sph_harm"""
  2639. if dl_number_t is double:
  2640. return _func_sph_harmonic_unsafe(x0, x1, x2, x3)
  2641. elif dl_number_t is long:
  2642. return _func_sph_harmonic(x0, x1, x2, x3)
  2643. else:
  2644. return NAN
  2645. cpdef double stdtr(double x0, double x1) nogil:
  2646. """See the documentation for scipy.special.stdtr"""
  2647. return _func_cdft1_wrap(x0, x1)
  2648. cpdef double stdtridf(double x0, double x1) nogil:
  2649. """See the documentation for scipy.special.stdtridf"""
  2650. return _func_cdft3_wrap(x0, x1)
  2651. cpdef double stdtrit(double x0, double x1) nogil:
  2652. """See the documentation for scipy.special.stdtrit"""
  2653. return _func_cdft2_wrap(x0, x1)
  2654. cpdef double struve(double x0, double x1) nogil:
  2655. """See the documentation for scipy.special.struve"""
  2656. return _func_struve_h(x0, x1)
  2657. cpdef double tandg(double x0) nogil:
  2658. """See the documentation for scipy.special.tandg"""
  2659. return _func_tandg(x0)
  2660. cpdef double tklmbda(double x0, double x1) nogil:
  2661. """See the documentation for scipy.special.tklmbda"""
  2662. return _func_tukeylambdacdf(x0, x1)
  2663. cpdef double complex wofz(double complex x0) nogil:
  2664. """See the documentation for scipy.special.wofz"""
  2665. return (<double complex(*)(double complex) nogil>scipy.special._ufuncs_cxx._export_faddeeva_w)(x0)
  2666. cpdef Dd_number_t wrightomega(Dd_number_t x0) nogil:
  2667. """See the documentation for scipy.special.wrightomega"""
  2668. if Dd_number_t is double_complex:
  2669. return (<double complex(*)(double complex) nogil>scipy.special._ufuncs_cxx._export_wrightomega)(x0)
  2670. elif Dd_number_t is double:
  2671. return (<double(*)(double) nogil>scipy.special._ufuncs_cxx._export_wrightomega_real)(x0)
  2672. else:
  2673. if Dd_number_t is double_complex:
  2674. return NAN
  2675. else:
  2676. return NAN
  2677. cpdef Dd_number_t xlog1py(Dd_number_t x0, Dd_number_t x1) nogil:
  2678. """See the documentation for scipy.special.xlog1py"""
  2679. if Dd_number_t is double:
  2680. return _func_xlog1py[double](x0, x1)
  2681. elif Dd_number_t is double_complex:
  2682. return _func_xlog1py[double_complex](x0, x1)
  2683. else:
  2684. if Dd_number_t is double_complex:
  2685. return NAN
  2686. else:
  2687. return NAN
  2688. cpdef Dd_number_t xlogy(Dd_number_t x0, Dd_number_t x1) nogil:
  2689. """See the documentation for scipy.special.xlogy"""
  2690. if Dd_number_t is double:
  2691. return _func_xlogy[double](x0, x1)
  2692. elif Dd_number_t is double_complex:
  2693. return _func_xlogy[double_complex](x0, x1)
  2694. else:
  2695. if Dd_number_t is double_complex:
  2696. return NAN
  2697. else:
  2698. return NAN
  2699. cpdef double y0(double x0) nogil:
  2700. """See the documentation for scipy.special.y0"""
  2701. return _func_y0(x0)
  2702. cpdef double y1(double x0) nogil:
  2703. """See the documentation for scipy.special.y1"""
  2704. return _func_y1(x0)
  2705. cpdef double yn(dl_number_t x0, double x1) nogil:
  2706. """See the documentation for scipy.special.yn"""
  2707. if dl_number_t is double:
  2708. return _func_yn_unsafe(x0, x1)
  2709. elif dl_number_t is long:
  2710. return _func_yn(x0, x1)
  2711. else:
  2712. return NAN
  2713. cpdef Dd_number_t yv(double x0, Dd_number_t x1) nogil:
  2714. """See the documentation for scipy.special.yv"""
  2715. if Dd_number_t is double_complex:
  2716. return _complexstuff.double_complex_from_npy_cdouble(_func_cbesy_wrap(x0, _complexstuff.npy_cdouble_from_double_complex(x1)))
  2717. elif Dd_number_t is double:
  2718. return _func_cbesy_wrap_real(x0, x1)
  2719. else:
  2720. if Dd_number_t is double_complex:
  2721. return NAN
  2722. else:
  2723. return NAN
  2724. cpdef Dd_number_t yve(double x0, Dd_number_t x1) nogil:
  2725. """See the documentation for scipy.special.yve"""
  2726. if Dd_number_t is double_complex:
  2727. return _complexstuff.double_complex_from_npy_cdouble(_func_cbesy_wrap_e(x0, _complexstuff.npy_cdouble_from_double_complex(x1)))
  2728. elif Dd_number_t is double:
  2729. return _func_cbesy_wrap_e_real(x0, x1)
  2730. else:
  2731. if Dd_number_t is double_complex:
  2732. return NAN
  2733. else:
  2734. return NAN
  2735. cpdef double zetac(double x0) nogil:
  2736. """See the documentation for scipy.special.zetac"""
  2737. return _func_zetac(x0)
  2738. cpdef double wright_bessel(double x0, double x1, double x2) nogil:
  2739. """See the documentation for scipy.special.wright_bessel"""
  2740. return _func_wright_bessel_scalar(x0, x1, x2)
  2741. cpdef double ndtri_exp(double x0) nogil:
  2742. """See the documentation for scipy.special.ndtri_exp"""
  2743. return _func_ndtri_exp(x0)
  2744. def _bench_airy_d_py(int N, double x0):
  2745. cdef int n
  2746. for n in range(N):
  2747. _ufuncs.airy(x0)
  2748. def _bench_airy_d_cy(int N, double x0):
  2749. cdef int n
  2750. cdef double y0
  2751. cdef double y1
  2752. cdef double y2
  2753. cdef double y3
  2754. for n in range(N):
  2755. airy(x0, &y0, &y1, &y2, &y3)
  2756. def _bench_airy_D_py(int N, double complex x0):
  2757. cdef int n
  2758. for n in range(N):
  2759. _ufuncs.airy(x0)
  2760. def _bench_airy_D_cy(int N, double complex x0):
  2761. cdef int n
  2762. cdef double complex y0
  2763. cdef double complex y1
  2764. cdef double complex y2
  2765. cdef double complex y3
  2766. for n in range(N):
  2767. airy(x0, &y0, &y1, &y2, &y3)
  2768. def _bench_beta_dd_py(int N, double x0, double x1):
  2769. cdef int n
  2770. for n in range(N):
  2771. _ufuncs.beta(x0, x1)
  2772. def _bench_beta_dd_cy(int N, double x0, double x1):
  2773. cdef int n
  2774. for n in range(N):
  2775. beta(x0, x1)
  2776. def _bench_erf_d_py(int N, double x0):
  2777. cdef int n
  2778. for n in range(N):
  2779. _ufuncs.erf(x0)
  2780. def _bench_erf_d_cy(int N, double x0):
  2781. cdef int n
  2782. for n in range(N):
  2783. erf(x0)
  2784. def _bench_erf_D_py(int N, double complex x0):
  2785. cdef int n
  2786. for n in range(N):
  2787. _ufuncs.erf(x0)
  2788. def _bench_erf_D_cy(int N, double complex x0):
  2789. cdef int n
  2790. for n in range(N):
  2791. erf(x0)
  2792. def _bench_exprel_d_py(int N, double x0):
  2793. cdef int n
  2794. for n in range(N):
  2795. _ufuncs.exprel(x0)
  2796. def _bench_exprel_d_cy(int N, double x0):
  2797. cdef int n
  2798. for n in range(N):
  2799. exprel(x0)
  2800. def _bench_gamma_d_py(int N, double x0):
  2801. cdef int n
  2802. for n in range(N):
  2803. _ufuncs.gamma(x0)
  2804. def _bench_gamma_d_cy(int N, double x0):
  2805. cdef int n
  2806. for n in range(N):
  2807. gamma(x0)
  2808. def _bench_gamma_D_py(int N, double complex x0):
  2809. cdef int n
  2810. for n in range(N):
  2811. _ufuncs.gamma(x0)
  2812. def _bench_gamma_D_cy(int N, double complex x0):
  2813. cdef int n
  2814. for n in range(N):
  2815. gamma(x0)
  2816. def _bench_jv_dd_py(int N, double x0, double x1):
  2817. cdef int n
  2818. for n in range(N):
  2819. _ufuncs.jv(x0, x1)
  2820. def _bench_jv_dd_cy(int N, double x0, double x1):
  2821. cdef int n
  2822. for n in range(N):
  2823. jv(x0, x1)
  2824. def _bench_jv_dD_py(int N, double x0, double complex x1):
  2825. cdef int n
  2826. for n in range(N):
  2827. _ufuncs.jv(x0, x1)
  2828. def _bench_jv_dD_cy(int N, double x0, double complex x1):
  2829. cdef int n
  2830. for n in range(N):
  2831. jv(x0, x1)
  2832. def _bench_loggamma_D_py(int N, double complex x0):
  2833. cdef int n
  2834. for n in range(N):
  2835. _ufuncs.loggamma(x0)
  2836. def _bench_loggamma_D_cy(int N, double complex x0):
  2837. cdef int n
  2838. for n in range(N):
  2839. loggamma(x0)
  2840. def _bench_logit_d_py(int N, double x0):
  2841. cdef int n
  2842. for n in range(N):
  2843. _ufuncs.logit(x0)
  2844. def _bench_logit_d_cy(int N, double x0):
  2845. cdef int n
  2846. for n in range(N):
  2847. logit(x0)
  2848. def _bench_psi_d_py(int N, double x0):
  2849. cdef int n
  2850. for n in range(N):
  2851. _ufuncs.psi(x0)
  2852. def _bench_psi_d_cy(int N, double x0):
  2853. cdef int n
  2854. for n in range(N):
  2855. psi(x0)
  2856. def _bench_psi_D_py(int N, double complex x0):
  2857. cdef int n
  2858. for n in range(N):
  2859. _ufuncs.psi(x0)
  2860. def _bench_psi_D_cy(int N, double complex x0):
  2861. cdef int n
  2862. for n in range(N):
  2863. psi(x0)