@lakutata/math 0.0.0-stage → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1728) hide show
  1. package/LICENSE +23 -0
  2. package/README.md +954 -2
  3. package/README.zh-CN.md +578 -0
  4. package/THIRD_PARTY_NOTICES.md +553 -0
  5. package/binding.gyp +89 -0
  6. package/dist/cjs/exceptions/MathArgumentException.d.ts +11 -0
  7. package/dist/cjs/exceptions/MathArgumentException.js +18 -0
  8. package/dist/cjs/exceptions/MathCancelledException.d.ts +10 -0
  9. package/dist/cjs/exceptions/MathCancelledException.js +17 -0
  10. package/dist/cjs/exceptions/MathDefinitionException.d.ts +11 -0
  11. package/dist/cjs/exceptions/MathDefinitionException.js +18 -0
  12. package/dist/cjs/exceptions/MathDivisionByZeroException.d.ts +10 -0
  13. package/dist/cjs/exceptions/MathDivisionByZeroException.js +17 -0
  14. package/dist/cjs/exceptions/MathDomainException.d.ts +11 -0
  15. package/dist/cjs/exceptions/MathDomainException.js +18 -0
  16. package/dist/cjs/exceptions/MathException.d.ts +19 -0
  17. package/dist/cjs/exceptions/MathException.js +22 -0
  18. package/dist/cjs/exceptions/MathNotSupportedException.d.ts +11 -0
  19. package/dist/cjs/exceptions/MathNotSupportedException.js +18 -0
  20. package/dist/cjs/exceptions/MathSyntaxException.d.ts +11 -0
  21. package/dist/cjs/exceptions/MathSyntaxException.js +18 -0
  22. package/dist/cjs/exceptions/MathTimeoutException.d.ts +10 -0
  23. package/dist/cjs/exceptions/MathTimeoutException.js +17 -0
  24. package/dist/cjs/exceptions/MathUnitException.d.ts +11 -0
  25. package/dist/cjs/exceptions/MathUnitException.js +18 -0
  26. package/dist/cjs/exceptions/MathUnknownFunctionException.d.ts +12 -0
  27. package/dist/cjs/exceptions/MathUnknownFunctionException.js +19 -0
  28. package/dist/cjs/exports/Math.d.ts +28 -0
  29. package/dist/cjs/exports/Math.js +84 -0
  30. package/dist/cjs/lib/Addon.d.ts +5 -0
  31. package/dist/cjs/lib/Addon.js +9 -0
  32. package/dist/cjs/lib/Context.d.ts +90 -0
  33. package/dist/cjs/lib/Context.js +134 -0
  34. package/dist/cjs/lib/Decimal.d.ts +276 -0
  35. package/dist/cjs/lib/Decimal.js +402 -0
  36. package/dist/cjs/lib/Defaults.d.ts +273 -0
  37. package/dist/cjs/lib/Defaults.js +308 -0
  38. package/dist/cjs/lib/Distribution.d.ts +177 -0
  39. package/dist/cjs/lib/Distribution.js +196 -0
  40. package/dist/cjs/lib/Expression.d.ts +791 -0
  41. package/dist/cjs/lib/Expression.js +991 -0
  42. package/dist/cjs/lib/ExpressionMatrix.d.ts +284 -0
  43. package/dist/cjs/lib/ExpressionMatrix.js +412 -0
  44. package/dist/cjs/lib/LinearAlgebra.d.ts +613 -0
  45. package/dist/cjs/lib/LinearAlgebra.js +712 -0
  46. package/dist/cjs/lib/MathScope.d.ts +268 -0
  47. package/dist/cjs/lib/MathScope.js +316 -0
  48. package/dist/cjs/lib/MathSet.d.ts +139 -0
  49. package/dist/cjs/lib/MathSet.js +376 -0
  50. package/dist/cjs/lib/Matrix.d.ts +212 -0
  51. package/dist/cjs/lib/Matrix.js +393 -0
  52. package/dist/cjs/lib/Native.d.ts +80 -0
  53. package/dist/cjs/lib/Native.js +61 -0
  54. package/dist/cjs/lib/NumberTheory.d.ts +356 -0
  55. package/dist/cjs/lib/NumberTheory.js +524 -0
  56. package/dist/cjs/lib/Numeric.d.ts +363 -0
  57. package/dist/cjs/lib/Numeric.js +243 -0
  58. package/dist/cjs/lib/Polynomials.d.ts +140 -0
  59. package/dist/cjs/lib/Polynomials.js +167 -0
  60. package/dist/cjs/lib/SparseMatrix.d.ts +125 -0
  61. package/dist/cjs/lib/SparseMatrix.js +341 -0
  62. package/dist/cjs/lib/Statistics.d.ts +366 -0
  63. package/dist/cjs/lib/Statistics.js +380 -0
  64. package/dist/cjs/lib/Unit.d.ts +342 -0
  65. package/dist/cjs/lib/Unit.js +1027 -0
  66. package/dist/cjs/lib/UnitTable.d.ts +39 -0
  67. package/dist/cjs/lib/UnitTable.js +634 -0
  68. package/dist/cjs/package.json +1 -0
  69. package/dist/esm/exceptions/MathArgumentException.js +14 -0
  70. package/dist/esm/exceptions/MathCancelledException.js +13 -0
  71. package/dist/esm/exceptions/MathDefinitionException.js +14 -0
  72. package/dist/esm/exceptions/MathDivisionByZeroException.js +13 -0
  73. package/dist/esm/exceptions/MathDomainException.js +14 -0
  74. package/dist/esm/exceptions/MathException.js +18 -0
  75. package/dist/esm/exceptions/MathNotSupportedException.js +14 -0
  76. package/dist/esm/exceptions/MathSyntaxException.js +14 -0
  77. package/dist/esm/exceptions/MathTimeoutException.js +13 -0
  78. package/dist/esm/exceptions/MathUnitException.js +14 -0
  79. package/dist/esm/exceptions/MathUnknownFunctionException.js +15 -0
  80. package/dist/esm/exports/Math.js +26 -0
  81. package/dist/esm/lib/Addon.js +10 -0
  82. package/dist/esm/lib/Context.js +128 -0
  83. package/dist/esm/lib/Decimal.js +397 -0
  84. package/dist/esm/lib/Defaults.js +290 -0
  85. package/dist/esm/lib/Distribution.js +191 -0
  86. package/dist/esm/lib/Expression.js +979 -0
  87. package/dist/esm/lib/ExpressionMatrix.js +407 -0
  88. package/dist/esm/lib/LinearAlgebra.js +708 -0
  89. package/dist/esm/lib/MathScope.js +311 -0
  90. package/dist/esm/lib/MathSet.js +370 -0
  91. package/dist/esm/lib/Matrix.js +382 -0
  92. package/dist/esm/lib/Native.js +56 -0
  93. package/dist/esm/lib/NumberTheory.js +520 -0
  94. package/dist/esm/lib/Numeric.js +239 -0
  95. package/dist/esm/lib/Polynomials.js +163 -0
  96. package/dist/esm/lib/SparseMatrix.js +332 -0
  97. package/dist/esm/lib/Statistics.js +376 -0
  98. package/dist/esm/lib/Unit.js +1018 -0
  99. package/dist/esm/lib/UnitTable.js +631 -0
  100. package/dist/types/exceptions/MathArgumentException.d.ts +11 -0
  101. package/dist/types/exceptions/MathCancelledException.d.ts +10 -0
  102. package/dist/types/exceptions/MathDefinitionException.d.ts +11 -0
  103. package/dist/types/exceptions/MathDivisionByZeroException.d.ts +10 -0
  104. package/dist/types/exceptions/MathDomainException.d.ts +11 -0
  105. package/dist/types/exceptions/MathException.d.ts +19 -0
  106. package/dist/types/exceptions/MathNotSupportedException.d.ts +11 -0
  107. package/dist/types/exceptions/MathSyntaxException.d.ts +11 -0
  108. package/dist/types/exceptions/MathTimeoutException.d.ts +10 -0
  109. package/dist/types/exceptions/MathUnitException.d.ts +11 -0
  110. package/dist/types/exceptions/MathUnknownFunctionException.d.ts +12 -0
  111. package/dist/types/exports/Math.d.ts +28 -0
  112. package/dist/types/lib/Addon.d.ts +5 -0
  113. package/dist/types/lib/Context.d.ts +90 -0
  114. package/dist/types/lib/Decimal.d.ts +276 -0
  115. package/dist/types/lib/Defaults.d.ts +273 -0
  116. package/dist/types/lib/Distribution.d.ts +177 -0
  117. package/dist/types/lib/Expression.d.ts +791 -0
  118. package/dist/types/lib/ExpressionMatrix.d.ts +284 -0
  119. package/dist/types/lib/LinearAlgebra.d.ts +613 -0
  120. package/dist/types/lib/MathScope.d.ts +268 -0
  121. package/dist/types/lib/MathSet.d.ts +139 -0
  122. package/dist/types/lib/Matrix.d.ts +212 -0
  123. package/dist/types/lib/Native.d.ts +80 -0
  124. package/dist/types/lib/NumberTheory.d.ts +356 -0
  125. package/dist/types/lib/Numeric.d.ts +363 -0
  126. package/dist/types/lib/Polynomials.d.ts +140 -0
  127. package/dist/types/lib/SparseMatrix.d.ts +125 -0
  128. package/dist/types/lib/Statistics.d.ts +366 -0
  129. package/dist/types/lib/Unit.d.ts +342 -0
  130. package/dist/types/lib/UnitTable.d.ts +39 -0
  131. package/native/addon.cpp +1374 -0
  132. package/native/async/Pool.cpp +133 -0
  133. package/native/async/Pool.h +59 -0
  134. package/native/config/boost_math_policy.h +26 -0
  135. package/native/config/mpdecimal/mpdecimal.h +809 -0
  136. package/native/config/symengine/symengine_config.h +44 -0
  137. package/native/config/symengine/symengine_export.h +19 -0
  138. package/native/core/Errors.cpp +77 -0
  139. package/native/core/Errors.h +72 -0
  140. package/native/core/Handle.cpp +109 -0
  141. package/native/core/Handle.h +72 -0
  142. package/native/core/Scope.cpp +122 -0
  143. package/native/core/Scope.h +36 -0
  144. package/native/functions/Functions.cpp +468 -0
  145. package/native/functions/Functions.h +115 -0
  146. package/native/functions/Gosper.cpp +429 -0
  147. package/native/functions/Gosper.h +20 -0
  148. package/native/functions/SpecialIntegrals.cpp +329 -0
  149. package/native/functions/SpecialIntegrals.h +53 -0
  150. package/native/functions/Summation.cpp +645 -0
  151. package/native/functions/Summation.h +42 -0
  152. package/native/integrals/Integrals.cpp +1428 -0
  153. package/native/integrals/Integrals.h +32 -0
  154. package/native/limits/Gruntz.cpp +1332 -0
  155. package/native/limits/Gruntz.h +24 -0
  156. package/native/linalg/Decompositions.cpp +159 -0
  157. package/native/linalg/Functions.cpp +199 -0
  158. package/native/linalg/Linalg.cpp +123 -0
  159. package/native/linalg/Linalg.h +67 -0
  160. package/native/linalg/LinalgSupport.h +69 -0
  161. package/native/linalg/Sparse.cpp +172 -0
  162. package/native/matrix/Matrices.cpp +766 -0
  163. package/native/matrix/Matrices.h +74 -0
  164. package/native/ntheory/NumberTheory.cpp +754 -0
  165. package/native/ntheory/NumberTheory.h +56 -0
  166. package/native/numeric/Compiled.cpp +93 -0
  167. package/native/numeric/Compiled.h +49 -0
  168. package/native/numeric/Integrate.cpp +718 -0
  169. package/native/numeric/Numeric.h +95 -0
  170. package/native/numeric/ODE.cpp +542 -0
  171. package/native/numeric/Roots.cpp +402 -0
  172. package/native/ops/Decimal.cpp +776 -0
  173. package/native/ops/Decimal.h +182 -0
  174. package/native/ops/DecimalComplex.cpp +738 -0
  175. package/native/ops/DecimalEvaluator.h +79 -0
  176. package/native/ops/DecimalFunctions.cpp +439 -0
  177. package/native/ops/DecimalOperations.cpp +236 -0
  178. package/native/ops/DecimalSpecial.cpp +1028 -0
  179. package/native/ops/DecimalSupport.h +109 -0
  180. package/native/ops/Operations.cpp +969 -0
  181. package/native/ops/Operations.h +120 -0
  182. package/native/ops/Piecewise.cpp +195 -0
  183. package/native/ops/Piecewise.h +40 -0
  184. package/native/parser/Parser.cpp +853 -0
  185. package/native/parser/Parser.h +56 -0
  186. package/native/poly/Convert.cpp +210 -0
  187. package/native/poly/Convert.h +40 -0
  188. package/native/poly/Dense.cpp +1008 -0
  189. package/native/poly/Dense.h +136 -0
  190. package/native/poly/Euclid.cpp +446 -0
  191. package/native/poly/Euclid.h +44 -0
  192. package/native/poly/Factor.cpp +919 -0
  193. package/native/poly/Factor.h +36 -0
  194. package/native/poly/Galois.cpp +439 -0
  195. package/native/poly/Galois.h +86 -0
  196. package/native/poly/Inequalities.cpp +227 -0
  197. package/native/poly/Inequalities.h +21 -0
  198. package/native/poly/Poly.cpp +338 -0
  199. package/native/poly/Poly.h +46 -0
  200. package/native/poly/Rational.cpp +403 -0
  201. package/native/poly/Rational.h +33 -0
  202. package/native/poly/RealRoots.cpp +136 -0
  203. package/native/poly/RealRoots.h +35 -0
  204. package/native/printer/Printer.cpp +973 -0
  205. package/native/printer/Printer.h +23 -0
  206. package/native/simplify/Simplify.cpp +921 -0
  207. package/native/simplify/Simplify.h +21 -0
  208. package/native/stats/Distributions.cpp +392 -0
  209. package/native/stats/Distributions.h +33 -0
  210. package/native/stats/Statistics.cpp +255 -0
  211. package/native/stats/Statistics.h +25 -0
  212. package/package.json +85 -4
  213. package/scripts/sources.mjs +35 -0
  214. package/vendor/PATCHES.md +169 -0
  215. package/vendor/boost/config/README.md +43 -0
  216. package/vendor/boost/config/include/boost/config/abi/borland_prefix.hpp +27 -0
  217. package/vendor/boost/config/include/boost/config/abi/borland_suffix.hpp +12 -0
  218. package/vendor/boost/config/include/boost/config/abi/msvc_prefix.hpp +22 -0
  219. package/vendor/boost/config/include/boost/config/abi/msvc_suffix.hpp +8 -0
  220. package/vendor/boost/config/include/boost/config/abi_prefix.hpp +25 -0
  221. package/vendor/boost/config/include/boost/config/abi_suffix.hpp +25 -0
  222. package/vendor/boost/config/include/boost/config/assert_cxx03.hpp +211 -0
  223. package/vendor/boost/config/include/boost/config/assert_cxx11.hpp +212 -0
  224. package/vendor/boost/config/include/boost/config/assert_cxx14.hpp +47 -0
  225. package/vendor/boost/config/include/boost/config/assert_cxx17.hpp +65 -0
  226. package/vendor/boost/config/include/boost/config/assert_cxx20.hpp +59 -0
  227. package/vendor/boost/config/include/boost/config/assert_cxx23.hpp +41 -0
  228. package/vendor/boost/config/include/boost/config/assert_cxx98.hpp +23 -0
  229. package/vendor/boost/config/include/boost/config/auto_link.hpp +530 -0
  230. package/vendor/boost/config/include/boost/config/compiler/borland.hpp +342 -0
  231. package/vendor/boost/config/include/boost/config/compiler/clang.hpp +370 -0
  232. package/vendor/boost/config/include/boost/config/compiler/clang_version.hpp +98 -0
  233. package/vendor/boost/config/include/boost/config/compiler/codegear.hpp +389 -0
  234. package/vendor/boost/config/include/boost/config/compiler/comeau.hpp +59 -0
  235. package/vendor/boost/config/include/boost/config/compiler/common_edg.hpp +185 -0
  236. package/vendor/boost/config/include/boost/config/compiler/compaq_cxx.hpp +19 -0
  237. package/vendor/boost/config/include/boost/config/compiler/cray.hpp +446 -0
  238. package/vendor/boost/config/include/boost/config/compiler/diab.hpp +26 -0
  239. package/vendor/boost/config/include/boost/config/compiler/digitalmars.hpp +146 -0
  240. package/vendor/boost/config/include/boost/config/compiler/gcc.hpp +386 -0
  241. package/vendor/boost/config/include/boost/config/compiler/gcc_xml.hpp +115 -0
  242. package/vendor/boost/config/include/boost/config/compiler/greenhills.hpp +28 -0
  243. package/vendor/boost/config/include/boost/config/compiler/hp_acc.hpp +153 -0
  244. package/vendor/boost/config/include/boost/config/compiler/intel.hpp +577 -0
  245. package/vendor/boost/config/include/boost/config/compiler/kai.hpp +33 -0
  246. package/vendor/boost/config/include/boost/config/compiler/metrowerks.hpp +201 -0
  247. package/vendor/boost/config/include/boost/config/compiler/mpw.hpp +143 -0
  248. package/vendor/boost/config/include/boost/config/compiler/nvcc.hpp +64 -0
  249. package/vendor/boost/config/include/boost/config/compiler/pathscale.hpp +141 -0
  250. package/vendor/boost/config/include/boost/config/compiler/pgi.hpp +23 -0
  251. package/vendor/boost/config/include/boost/config/compiler/sgi_mipspro.hpp +29 -0
  252. package/vendor/boost/config/include/boost/config/compiler/sunpro_cc.hpp +225 -0
  253. package/vendor/boost/config/include/boost/config/compiler/vacpp.hpp +189 -0
  254. package/vendor/boost/config/include/boost/config/compiler/visualc.hpp +400 -0
  255. package/vendor/boost/config/include/boost/config/compiler/xlcpp.hpp +303 -0
  256. package/vendor/boost/config/include/boost/config/compiler/xlcpp_zos.hpp +174 -0
  257. package/vendor/boost/config/include/boost/config/detail/cxx_composite.hpp +218 -0
  258. package/vendor/boost/config/include/boost/config/detail/posix_features.hpp +95 -0
  259. package/vendor/boost/config/include/boost/config/detail/select_compiler_config.hpp +157 -0
  260. package/vendor/boost/config/include/boost/config/detail/select_platform_config.hpp +147 -0
  261. package/vendor/boost/config/include/boost/config/detail/select_stdlib_config.hpp +121 -0
  262. package/vendor/boost/config/include/boost/config/detail/suffix.hpp +1334 -0
  263. package/vendor/boost/config/include/boost/config/header_deprecated.hpp +26 -0
  264. package/vendor/boost/config/include/boost/config/helper_macros.hpp +37 -0
  265. package/vendor/boost/config/include/boost/config/no_tr1/cmath.hpp +28 -0
  266. package/vendor/boost/config/include/boost/config/no_tr1/complex.hpp +28 -0
  267. package/vendor/boost/config/include/boost/config/no_tr1/functional.hpp +28 -0
  268. package/vendor/boost/config/include/boost/config/no_tr1/memory.hpp +28 -0
  269. package/vendor/boost/config/include/boost/config/no_tr1/utility.hpp +28 -0
  270. package/vendor/boost/config/include/boost/config/platform/aix.hpp +33 -0
  271. package/vendor/boost/config/include/boost/config/platform/amigaos.hpp +15 -0
  272. package/vendor/boost/config/include/boost/config/platform/beos.hpp +26 -0
  273. package/vendor/boost/config/include/boost/config/platform/bsd.hpp +83 -0
  274. package/vendor/boost/config/include/boost/config/platform/cloudabi.hpp +18 -0
  275. package/vendor/boost/config/include/boost/config/platform/cray.hpp +18 -0
  276. package/vendor/boost/config/include/boost/config/platform/cygwin.hpp +71 -0
  277. package/vendor/boost/config/include/boost/config/platform/haiku.hpp +31 -0
  278. package/vendor/boost/config/include/boost/config/platform/hpux.hpp +87 -0
  279. package/vendor/boost/config/include/boost/config/platform/irix.hpp +31 -0
  280. package/vendor/boost/config/include/boost/config/platform/linux.hpp +106 -0
  281. package/vendor/boost/config/include/boost/config/platform/macos.hpp +87 -0
  282. package/vendor/boost/config/include/boost/config/platform/qnxnto.hpp +31 -0
  283. package/vendor/boost/config/include/boost/config/platform/solaris.hpp +31 -0
  284. package/vendor/boost/config/include/boost/config/platform/symbian.hpp +97 -0
  285. package/vendor/boost/config/include/boost/config/platform/vms.hpp +25 -0
  286. package/vendor/boost/config/include/boost/config/platform/vxworks.hpp +422 -0
  287. package/vendor/boost/config/include/boost/config/platform/wasm.hpp +23 -0
  288. package/vendor/boost/config/include/boost/config/platform/win32.hpp +90 -0
  289. package/vendor/boost/config/include/boost/config/platform/zos.hpp +32 -0
  290. package/vendor/boost/config/include/boost/config/pragma_message.hpp +31 -0
  291. package/vendor/boost/config/include/boost/config/requires_threads.hpp +92 -0
  292. package/vendor/boost/config/include/boost/config/stdlib/dinkumware.hpp +324 -0
  293. package/vendor/boost/config/include/boost/config/stdlib/libcomo.hpp +93 -0
  294. package/vendor/boost/config/include/boost/config/stdlib/libcpp.hpp +185 -0
  295. package/vendor/boost/config/include/boost/config/stdlib/libstdcpp3.hpp +482 -0
  296. package/vendor/boost/config/include/boost/config/stdlib/modena.hpp +79 -0
  297. package/vendor/boost/config/include/boost/config/stdlib/msl.hpp +98 -0
  298. package/vendor/boost/config/include/boost/config/stdlib/roguewave.hpp +208 -0
  299. package/vendor/boost/config/include/boost/config/stdlib/sgi.hpp +168 -0
  300. package/vendor/boost/config/include/boost/config/stdlib/stlport.hpp +258 -0
  301. package/vendor/boost/config/include/boost/config/stdlib/vacpp.hpp +74 -0
  302. package/vendor/boost/config/include/boost/config/stdlib/xlcpp_zos.hpp +61 -0
  303. package/vendor/boost/config/include/boost/config/user.hpp +133 -0
  304. package/vendor/boost/config/include/boost/config/warning_disable.hpp +47 -0
  305. package/vendor/boost/config/include/boost/config/workaround.hpp +310 -0
  306. package/vendor/boost/config/include/boost/config.hpp +67 -0
  307. package/vendor/boost/config/include/boost/cstdint.hpp +556 -0
  308. package/vendor/boost/config/include/boost/cxx11_char_types.hpp +70 -0
  309. package/vendor/boost/config/include/boost/detail/workaround.hpp +10 -0
  310. package/vendor/boost/config/include/boost/limits.hpp +146 -0
  311. package/vendor/boost/config/include/boost/static_assert.hpp +179 -0
  312. package/vendor/boost/config/include/boost/version.hpp +32 -0
  313. package/vendor/boost/math/LICENSE +23 -0
  314. package/vendor/boost/math/README.md +184 -0
  315. package/vendor/boost/math/include/boost/cstdfloat.hpp +58 -0
  316. package/vendor/boost/math/include/boost/math/bindings/detail/big_digamma.hpp +297 -0
  317. package/vendor/boost/math/include/boost/math/bindings/detail/big_lanczos.hpp +777 -0
  318. package/vendor/boost/math/include/boost/math/bindings/mpfr.hpp +974 -0
  319. package/vendor/boost/math/include/boost/math/bindings/mpreal.hpp +921 -0
  320. package/vendor/boost/math/include/boost/math/bindings/rr.hpp +876 -0
  321. package/vendor/boost/math/include/boost/math/ccmath/abs.hpp +89 -0
  322. package/vendor/boost/math/include/boost/math/ccmath/ccmath.hpp +45 -0
  323. package/vendor/boost/math/include/boost/math/ccmath/ceil.hpp +78 -0
  324. package/vendor/boost/math/include/boost/math/ccmath/copysign.hpp +81 -0
  325. package/vendor/boost/math/include/boost/math/ccmath/detail/config.hpp +52 -0
  326. package/vendor/boost/math/include/boost/math/ccmath/detail/swap.hpp +21 -0
  327. package/vendor/boost/math/include/boost/math/ccmath/div.hpp +86 -0
  328. package/vendor/boost/math/include/boost/math/ccmath/fabs.hpp +41 -0
  329. package/vendor/boost/math/include/boost/math/ccmath/fdim.hpp +93 -0
  330. package/vendor/boost/math/include/boost/math/ccmath/floor.hpp +131 -0
  331. package/vendor/boost/math/include/boost/math/ccmath/fma.hpp +130 -0
  332. package/vendor/boost/math/include/boost/math/ccmath/fmax.hpp +89 -0
  333. package/vendor/boost/math/include/boost/math/ccmath/fmin.hpp +89 -0
  334. package/vendor/boost/math/include/boost/math/ccmath/fmod.hpp +114 -0
  335. package/vendor/boost/math/include/boost/math/ccmath/fpclassify.hpp +48 -0
  336. package/vendor/boost/math/include/boost/math/ccmath/frexp.hpp +101 -0
  337. package/vendor/boost/math/include/boost/math/ccmath/hypot.hpp +116 -0
  338. package/vendor/boost/math/include/boost/math/ccmath/ilogb.hpp +60 -0
  339. package/vendor/boost/math/include/boost/math/ccmath/isfinite.hpp +53 -0
  340. package/vendor/boost/math/include/boost/math/ccmath/isgreater.hpp +42 -0
  341. package/vendor/boost/math/include/boost/math/ccmath/isgreaterequal.hpp +42 -0
  342. package/vendor/boost/math/include/boost/math/ccmath/isinf.hpp +61 -0
  343. package/vendor/boost/math/include/boost/math/ccmath/isless.hpp +42 -0
  344. package/vendor/boost/math/include/boost/math/ccmath/islessequal.hpp +42 -0
  345. package/vendor/boost/math/include/boost/math/ccmath/isnan.hpp +42 -0
  346. package/vendor/boost/math/include/boost/math/ccmath/isnormal.hpp +47 -0
  347. package/vendor/boost/math/include/boost/math/ccmath/isunordered.hpp +35 -0
  348. package/vendor/boost/math/include/boost/math/ccmath/ldexp.hpp +81 -0
  349. package/vendor/boost/math/include/boost/math/ccmath/logb.hpp +86 -0
  350. package/vendor/boost/math/include/boost/math/ccmath/modf.hpp +79 -0
  351. package/vendor/boost/math/include/boost/math/ccmath/next.hpp +458 -0
  352. package/vendor/boost/math/include/boost/math/ccmath/remainder.hpp +106 -0
  353. package/vendor/boost/math/include/boost/math/ccmath/round.hpp +179 -0
  354. package/vendor/boost/math/include/boost/math/ccmath/scalbln.hpp +60 -0
  355. package/vendor/boost/math/include/boost/math/ccmath/scalbn.hpp +81 -0
  356. package/vendor/boost/math/include/boost/math/ccmath/signbit.hpp +218 -0
  357. package/vendor/boost/math/include/boost/math/ccmath/sqrt.hpp +80 -0
  358. package/vendor/boost/math/include/boost/math/ccmath/trunc.hpp +70 -0
  359. package/vendor/boost/math/include/boost/math/common_factor.hpp +23 -0
  360. package/vendor/boost/math/include/boost/math/common_factor_ct.hpp +34 -0
  361. package/vendor/boost/math/include/boost/math/common_factor_rt.hpp +30 -0
  362. package/vendor/boost/math/include/boost/math/complex/acos.hpp +245 -0
  363. package/vendor/boost/math/include/boost/math/complex/acosh.hpp +34 -0
  364. package/vendor/boost/math/include/boost/math/complex/asin.hpp +252 -0
  365. package/vendor/boost/math/include/boost/math/complex/asinh.hpp +32 -0
  366. package/vendor/boost/math/include/boost/math/complex/atan.hpp +36 -0
  367. package/vendor/boost/math/include/boost/math/complex/atanh.hpp +214 -0
  368. package/vendor/boost/math/include/boost/math/complex/details.hpp +68 -0
  369. package/vendor/boost/math/include/boost/math/complex/fabs.hpp +23 -0
  370. package/vendor/boost/math/include/boost/math/complex.hpp +32 -0
  371. package/vendor/boost/math/include/boost/math/concepts/distributions.hpp +497 -0
  372. package/vendor/boost/math/include/boost/math/concepts/real_concept.hpp +400 -0
  373. package/vendor/boost/math/include/boost/math/concepts/real_type_concept.hpp +119 -0
  374. package/vendor/boost/math/include/boost/math/concepts/std_real_concept.hpp +427 -0
  375. package/vendor/boost/math/include/boost/math/constants/calculate_constants.hpp +1117 -0
  376. package/vendor/boost/math/include/boost/math/constants/constants.hpp +360 -0
  377. package/vendor/boost/math/include/boost/math/constants/info.hpp +169 -0
  378. package/vendor/boost/math/include/boost/math/cstdfloat/cstdfloat_cmath.hpp +1012 -0
  379. package/vendor/boost/math/include/boost/math/cstdfloat/cstdfloat_complex.hpp +38 -0
  380. package/vendor/boost/math/include/boost/math/cstdfloat/cstdfloat_complex_std.hpp +813 -0
  381. package/vendor/boost/math/include/boost/math/cstdfloat/cstdfloat_iostream.hpp +822 -0
  382. package/vendor/boost/math/include/boost/math/cstdfloat/cstdfloat_limits.hpp +87 -0
  383. package/vendor/boost/math/include/boost/math/cstdfloat/cstdfloat_types.hpp +441 -0
  384. package/vendor/boost/math/include/boost/math/differentiation/autodiff.hpp +2061 -0
  385. package/vendor/boost/math/include/boost/math/differentiation/autodiff_cpp11.hpp +387 -0
  386. package/vendor/boost/math/include/boost/math/differentiation/autodiff_reverse.hpp +811 -0
  387. package/vendor/boost/math/include/boost/math/differentiation/detail/reverse_mode_autodiff_basic_operator_expressions.hpp +276 -0
  388. package/vendor/boost/math/include/boost/math/differentiation/detail/reverse_mode_autodiff_basic_ops_et.hpp +160 -0
  389. package/vendor/boost/math/include/boost/math/differentiation/detail/reverse_mode_autodiff_basic_ops_no_et.hpp +154 -0
  390. package/vendor/boost/math/include/boost/math/differentiation/detail/reverse_mode_autodiff_comparison_operator_overloads.hpp +167 -0
  391. package/vendor/boost/math/include/boost/math/differentiation/detail/reverse_mode_autodiff_erf_overloads.hpp +234 -0
  392. package/vendor/boost/math/include/boost/math/differentiation/detail/reverse_mode_autodiff_expression_template_base.hpp +258 -0
  393. package/vendor/boost/math/include/boost/math/differentiation/detail/reverse_mode_autodiff_helper_functions.hpp +18 -0
  394. package/vendor/boost/math/include/boost/math/differentiation/detail/reverse_mode_autodiff_memory_management.hpp +462 -0
  395. package/vendor/boost/math/include/boost/math/differentiation/detail/reverse_mode_autodiff_stl_et.hpp +275 -0
  396. package/vendor/boost/math/include/boost/math/differentiation/detail/reverse_mode_autodiff_stl_expressions.hpp +852 -0
  397. package/vendor/boost/math/include/boost/math/differentiation/detail/reverse_mode_autodiff_stl_no_et.hpp +266 -0
  398. package/vendor/boost/math/include/boost/math/differentiation/detail/reverse_mode_autodiff_utilities.hpp +51 -0
  399. package/vendor/boost/math/include/boost/math/differentiation/finite_difference.hpp +266 -0
  400. package/vendor/boost/math/include/boost/math/differentiation/lanczos_smoothing.hpp +591 -0
  401. package/vendor/boost/math/include/boost/math/distributions/arcsine.hpp +593 -0
  402. package/vendor/boost/math/include/boost/math/distributions/bernoulli.hpp +349 -0
  403. package/vendor/boost/math/include/boost/math/distributions/beta.hpp +584 -0
  404. package/vendor/boost/math/include/boost/math/distributions/binomial.hpp +729 -0
  405. package/vendor/boost/math/include/boost/math/distributions/cauchy.hpp +379 -0
  406. package/vendor/boost/math/include/boost/math/distributions/chi_squared.hpp +345 -0
  407. package/vendor/boost/math/include/boost/math/distributions/complement.hpp +198 -0
  408. package/vendor/boost/math/include/boost/math/distributions/detail/common_error_handling.hpp +228 -0
  409. package/vendor/boost/math/include/boost/math/distributions/detail/derived_accessors.hpp +190 -0
  410. package/vendor/boost/math/include/boost/math/distributions/detail/generic_mode.hpp +145 -0
  411. package/vendor/boost/math/include/boost/math/distributions/detail/generic_quantile.hpp +100 -0
  412. package/vendor/boost/math/include/boost/math/distributions/detail/hypergeometric_cdf.hpp +101 -0
  413. package/vendor/boost/math/include/boost/math/distributions/detail/hypergeometric_pdf.hpp +490 -0
  414. package/vendor/boost/math/include/boost/math/distributions/detail/hypergeometric_quantile.hpp +245 -0
  415. package/vendor/boost/math/include/boost/math/distributions/detail/inv_discrete_quantile.hpp +583 -0
  416. package/vendor/boost/math/include/boost/math/distributions/empirical_cumulative_distribution_function.hpp +73 -0
  417. package/vendor/boost/math/include/boost/math/distributions/exponential.hpp +352 -0
  418. package/vendor/boost/math/include/boost/math/distributions/extreme_value.hpp +388 -0
  419. package/vendor/boost/math/include/boost/math/distributions/find_location.hpp +141 -0
  420. package/vendor/boost/math/include/boost/math/distributions/find_scale.hpp +200 -0
  421. package/vendor/boost/math/include/boost/math/distributions/fisher_f.hpp +393 -0
  422. package/vendor/boost/math/include/boost/math/distributions/fwd.hpp +171 -0
  423. package/vendor/boost/math/include/boost/math/distributions/gamma.hpp +396 -0
  424. package/vendor/boost/math/include/boost/math/distributions/geometric.hpp +571 -0
  425. package/vendor/boost/math/include/boost/math/distributions/holtsmark.hpp +2518 -0
  426. package/vendor/boost/math/include/boost/math/distributions/hyperexponential.hpp +641 -0
  427. package/vendor/boost/math/include/boost/math/distributions/hypergeometric.hpp +313 -0
  428. package/vendor/boost/math/include/boost/math/distributions/inverse_chi_squared.hpp +398 -0
  429. package/vendor/boost/math/include/boost/math/distributions/inverse_gamma.hpp +504 -0
  430. package/vendor/boost/math/include/boost/math/distributions/inverse_gaussian.hpp +566 -0
  431. package/vendor/boost/math/include/boost/math/distributions/kolmogorov_smirnov.hpp +511 -0
  432. package/vendor/boost/math/include/boost/math/distributions/landau.hpp +4642 -0
  433. package/vendor/boost/math/include/boost/math/distributions/laplace.hpp +494 -0
  434. package/vendor/boost/math/include/boost/math/distributions/logistic.hpp +377 -0
  435. package/vendor/boost/math/include/boost/math/distributions/lognormal.hpp +361 -0
  436. package/vendor/boost/math/include/boost/math/distributions/mapairy.hpp +4220 -0
  437. package/vendor/boost/math/include/boost/math/distributions/negative_binomial.hpp +609 -0
  438. package/vendor/boost/math/include/boost/math/distributions/non_central_beta.hpp +981 -0
  439. package/vendor/boost/math/include/boost/math/distributions/non_central_chi_squared.hpp +998 -0
  440. package/vendor/boost/math/include/boost/math/distributions/non_central_f.hpp +712 -0
  441. package/vendor/boost/math/include/boost/math/distributions/non_central_t.hpp +1324 -0
  442. package/vendor/boost/math/include/boost/math/distributions/normal.hpp +368 -0
  443. package/vendor/boost/math/include/boost/math/distributions/pareto.hpp +508 -0
  444. package/vendor/boost/math/include/boost/math/distributions/poisson.hpp +563 -0
  445. package/vendor/boost/math/include/boost/math/distributions/rayleigh.hpp +381 -0
  446. package/vendor/boost/math/include/boost/math/distributions/saspoint5.hpp +2796 -0
  447. package/vendor/boost/math/include/boost/math/distributions/skew_normal.hpp +760 -0
  448. package/vendor/boost/math/include/boost/math/distributions/students_t.hpp +721 -0
  449. package/vendor/boost/math/include/boost/math/distributions/triangular.hpp +548 -0
  450. package/vendor/boost/math/include/boost/math/distributions/uniform.hpp +398 -0
  451. package/vendor/boost/math/include/boost/math/distributions/weibull.hpp +487 -0
  452. package/vendor/boost/math/include/boost/math/distributions.hpp +58 -0
  453. package/vendor/boost/math/include/boost/math/filters/daubechies.hpp +99 -0
  454. package/vendor/boost/math/include/boost/math/interpolators/barycentric_rational.hpp +99 -0
  455. package/vendor/boost/math/include/boost/math/interpolators/bezier_polynomial.hpp +60 -0
  456. package/vendor/boost/math/include/boost/math/interpolators/bilinear_uniform.hpp +54 -0
  457. package/vendor/boost/math/include/boost/math/interpolators/cardinal_cubic_b_spline.hpp +87 -0
  458. package/vendor/boost/math/include/boost/math/interpolators/cardinal_quadratic_b_spline.hpp +57 -0
  459. package/vendor/boost/math/include/boost/math/interpolators/cardinal_quintic_b_spline.hpp +62 -0
  460. package/vendor/boost/math/include/boost/math/interpolators/cardinal_trigonometric.hpp +58 -0
  461. package/vendor/boost/math/include/boost/math/interpolators/catmull_rom.hpp +310 -0
  462. package/vendor/boost/math/include/boost/math/interpolators/cubic_b_spline.hpp +90 -0
  463. package/vendor/boost/math/include/boost/math/interpolators/cubic_hermite.hpp +142 -0
  464. package/vendor/boost/math/include/boost/math/interpolators/detail/barycentric_rational_detail.hpp +215 -0
  465. package/vendor/boost/math/include/boost/math/interpolators/detail/bezier_polynomial_detail.hpp +167 -0
  466. package/vendor/boost/math/include/boost/math/interpolators/detail/bilinear_uniform_detail.hpp +137 -0
  467. package/vendor/boost/math/include/boost/math/interpolators/detail/cardinal_cubic_b_spline_detail.hpp +331 -0
  468. package/vendor/boost/math/include/boost/math/interpolators/detail/cardinal_quadratic_b_spline_detail.hpp +208 -0
  469. package/vendor/boost/math/include/boost/math/interpolators/detail/cardinal_quintic_b_spline_detail.hpp +241 -0
  470. package/vendor/boost/math/include/boost/math/interpolators/detail/cardinal_trigonometric_detail.hpp +684 -0
  471. package/vendor/boost/math/include/boost/math/interpolators/detail/cubic_b_spline_detail.hpp +330 -0
  472. package/vendor/boost/math/include/boost/math/interpolators/detail/cubic_hermite_detail.hpp +439 -0
  473. package/vendor/boost/math/include/boost/math/interpolators/detail/quintic_hermite_detail.hpp +586 -0
  474. package/vendor/boost/math/include/boost/math/interpolators/detail/septic_hermite_detail.hpp +653 -0
  475. package/vendor/boost/math/include/boost/math/interpolators/detail/vector_barycentric_rational_detail.hpp +196 -0
  476. package/vendor/boost/math/include/boost/math/interpolators/detail/whittaker_shannon_detail.hpp +128 -0
  477. package/vendor/boost/math/include/boost/math/interpolators/makima.hpp +178 -0
  478. package/vendor/boost/math/include/boost/math/interpolators/pchip.hpp +136 -0
  479. package/vendor/boost/math/include/boost/math/interpolators/quintic_hermite.hpp +143 -0
  480. package/vendor/boost/math/include/boost/math/interpolators/septic_hermite.hpp +147 -0
  481. package/vendor/boost/math/include/boost/math/interpolators/vector_barycentric_rational.hpp +82 -0
  482. package/vendor/boost/math/include/boost/math/interpolators/whittaker_shannon.hpp +47 -0
  483. package/vendor/boost/math/include/boost/math/octonion.hpp +4254 -0
  484. package/vendor/boost/math/include/boost/math/optimization/cma_es.hpp +392 -0
  485. package/vendor/boost/math/include/boost/math/optimization/detail/common.hpp +200 -0
  486. package/vendor/boost/math/include/boost/math/optimization/detail/differentiable_opt_utilties.hpp +157 -0
  487. package/vendor/boost/math/include/boost/math/optimization/detail/gradient_opt_base.hpp +92 -0
  488. package/vendor/boost/math/include/boost/math/optimization/detail/line_search_policies.hpp +206 -0
  489. package/vendor/boost/math/include/boost/math/optimization/detail/rdiff_optimization_policies.hpp +134 -0
  490. package/vendor/boost/math/include/boost/math/optimization/differential_evolution.hpp +236 -0
  491. package/vendor/boost/math/include/boost/math/optimization/gradient_descent.hpp +202 -0
  492. package/vendor/boost/math/include/boost/math/optimization/gradient_optimizers.hpp +18 -0
  493. package/vendor/boost/math/include/boost/math/optimization/jso.hpp +465 -0
  494. package/vendor/boost/math/include/boost/math/optimization/lbfgs.hpp +382 -0
  495. package/vendor/boost/math/include/boost/math/optimization/minimizer.hpp +336 -0
  496. package/vendor/boost/math/include/boost/math/optimization/nesterov.hpp +208 -0
  497. package/vendor/boost/math/include/boost/math/optimization/random_search.hpp +145 -0
  498. package/vendor/boost/math/include/boost/math/policies/error_handling.hpp +1062 -0
  499. package/vendor/boost/math/include/boost/math/policies/policy.hpp +1034 -0
  500. package/vendor/boost/math/include/boost/math/quadrature/detail/exp_sinh_detail.hpp +2002 -0
  501. package/vendor/boost/math/include/boost/math/quadrature/detail/ooura_fourier_integrals_detail.hpp +692 -0
  502. package/vendor/boost/math/include/boost/math/quadrature/detail/sinh_sinh_detail.hpp +1353 -0
  503. package/vendor/boost/math/include/boost/math/quadrature/detail/tanh_sinh_detail.hpp +879 -0
  504. package/vendor/boost/math/include/boost/math/quadrature/exp_sinh.hpp +180 -0
  505. package/vendor/boost/math/include/boost/math/quadrature/gauss.hpp +904 -0
  506. package/vendor/boost/math/include/boost/math/quadrature/gauss_kronrod.hpp +1317 -0
  507. package/vendor/boost/math/include/boost/math/quadrature/naive_monte_carlo.hpp +469 -0
  508. package/vendor/boost/math/include/boost/math/quadrature/ooura_fourier_integrals.hpp +68 -0
  509. package/vendor/boost/math/include/boost/math/quadrature/sinh_sinh.hpp +72 -0
  510. package/vendor/boost/math/include/boost/math/quadrature/tanh_sinh.hpp +289 -0
  511. package/vendor/boost/math/include/boost/math/quadrature/trapezoidal.hpp +125 -0
  512. package/vendor/boost/math/include/boost/math/quadrature/wavelet_transforms.hpp +47 -0
  513. package/vendor/boost/math/include/boost/math/quaternion.hpp +1190 -0
  514. package/vendor/boost/math/include/boost/math/special_functions/acosh.hpp +102 -0
  515. package/vendor/boost/math/include/boost/math/special_functions/airy.hpp +475 -0
  516. package/vendor/boost/math/include/boost/math/special_functions/asinh.hpp +110 -0
  517. package/vendor/boost/math/include/boost/math/special_functions/atanh.hpp +116 -0
  518. package/vendor/boost/math/include/boost/math/special_functions/bernoulli.hpp +149 -0
  519. package/vendor/boost/math/include/boost/math/special_functions/bessel.hpp +795 -0
  520. package/vendor/boost/math/include/boost/math/special_functions/bessel_iterators.hpp +187 -0
  521. package/vendor/boost/math/include/boost/math/special_functions/bessel_prime.hpp +343 -0
  522. package/vendor/boost/math/include/boost/math/special_functions/beta.hpp +1870 -0
  523. package/vendor/boost/math/include/boost/math/special_functions/binomial.hpp +87 -0
  524. package/vendor/boost/math/include/boost/math/special_functions/cardinal_b_spline.hpp +218 -0
  525. package/vendor/boost/math/include/boost/math/special_functions/cbrt.hpp +215 -0
  526. package/vendor/boost/math/include/boost/math/special_functions/chebyshev.hpp +314 -0
  527. package/vendor/boost/math/include/boost/math/special_functions/chebyshev_transform.hpp +237 -0
  528. package/vendor/boost/math/include/boost/math/special_functions/cos_pi.hpp +128 -0
  529. package/vendor/boost/math/include/boost/math/special_functions/daubechies_scaling.hpp +491 -0
  530. package/vendor/boost/math/include/boost/math/special_functions/daubechies_wavelet.hpp +266 -0
  531. package/vendor/boost/math/include/boost/math/special_functions/detail/airy_ai_bi_zero.hpp +222 -0
  532. package/vendor/boost/math/include/boost/math/special_functions/detail/bernoulli_details.hpp +629 -0
  533. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_derivatives_linear.hpp +107 -0
  534. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_i0.hpp +550 -0
  535. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_i1.hpp +556 -0
  536. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_ik.hpp +447 -0
  537. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_j0.hpp +192 -0
  538. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_j1.hpp +179 -0
  539. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_jn.hpp +127 -0
  540. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_jy.hpp +603 -0
  541. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_jy_asym.hpp +230 -0
  542. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_jy_derivatives_asym.hpp +141 -0
  543. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_jy_derivatives_series.hpp +219 -0
  544. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_jy_series.hpp +267 -0
  545. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_jy_zero.hpp +643 -0
  546. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_k0.hpp +485 -0
  547. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_k1.hpp +526 -0
  548. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_kn.hpp +91 -0
  549. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_y0.hpp +205 -0
  550. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_y1.hpp +183 -0
  551. package/vendor/boost/math/include/boost/math/special_functions/detail/bessel_yn.hpp +113 -0
  552. package/vendor/boost/math/include/boost/math/special_functions/detail/daubechies_scaling_integer_grid.hpp +244 -0
  553. package/vendor/boost/math/include/boost/math/special_functions/detail/erf_inv.hpp +559 -0
  554. package/vendor/boost/math/include/boost/math/special_functions/detail/fp_traits.hpp +562 -0
  555. package/vendor/boost/math/include/boost/math/special_functions/detail/gamma_inva.hpp +241 -0
  556. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_0F1_bessel.hpp +46 -0
  557. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_1F1_addition_theorems_on_z.hpp +293 -0
  558. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_1F1_bessel.hpp +768 -0
  559. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_1F1_by_ratios.hpp +678 -0
  560. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_1F1_cf.hpp +50 -0
  561. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_1F1_large_a.hpp +35 -0
  562. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_1F1_large_abz.hpp +492 -0
  563. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_1F1_negative_b_regions.hpp +521 -0
  564. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp +522 -0
  565. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_1F1_scaled_series.hpp +60 -0
  566. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_1F1_small_a_negative_b_by_ratio.hpp +70 -0
  567. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_asym.hpp +179 -0
  568. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_cf.hpp +228 -0
  569. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_pFq_checked_series.hpp +687 -0
  570. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_pade.hpp +131 -0
  571. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_rational.hpp +167 -0
  572. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_separated_series.hpp +50 -0
  573. package/vendor/boost/math/include/boost/math/special_functions/detail/hypergeometric_series.hpp +434 -0
  574. package/vendor/boost/math/include/boost/math/special_functions/detail/ibeta_inv_ab.hpp +331 -0
  575. package/vendor/boost/math/include/boost/math/special_functions/detail/ibeta_inverse.hpp +1122 -0
  576. package/vendor/boost/math/include/boost/math/special_functions/detail/iconv.hpp +43 -0
  577. package/vendor/boost/math/include/boost/math/special_functions/detail/igamma_inverse.hpp +587 -0
  578. package/vendor/boost/math/include/boost/math/special_functions/detail/igamma_large.hpp +823 -0
  579. package/vendor/boost/math/include/boost/math/special_functions/detail/lambert_w_lookup_table.ipp +162 -0
  580. package/vendor/boost/math/include/boost/math/special_functions/detail/lanczos_sse2.hpp +238 -0
  581. package/vendor/boost/math/include/boost/math/special_functions/detail/lgamma_small.hpp +569 -0
  582. package/vendor/boost/math/include/boost/math/special_functions/detail/polygamma.hpp +538 -0
  583. package/vendor/boost/math/include/boost/math/special_functions/detail/round_fwd.hpp +87 -0
  584. package/vendor/boost/math/include/boost/math/special_functions/detail/t_distribution_inv.hpp +567 -0
  585. package/vendor/boost/math/include/boost/math/special_functions/detail/unchecked_bernoulli.hpp +1305 -0
  586. package/vendor/boost/math/include/boost/math/special_functions/detail/unchecked_factorial.hpp +1727 -0
  587. package/vendor/boost/math/include/boost/math/special_functions/digamma.hpp +631 -0
  588. package/vendor/boost/math/include/boost/math/special_functions/ellint_1.hpp +815 -0
  589. package/vendor/boost/math/include/boost/math/special_functions/ellint_2.hpp +756 -0
  590. package/vendor/boost/math/include/boost/math/special_functions/ellint_3.hpp +374 -0
  591. package/vendor/boost/math/include/boost/math/special_functions/ellint_d.hpp +183 -0
  592. package/vendor/boost/math/include/boost/math/special_functions/ellint_rc.hpp +112 -0
  593. package/vendor/boost/math/include/boost/math/special_functions/ellint_rd.hpp +207 -0
  594. package/vendor/boost/math/include/boost/math/special_functions/ellint_rf.hpp +169 -0
  595. package/vendor/boost/math/include/boost/math/special_functions/ellint_rg.hpp +130 -0
  596. package/vendor/boost/math/include/boost/math/special_functions/ellint_rj.hpp +299 -0
  597. package/vendor/boost/math/include/boost/math/special_functions/erf.hpp +1334 -0
  598. package/vendor/boost/math/include/boost/math/special_functions/expint.hpp +1614 -0
  599. package/vendor/boost/math/include/boost/math/special_functions/expm1.hpp +416 -0
  600. package/vendor/boost/math/include/boost/math/special_functions/factorials.hpp +276 -0
  601. package/vendor/boost/math/include/boost/math/special_functions/fibonacci.hpp +92 -0
  602. package/vendor/boost/math/include/boost/math/special_functions/fourier_transform_daubechies.hpp +248 -0
  603. package/vendor/boost/math/include/boost/math/special_functions/fpclassify.hpp +797 -0
  604. package/vendor/boost/math/include/boost/math/special_functions/gamma.hpp +2628 -0
  605. package/vendor/boost/math/include/boost/math/special_functions/gegenbauer.hpp +84 -0
  606. package/vendor/boost/math/include/boost/math/special_functions/hankel.hpp +186 -0
  607. package/vendor/boost/math/include/boost/math/special_functions/hermite.hpp +79 -0
  608. package/vendor/boost/math/include/boost/math/special_functions/heuman_lambda.hpp +97 -0
  609. package/vendor/boost/math/include/boost/math/special_functions/hypergeometric_0F1.hpp +116 -0
  610. package/vendor/boost/math/include/boost/math/special_functions/hypergeometric_1F0.hpp +69 -0
  611. package/vendor/boost/math/include/boost/math/special_functions/hypergeometric_1F1.hpp +822 -0
  612. package/vendor/boost/math/include/boost/math/special_functions/hypergeometric_2F0.hpp +163 -0
  613. package/vendor/boost/math/include/boost/math/special_functions/hypergeometric_pFq.hpp +205 -0
  614. package/vendor/boost/math/include/boost/math/special_functions/hypot.hpp +148 -0
  615. package/vendor/boost/math/include/boost/math/special_functions/jacobi.hpp +69 -0
  616. package/vendor/boost/math/include/boost/math/special_functions/jacobi_elliptic.hpp +319 -0
  617. package/vendor/boost/math/include/boost/math/special_functions/jacobi_theta.hpp +802 -0
  618. package/vendor/boost/math/include/boost/math/special_functions/jacobi_zeta.hpp +83 -0
  619. package/vendor/boost/math/include/boost/math/special_functions/laguerre.hpp +139 -0
  620. package/vendor/boost/math/include/boost/math/special_functions/lambert_w.hpp +2171 -0
  621. package/vendor/boost/math/include/boost/math/special_functions/lanczos.hpp +2760 -0
  622. package/vendor/boost/math/include/boost/math/special_functions/legendre.hpp +380 -0
  623. package/vendor/boost/math/include/boost/math/special_functions/legendre_stieltjes.hpp +234 -0
  624. package/vendor/boost/math/include/boost/math/special_functions/log1p.hpp +417 -0
  625. package/vendor/boost/math/include/boost/math/special_functions/logaddexp.hpp +41 -0
  626. package/vendor/boost/math/include/boost/math/special_functions/logistic_sigmoid.hpp +46 -0
  627. package/vendor/boost/math/include/boost/math/special_functions/logit.hpp +56 -0
  628. package/vendor/boost/math/include/boost/math/special_functions/logsumexp.hpp +60 -0
  629. package/vendor/boost/math/include/boost/math/special_functions/math_fwd.hpp +1927 -0
  630. package/vendor/boost/math/include/boost/math/special_functions/modf.hpp +74 -0
  631. package/vendor/boost/math/include/boost/math/special_functions/next.hpp +886 -0
  632. package/vendor/boost/math/include/boost/math/special_functions/nonfinite_num_facets.hpp +588 -0
  633. package/vendor/boost/math/include/boost/math/special_functions/owens_t.hpp +1067 -0
  634. package/vendor/boost/math/include/boost/math/special_functions/polygamma.hpp +83 -0
  635. package/vendor/boost/math/include/boost/math/special_functions/pow.hpp +144 -0
  636. package/vendor/boost/math/include/boost/math/special_functions/powm1.hpp +101 -0
  637. package/vendor/boost/math/include/boost/math/special_functions/prime.hpp +2433 -0
  638. package/vendor/boost/math/include/boost/math/special_functions/relative_difference.hpp +134 -0
  639. package/vendor/boost/math/include/boost/math/special_functions/round.hpp +353 -0
  640. package/vendor/boost/math/include/boost/math/special_functions/rsqrt.hpp +52 -0
  641. package/vendor/boost/math/include/boost/math/special_functions/sign.hpp +241 -0
  642. package/vendor/boost/math/include/boost/math/special_functions/sin_pi.hpp +135 -0
  643. package/vendor/boost/math/include/boost/math/special_functions/sinc.hpp +123 -0
  644. package/vendor/boost/math/include/boost/math/special_functions/sinhc.hpp +142 -0
  645. package/vendor/boost/math/include/boost/math/special_functions/spherical_harmonic.hpp +205 -0
  646. package/vendor/boost/math/include/boost/math/special_functions/sqrt1pm1.hpp +49 -0
  647. package/vendor/boost/math/include/boost/math/special_functions/trigamma.hpp +448 -0
  648. package/vendor/boost/math/include/boost/math/special_functions/trunc.hpp +385 -0
  649. package/vendor/boost/math/include/boost/math/special_functions/ulp.hpp +102 -0
  650. package/vendor/boost/math/include/boost/math/special_functions/zeta.hpp +1081 -0
  651. package/vendor/boost/math/include/boost/math/special_functions.hpp +86 -0
  652. package/vendor/boost/math/include/boost/math/statistics/anderson_darling.hpp +112 -0
  653. package/vendor/boost/math/include/boost/math/statistics/bivariate_statistics.hpp +470 -0
  654. package/vendor/boost/math/include/boost/math/statistics/chatterjee_correlation.hpp +159 -0
  655. package/vendor/boost/math/include/boost/math/statistics/detail/rank.hpp +140 -0
  656. package/vendor/boost/math/include/boost/math/statistics/detail/single_pass.hpp +401 -0
  657. package/vendor/boost/math/include/boost/math/statistics/linear_regression.hpp +133 -0
  658. package/vendor/boost/math/include/boost/math/statistics/ljung_box.hpp +70 -0
  659. package/vendor/boost/math/include/boost/math/statistics/runs_test.hpp +121 -0
  660. package/vendor/boost/math/include/boost/math/statistics/signal_statistics.hpp +350 -0
  661. package/vendor/boost/math/include/boost/math/statistics/t_test.hpp +275 -0
  662. package/vendor/boost/math/include/boost/math/statistics/univariate_statistics.hpp +1184 -0
  663. package/vendor/boost/math/include/boost/math/statistics/z_test.hpp +161 -0
  664. package/vendor/boost/math/include/boost/math/tools/agm.hpp +47 -0
  665. package/vendor/boost/math/include/boost/math/tools/array.hpp +41 -0
  666. package/vendor/boost/math/include/boost/math/tools/assert.hpp +49 -0
  667. package/vendor/boost/math/include/boost/math/tools/atomic.hpp +50 -0
  668. package/vendor/boost/math/include/boost/math/tools/big_constant.hpp +110 -0
  669. package/vendor/boost/math/include/boost/math/tools/bivariate_statistics.hpp +96 -0
  670. package/vendor/boost/math/include/boost/math/tools/centered_continued_fraction.hpp +173 -0
  671. package/vendor/boost/math/include/boost/math/tools/cohen_acceleration.hpp +51 -0
  672. package/vendor/boost/math/include/boost/math/tools/color_maps.hpp +1943 -0
  673. package/vendor/boost/math/include/boost/math/tools/complex.hpp +115 -0
  674. package/vendor/boost/math/include/boost/math/tools/concepts.hpp +24 -0
  675. package/vendor/boost/math/include/boost/math/tools/condition_numbers.hpp +144 -0
  676. package/vendor/boost/math/include/boost/math/tools/config.hpp +856 -0
  677. package/vendor/boost/math/include/boost/math/tools/convert_from_string.hpp +85 -0
  678. package/vendor/boost/math/include/boost/math/tools/cstdint.hpp +107 -0
  679. package/vendor/boost/math/include/boost/math/tools/cubic_roots.hpp +198 -0
  680. package/vendor/boost/math/include/boost/math/tools/cxx03_warn.hpp +95 -0
  681. package/vendor/boost/math/include/boost/math/tools/detail/is_const_iterable.hpp +38 -0
  682. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_10.hpp +84 -0
  683. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_11.hpp +90 -0
  684. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_12.hpp +96 -0
  685. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_13.hpp +102 -0
  686. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_14.hpp +108 -0
  687. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_15.hpp +114 -0
  688. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_16.hpp +120 -0
  689. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_17.hpp +126 -0
  690. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_18.hpp +132 -0
  691. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_19.hpp +138 -0
  692. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_2.hpp +36 -0
  693. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_20.hpp +144 -0
  694. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_3.hpp +42 -0
  695. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_4.hpp +48 -0
  696. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_5.hpp +54 -0
  697. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_6.hpp +60 -0
  698. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_7.hpp +66 -0
  699. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_8.hpp +72 -0
  700. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner1_9.hpp +78 -0
  701. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_10.hpp +90 -0
  702. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_11.hpp +97 -0
  703. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_12.hpp +104 -0
  704. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_13.hpp +111 -0
  705. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_14.hpp +118 -0
  706. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_15.hpp +125 -0
  707. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_16.hpp +132 -0
  708. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_17.hpp +139 -0
  709. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_18.hpp +146 -0
  710. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_19.hpp +153 -0
  711. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_2.hpp +48 -0
  712. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_20.hpp +160 -0
  713. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_3.hpp +48 -0
  714. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_4.hpp +48 -0
  715. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_5.hpp +55 -0
  716. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_6.hpp +62 -0
  717. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_7.hpp +69 -0
  718. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_8.hpp +76 -0
  719. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner2_9.hpp +83 -0
  720. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_10.hpp +156 -0
  721. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_11.hpp +181 -0
  722. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_12.hpp +208 -0
  723. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_13.hpp +237 -0
  724. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_14.hpp +268 -0
  725. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_15.hpp +301 -0
  726. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_16.hpp +336 -0
  727. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_17.hpp +373 -0
  728. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_18.hpp +412 -0
  729. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_19.hpp +453 -0
  730. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_2.hpp +48 -0
  731. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_20.hpp +496 -0
  732. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_3.hpp +48 -0
  733. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_4.hpp +48 -0
  734. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_5.hpp +61 -0
  735. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_6.hpp +76 -0
  736. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_7.hpp +93 -0
  737. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_8.hpp +112 -0
  738. package/vendor/boost/math/include/boost/math/tools/detail/polynomial_horner3_9.hpp +133 -0
  739. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_10.hpp +138 -0
  740. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_11.hpp +150 -0
  741. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_12.hpp +162 -0
  742. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_13.hpp +174 -0
  743. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_14.hpp +186 -0
  744. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_15.hpp +198 -0
  745. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_16.hpp +210 -0
  746. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_17.hpp +222 -0
  747. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_18.hpp +234 -0
  748. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_19.hpp +246 -0
  749. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_2.hpp +42 -0
  750. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_20.hpp +258 -0
  751. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_3.hpp +54 -0
  752. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_4.hpp +66 -0
  753. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_5.hpp +78 -0
  754. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_6.hpp +90 -0
  755. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_7.hpp +102 -0
  756. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_8.hpp +114 -0
  757. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner1_9.hpp +126 -0
  758. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_10.hpp +144 -0
  759. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_11.hpp +160 -0
  760. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_12.hpp +176 -0
  761. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_13.hpp +192 -0
  762. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_14.hpp +208 -0
  763. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_15.hpp +224 -0
  764. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_16.hpp +240 -0
  765. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_17.hpp +256 -0
  766. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_18.hpp +272 -0
  767. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_19.hpp +288 -0
  768. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_2.hpp +48 -0
  769. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_20.hpp +304 -0
  770. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_3.hpp +48 -0
  771. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_4.hpp +48 -0
  772. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_5.hpp +64 -0
  773. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_6.hpp +80 -0
  774. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_7.hpp +96 -0
  775. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_8.hpp +112 -0
  776. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner2_9.hpp +128 -0
  777. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_10.hpp +396 -0
  778. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_11.hpp +482 -0
  779. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_12.hpp +576 -0
  780. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_13.hpp +678 -0
  781. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_14.hpp +788 -0
  782. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_15.hpp +906 -0
  783. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_16.hpp +1032 -0
  784. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_17.hpp +1166 -0
  785. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_18.hpp +1308 -0
  786. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_19.hpp +1458 -0
  787. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_2.hpp +48 -0
  788. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_20.hpp +1616 -0
  789. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_3.hpp +48 -0
  790. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_4.hpp +48 -0
  791. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_5.hpp +86 -0
  792. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_6.hpp +132 -0
  793. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_7.hpp +186 -0
  794. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_8.hpp +248 -0
  795. package/vendor/boost/math/include/boost/math/tools/detail/rational_horner3_9.hpp +318 -0
  796. package/vendor/boost/math/include/boost/math/tools/engel_expansion.hpp +124 -0
  797. package/vendor/boost/math/include/boost/math/tools/estrin.hpp +72 -0
  798. package/vendor/boost/math/include/boost/math/tools/fraction.hpp +354 -0
  799. package/vendor/boost/math/include/boost/math/tools/header_deprecated.hpp +27 -0
  800. package/vendor/boost/math/include/boost/math/tools/is_constant_evaluated.hpp +51 -0
  801. package/vendor/boost/math/include/boost/math/tools/is_detected.hpp +56 -0
  802. package/vendor/boost/math/include/boost/math/tools/is_standalone.hpp +18 -0
  803. package/vendor/boost/math/include/boost/math/tools/luroth_expansion.hpp +147 -0
  804. package/vendor/boost/math/include/boost/math/tools/minima.hpp +164 -0
  805. package/vendor/boost/math/include/boost/math/tools/mp.hpp +423 -0
  806. package/vendor/boost/math/include/boost/math/tools/norms.hpp +638 -0
  807. package/vendor/boost/math/include/boost/math/tools/nothrow.hpp +27 -0
  808. package/vendor/boost/math/include/boost/math/tools/numeric_limits.hpp +888 -0
  809. package/vendor/boost/math/include/boost/math/tools/numerical_differentiation.hpp +12 -0
  810. package/vendor/boost/math/include/boost/math/tools/polynomial.hpp +862 -0
  811. package/vendor/boost/math/include/boost/math/tools/polynomial_gcd.hpp +268 -0
  812. package/vendor/boost/math/include/boost/math/tools/precision.hpp +418 -0
  813. package/vendor/boost/math/include/boost/math/tools/promotion.hpp +135 -0
  814. package/vendor/boost/math/include/boost/math/tools/quartic_roots.hpp +157 -0
  815. package/vendor/boost/math/include/boost/math/tools/random_vector.hpp +101 -0
  816. package/vendor/boost/math/include/boost/math/tools/rational.hpp +346 -0
  817. package/vendor/boost/math/include/boost/math/tools/real_cast.hpp +31 -0
  818. package/vendor/boost/math/include/boost/math/tools/recurrence.hpp +330 -0
  819. package/vendor/boost/math/include/boost/math/tools/roots.hpp +1072 -0
  820. package/vendor/boost/math/include/boost/math/tools/series.hpp +221 -0
  821. package/vendor/boost/math/include/boost/math/tools/signal_statistics.hpp +353 -0
  822. package/vendor/boost/math/include/boost/math/tools/simple_continued_fraction.hpp +177 -0
  823. package/vendor/boost/math/include/boost/math/tools/stats.hpp +87 -0
  824. package/vendor/boost/math/include/boost/math/tools/test_value.hpp +143 -0
  825. package/vendor/boost/math/include/boost/math/tools/throw_exception.hpp +43 -0
  826. package/vendor/boost/math/include/boost/math/tools/toms748_solve.hpp +636 -0
  827. package/vendor/boost/math/include/boost/math/tools/traits.hpp +140 -0
  828. package/vendor/boost/math/include/boost/math/tools/tuple.hpp +88 -0
  829. package/vendor/boost/math/include/boost/math/tools/type_traits.hpp +489 -0
  830. package/vendor/boost/math/include/boost/math/tools/ulps_plot.hpp +598 -0
  831. package/vendor/boost/math/include/boost/math/tools/univariate_statistics.hpp +437 -0
  832. package/vendor/boost/math/include/boost/math/tools/user.hpp +105 -0
  833. package/vendor/boost/math/include/boost/math/tools/utility.hpp +69 -0
  834. package/vendor/boost/math/include/boost/math/tools/workaround.hpp +42 -0
  835. package/vendor/boost/math/include/boost/math/tr1.hpp +1121 -0
  836. package/vendor/boost/math/include/boost/math/tr1_c_macros.ipp +810 -0
  837. package/vendor/boost/math/include/boost/math_fwd.hpp +42 -0
  838. package/vendor/boost/multiprecision/LICENSE +23 -0
  839. package/vendor/boost/multiprecision/README.md +168 -0
  840. package/vendor/boost/multiprecision/include/boost/config/abi/borland_prefix.hpp +27 -0
  841. package/vendor/boost/multiprecision/include/boost/config/abi/borland_suffix.hpp +12 -0
  842. package/vendor/boost/multiprecision/include/boost/config/abi/msvc_prefix.hpp +22 -0
  843. package/vendor/boost/multiprecision/include/boost/config/abi/msvc_suffix.hpp +8 -0
  844. package/vendor/boost/multiprecision/include/boost/config/abi_prefix.hpp +25 -0
  845. package/vendor/boost/multiprecision/include/boost/config/abi_suffix.hpp +25 -0
  846. package/vendor/boost/multiprecision/include/boost/config/assert_cxx03.hpp +211 -0
  847. package/vendor/boost/multiprecision/include/boost/config/assert_cxx11.hpp +212 -0
  848. package/vendor/boost/multiprecision/include/boost/config/assert_cxx14.hpp +47 -0
  849. package/vendor/boost/multiprecision/include/boost/config/assert_cxx17.hpp +65 -0
  850. package/vendor/boost/multiprecision/include/boost/config/assert_cxx20.hpp +59 -0
  851. package/vendor/boost/multiprecision/include/boost/config/assert_cxx23.hpp +41 -0
  852. package/vendor/boost/multiprecision/include/boost/config/assert_cxx98.hpp +23 -0
  853. package/vendor/boost/multiprecision/include/boost/config/auto_link.hpp +530 -0
  854. package/vendor/boost/multiprecision/include/boost/config/compiler/borland.hpp +342 -0
  855. package/vendor/boost/multiprecision/include/boost/config/compiler/clang.hpp +370 -0
  856. package/vendor/boost/multiprecision/include/boost/config/compiler/clang_version.hpp +98 -0
  857. package/vendor/boost/multiprecision/include/boost/config/compiler/codegear.hpp +389 -0
  858. package/vendor/boost/multiprecision/include/boost/config/compiler/comeau.hpp +59 -0
  859. package/vendor/boost/multiprecision/include/boost/config/compiler/common_edg.hpp +185 -0
  860. package/vendor/boost/multiprecision/include/boost/config/compiler/compaq_cxx.hpp +19 -0
  861. package/vendor/boost/multiprecision/include/boost/config/compiler/cray.hpp +446 -0
  862. package/vendor/boost/multiprecision/include/boost/config/compiler/diab.hpp +26 -0
  863. package/vendor/boost/multiprecision/include/boost/config/compiler/digitalmars.hpp +146 -0
  864. package/vendor/boost/multiprecision/include/boost/config/compiler/gcc.hpp +386 -0
  865. package/vendor/boost/multiprecision/include/boost/config/compiler/gcc_xml.hpp +115 -0
  866. package/vendor/boost/multiprecision/include/boost/config/compiler/greenhills.hpp +28 -0
  867. package/vendor/boost/multiprecision/include/boost/config/compiler/hp_acc.hpp +153 -0
  868. package/vendor/boost/multiprecision/include/boost/config/compiler/intel.hpp +577 -0
  869. package/vendor/boost/multiprecision/include/boost/config/compiler/kai.hpp +33 -0
  870. package/vendor/boost/multiprecision/include/boost/config/compiler/metrowerks.hpp +201 -0
  871. package/vendor/boost/multiprecision/include/boost/config/compiler/mpw.hpp +143 -0
  872. package/vendor/boost/multiprecision/include/boost/config/compiler/nvcc.hpp +64 -0
  873. package/vendor/boost/multiprecision/include/boost/config/compiler/pathscale.hpp +141 -0
  874. package/vendor/boost/multiprecision/include/boost/config/compiler/pgi.hpp +23 -0
  875. package/vendor/boost/multiprecision/include/boost/config/compiler/sgi_mipspro.hpp +29 -0
  876. package/vendor/boost/multiprecision/include/boost/config/compiler/sunpro_cc.hpp +225 -0
  877. package/vendor/boost/multiprecision/include/boost/config/compiler/vacpp.hpp +189 -0
  878. package/vendor/boost/multiprecision/include/boost/config/compiler/visualc.hpp +400 -0
  879. package/vendor/boost/multiprecision/include/boost/config/compiler/xlcpp.hpp +303 -0
  880. package/vendor/boost/multiprecision/include/boost/config/compiler/xlcpp_zos.hpp +174 -0
  881. package/vendor/boost/multiprecision/include/boost/config/detail/cxx_composite.hpp +218 -0
  882. package/vendor/boost/multiprecision/include/boost/config/detail/posix_features.hpp +95 -0
  883. package/vendor/boost/multiprecision/include/boost/config/detail/select_compiler_config.hpp +157 -0
  884. package/vendor/boost/multiprecision/include/boost/config/detail/select_platform_config.hpp +147 -0
  885. package/vendor/boost/multiprecision/include/boost/config/detail/select_stdlib_config.hpp +121 -0
  886. package/vendor/boost/multiprecision/include/boost/config/detail/suffix.hpp +1334 -0
  887. package/vendor/boost/multiprecision/include/boost/config/header_deprecated.hpp +26 -0
  888. package/vendor/boost/multiprecision/include/boost/config/helper_macros.hpp +37 -0
  889. package/vendor/boost/multiprecision/include/boost/config/no_tr1/cmath.hpp +28 -0
  890. package/vendor/boost/multiprecision/include/boost/config/no_tr1/complex.hpp +28 -0
  891. package/vendor/boost/multiprecision/include/boost/config/no_tr1/functional.hpp +28 -0
  892. package/vendor/boost/multiprecision/include/boost/config/no_tr1/memory.hpp +28 -0
  893. package/vendor/boost/multiprecision/include/boost/config/no_tr1/utility.hpp +28 -0
  894. package/vendor/boost/multiprecision/include/boost/config/platform/aix.hpp +33 -0
  895. package/vendor/boost/multiprecision/include/boost/config/platform/amigaos.hpp +15 -0
  896. package/vendor/boost/multiprecision/include/boost/config/platform/beos.hpp +26 -0
  897. package/vendor/boost/multiprecision/include/boost/config/platform/bsd.hpp +83 -0
  898. package/vendor/boost/multiprecision/include/boost/config/platform/cloudabi.hpp +18 -0
  899. package/vendor/boost/multiprecision/include/boost/config/platform/cray.hpp +18 -0
  900. package/vendor/boost/multiprecision/include/boost/config/platform/cygwin.hpp +71 -0
  901. package/vendor/boost/multiprecision/include/boost/config/platform/haiku.hpp +31 -0
  902. package/vendor/boost/multiprecision/include/boost/config/platform/hpux.hpp +87 -0
  903. package/vendor/boost/multiprecision/include/boost/config/platform/irix.hpp +31 -0
  904. package/vendor/boost/multiprecision/include/boost/config/platform/linux.hpp +106 -0
  905. package/vendor/boost/multiprecision/include/boost/config/platform/macos.hpp +87 -0
  906. package/vendor/boost/multiprecision/include/boost/config/platform/qnxnto.hpp +31 -0
  907. package/vendor/boost/multiprecision/include/boost/config/platform/solaris.hpp +31 -0
  908. package/vendor/boost/multiprecision/include/boost/config/platform/symbian.hpp +97 -0
  909. package/vendor/boost/multiprecision/include/boost/config/platform/vms.hpp +25 -0
  910. package/vendor/boost/multiprecision/include/boost/config/platform/vxworks.hpp +422 -0
  911. package/vendor/boost/multiprecision/include/boost/config/platform/wasm.hpp +23 -0
  912. package/vendor/boost/multiprecision/include/boost/config/platform/win32.hpp +90 -0
  913. package/vendor/boost/multiprecision/include/boost/config/platform/zos.hpp +32 -0
  914. package/vendor/boost/multiprecision/include/boost/config/pragma_message.hpp +31 -0
  915. package/vendor/boost/multiprecision/include/boost/config/requires_threads.hpp +92 -0
  916. package/vendor/boost/multiprecision/include/boost/config/stdlib/dinkumware.hpp +324 -0
  917. package/vendor/boost/multiprecision/include/boost/config/stdlib/libcomo.hpp +93 -0
  918. package/vendor/boost/multiprecision/include/boost/config/stdlib/libcpp.hpp +185 -0
  919. package/vendor/boost/multiprecision/include/boost/config/stdlib/libstdcpp3.hpp +482 -0
  920. package/vendor/boost/multiprecision/include/boost/config/stdlib/modena.hpp +79 -0
  921. package/vendor/boost/multiprecision/include/boost/config/stdlib/msl.hpp +98 -0
  922. package/vendor/boost/multiprecision/include/boost/config/stdlib/roguewave.hpp +208 -0
  923. package/vendor/boost/multiprecision/include/boost/config/stdlib/sgi.hpp +168 -0
  924. package/vendor/boost/multiprecision/include/boost/config/stdlib/stlport.hpp +258 -0
  925. package/vendor/boost/multiprecision/include/boost/config/stdlib/vacpp.hpp +74 -0
  926. package/vendor/boost/multiprecision/include/boost/config/stdlib/xlcpp_zos.hpp +61 -0
  927. package/vendor/boost/multiprecision/include/boost/config/user.hpp +133 -0
  928. package/vendor/boost/multiprecision/include/boost/config/warning_disable.hpp +47 -0
  929. package/vendor/boost/multiprecision/include/boost/config/workaround.hpp +310 -0
  930. package/vendor/boost/multiprecision/include/boost/config.hpp +67 -0
  931. package/vendor/boost/multiprecision/include/boost/cstdint.hpp +556 -0
  932. package/vendor/boost/multiprecision/include/boost/cxx11_char_types.hpp +70 -0
  933. package/vendor/boost/multiprecision/include/boost/detail/workaround.hpp +10 -0
  934. package/vendor/boost/multiprecision/include/boost/limits.hpp +146 -0
  935. package/vendor/boost/multiprecision/include/boost/multiprecision/complex128.hpp +24 -0
  936. package/vendor/boost/multiprecision/include/boost/multiprecision/complex_adaptor.hpp +1049 -0
  937. package/vendor/boost/multiprecision/include/boost/multiprecision/concepts/mp_number_archetypes.hpp +257 -0
  938. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_bin_float/io.hpp +700 -0
  939. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_bin_float/transcendental.hpp +157 -0
  940. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_bin_float.hpp +2374 -0
  941. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_complex.hpp +12 -0
  942. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_dec_float.hpp +3807 -0
  943. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail.hpp +177 -0
  944. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail_ccmath.hpp +25 -0
  945. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail_ccmath_fabs.hpp +27 -0
  946. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail_ccmath_floor.hpp +116 -0
  947. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail_ccmath_fma.hpp +65 -0
  948. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail_ccmath_fpclassify.hpp +52 -0
  949. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail_ccmath_frexp.hpp +93 -0
  950. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail_ccmath_isinf.hpp +24 -0
  951. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail_ccmath_isnan.hpp +21 -0
  952. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail_ccmath_ldexp.hpp +71 -0
  953. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail_ccmath_limits.hpp +218 -0
  954. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail_ccmath_log.hpp +172 -0
  955. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail_ccmath_sqrt.hpp +57 -0
  956. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_df_qf/cpp_df_qf_detail_constants.hpp +80 -0
  957. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_double_fp.hpp +2690 -0
  958. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/add.hpp +368 -0
  959. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/add_unsigned.hpp +387 -0
  960. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/bitwise.hpp +896 -0
  961. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/checked.hpp +178 -0
  962. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/comparison.hpp +374 -0
  963. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/cpp_int_config.hpp +161 -0
  964. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/divide.hpp +703 -0
  965. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/import_export.hpp +248 -0
  966. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/intel_intrinsics.hpp +138 -0
  967. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/limits.hpp +292 -0
  968. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/literals.hpp +296 -0
  969. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/misc.hpp +1462 -0
  970. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/multiply.hpp +848 -0
  971. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/serialize.hpp +209 -0
  972. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int/value_pack.hpp +42 -0
  973. package/vendor/boost/multiprecision/include/boost/multiprecision/cpp_int.hpp +2360 -0
  974. package/vendor/boost/multiprecision/include/boost/multiprecision/debug_adaptor.hpp +760 -0
  975. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/assert.hpp +29 -0
  976. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/atomic.hpp +62 -0
  977. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/bitscan.hpp +317 -0
  978. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/check_cpp11_config.hpp +64 -0
  979. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/constexpr.hpp +88 -0
  980. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/default_ops.hpp +4077 -0
  981. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/digits.hpp +49 -0
  982. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/dynamic_array.hpp +44 -0
  983. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/empty_value.hpp +87 -0
  984. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/endian.hpp +35 -0
  985. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/et_ops.hpp +1831 -0
  986. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/float128_functions.hpp +95 -0
  987. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/float_string_cvt.hpp +333 -0
  988. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/fpclassify.hpp +101 -0
  989. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/functions/constants.hpp +289 -0
  990. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/functions/pow.hpp +941 -0
  991. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/functions/trig.hpp +1064 -0
  992. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/functions/trunc.hpp +82 -0
  993. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/generic_interconvert.hpp +687 -0
  994. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/hash.hpp +56 -0
  995. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/integer_ops.hpp +474 -0
  996. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/itos.hpp +39 -0
  997. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/min_max.hpp +106 -0
  998. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/no_et_ops.hpp +661 -0
  999. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/no_exceptions_support.hpp +55 -0
  1000. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/number_base.hpp +1656 -0
  1001. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/number_compare.hpp +848 -0
  1002. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/precision.hpp +313 -0
  1003. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/rebind.hpp +19 -0
  1004. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/standalone_config.hpp +165 -0
  1005. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/static_array.hpp +42 -0
  1006. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/string_helpers.hpp +48 -0
  1007. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/tables.hpp +80 -0
  1008. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/ublas_interop.hpp +75 -0
  1009. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/uniform_int_distribution.hpp +212 -0
  1010. package/vendor/boost/multiprecision/include/boost/multiprecision/detail/utype_helper.hpp +374 -0
  1011. package/vendor/boost/multiprecision/include/boost/multiprecision/eigen.hpp +248 -0
  1012. package/vendor/boost/multiprecision/include/boost/multiprecision/float128.hpp +960 -0
  1013. package/vendor/boost/multiprecision/include/boost/multiprecision/fwd.hpp +268 -0
  1014. package/vendor/boost/multiprecision/include/boost/multiprecision/gmp.hpp +4100 -0
  1015. package/vendor/boost/multiprecision/include/boost/multiprecision/integer.hpp +363 -0
  1016. package/vendor/boost/multiprecision/include/boost/multiprecision/logged_adaptor.hpp +834 -0
  1017. package/vendor/boost/multiprecision/include/boost/multiprecision/miller_rabin.hpp +221 -0
  1018. package/vendor/boost/multiprecision/include/boost/multiprecision/mpc.hpp +1721 -0
  1019. package/vendor/boost/multiprecision/include/boost/multiprecision/mpfi.hpp +2579 -0
  1020. package/vendor/boost/multiprecision/include/boost/multiprecision/mpfr.hpp +3668 -0
  1021. package/vendor/boost/multiprecision/include/boost/multiprecision/number.hpp +2491 -0
  1022. package/vendor/boost/multiprecision/include/boost/multiprecision/random.hpp +23 -0
  1023. package/vendor/boost/multiprecision/include/boost/multiprecision/rational_adaptor.hpp +1289 -0
  1024. package/vendor/boost/multiprecision/include/boost/multiprecision/tommath.hpp +1044 -0
  1025. package/vendor/boost/multiprecision/include/boost/multiprecision/traits/explicit_conversion.hpp +67 -0
  1026. package/vendor/boost/multiprecision/include/boost/multiprecision/traits/extract_exponent_type.hpp +28 -0
  1027. package/vendor/boost/multiprecision/include/boost/multiprecision/traits/is_backend.hpp +91 -0
  1028. package/vendor/boost/multiprecision/include/boost/multiprecision/traits/is_byte_container.hpp +51 -0
  1029. package/vendor/boost/multiprecision/include/boost/multiprecision/traits/is_complex.hpp +22 -0
  1030. package/vendor/boost/multiprecision/include/boost/multiprecision/traits/is_convertible_arithmetic.hpp +51 -0
  1031. package/vendor/boost/multiprecision/include/boost/multiprecision/traits/is_restricted_conversion.hpp +47 -0
  1032. package/vendor/boost/multiprecision/include/boost/multiprecision/traits/is_variable_precision.hpp +25 -0
  1033. package/vendor/boost/multiprecision/include/boost/multiprecision/traits/max_digits10.hpp +79 -0
  1034. package/vendor/boost/multiprecision/include/boost/multiprecision/traits/std_integer_traits.hpp +95 -0
  1035. package/vendor/boost/multiprecision/include/boost/multiprecision/traits/transcendental_reduction_type.hpp +21 -0
  1036. package/vendor/boost/multiprecision/include/boost/static_assert.hpp +179 -0
  1037. package/vendor/boost/multiprecision/include/boost/version.hpp +32 -0
  1038. package/vendor/eigen/COPYING.APACHE +203 -0
  1039. package/vendor/eigen/COPYING.BSD +26 -0
  1040. package/vendor/eigen/COPYING.MPL2 +373 -0
  1041. package/vendor/eigen/COPYING.README +6 -0
  1042. package/vendor/eigen/Eigen/AccelerateSupport +52 -0
  1043. package/vendor/eigen/Eigen/Cholesky +43 -0
  1044. package/vendor/eigen/Eigen/CholmodSupport +48 -0
  1045. package/vendor/eigen/Eigen/Core +451 -0
  1046. package/vendor/eigen/Eigen/Dense +7 -0
  1047. package/vendor/eigen/Eigen/Eigen +2 -0
  1048. package/vendor/eigen/Eigen/Eigenvalues +63 -0
  1049. package/vendor/eigen/Eigen/Geometry +59 -0
  1050. package/vendor/eigen/Eigen/Householder +31 -0
  1051. package/vendor/eigen/Eigen/IterativeLinearSolvers +52 -0
  1052. package/vendor/eigen/Eigen/Jacobi +33 -0
  1053. package/vendor/eigen/Eigen/KLUSupport +43 -0
  1054. package/vendor/eigen/Eigen/LU +46 -0
  1055. package/vendor/eigen/Eigen/MetisSupport +35 -0
  1056. package/vendor/eigen/Eigen/OrderingMethods +73 -0
  1057. package/vendor/eigen/Eigen/PaStiXSupport +51 -0
  1058. package/vendor/eigen/Eigen/PardisoSupport +38 -0
  1059. package/vendor/eigen/Eigen/QR +48 -0
  1060. package/vendor/eigen/Eigen/QtAlignedMalloc +32 -0
  1061. package/vendor/eigen/Eigen/SPQRSupport +41 -0
  1062. package/vendor/eigen/Eigen/SVD +56 -0
  1063. package/vendor/eigen/Eigen/Sparse +33 -0
  1064. package/vendor/eigen/Eigen/SparseCholesky +40 -0
  1065. package/vendor/eigen/Eigen/SparseCore +70 -0
  1066. package/vendor/eigen/Eigen/SparseLU +50 -0
  1067. package/vendor/eigen/Eigen/SparseQR +38 -0
  1068. package/vendor/eigen/Eigen/StdDeque +30 -0
  1069. package/vendor/eigen/Eigen/StdList +29 -0
  1070. package/vendor/eigen/Eigen/StdVector +30 -0
  1071. package/vendor/eigen/Eigen/SuperLUSupport +70 -0
  1072. package/vendor/eigen/Eigen/ThreadPool +80 -0
  1073. package/vendor/eigen/Eigen/UmfPackSupport +42 -0
  1074. package/vendor/eigen/Eigen/Version +14 -0
  1075. package/vendor/eigen/Eigen/src/AccelerateSupport/AccelerateSupport.h +423 -0
  1076. package/vendor/eigen/Eigen/src/AccelerateSupport/InternalHeaderCheck.h +3 -0
  1077. package/vendor/eigen/Eigen/src/Cholesky/InternalHeaderCheck.h +3 -0
  1078. package/vendor/eigen/Eigen/src/Cholesky/LDLT.h +649 -0
  1079. package/vendor/eigen/Eigen/src/Cholesky/LLT.h +514 -0
  1080. package/vendor/eigen/Eigen/src/Cholesky/LLT_LAPACKE.h +124 -0
  1081. package/vendor/eigen/Eigen/src/CholmodSupport/CholmodSupport.h +738 -0
  1082. package/vendor/eigen/Eigen/src/CholmodSupport/InternalHeaderCheck.h +3 -0
  1083. package/vendor/eigen/Eigen/src/Core/ArithmeticSequence.h +239 -0
  1084. package/vendor/eigen/Eigen/src/Core/Array.h +376 -0
  1085. package/vendor/eigen/Eigen/src/Core/ArrayBase.h +213 -0
  1086. package/vendor/eigen/Eigen/src/Core/ArrayWrapper.h +165 -0
  1087. package/vendor/eigen/Eigen/src/Core/Assign.h +80 -0
  1088. package/vendor/eigen/Eigen/src/Core/AssignEvaluator.h +1057 -0
  1089. package/vendor/eigen/Eigen/src/Core/Assign_MKL.h +183 -0
  1090. package/vendor/eigen/Eigen/src/Core/BandMatrix.h +338 -0
  1091. package/vendor/eigen/Eigen/src/Core/Block.h +429 -0
  1092. package/vendor/eigen/Eigen/src/Core/CommaInitializer.h +149 -0
  1093. package/vendor/eigen/Eigen/src/Core/ConditionEstimator.h +173 -0
  1094. package/vendor/eigen/Eigen/src/Core/CoreEvaluators.h +2018 -0
  1095. package/vendor/eigen/Eigen/src/Core/CoreIterators.h +141 -0
  1096. package/vendor/eigen/Eigen/src/Core/CwiseBinaryOp.h +166 -0
  1097. package/vendor/eigen/Eigen/src/Core/CwiseNullaryOp.h +975 -0
  1098. package/vendor/eigen/Eigen/src/Core/CwiseTernaryOp.h +171 -0
  1099. package/vendor/eigen/Eigen/src/Core/CwiseUnaryOp.h +91 -0
  1100. package/vendor/eigen/Eigen/src/Core/CwiseUnaryView.h +167 -0
  1101. package/vendor/eigen/Eigen/src/Core/DenseBase.h +673 -0
  1102. package/vendor/eigen/Eigen/src/Core/DenseCoeffsBase.h +568 -0
  1103. package/vendor/eigen/Eigen/src/Core/DenseStorage.h +573 -0
  1104. package/vendor/eigen/Eigen/src/Core/DeviceWrapper.h +153 -0
  1105. package/vendor/eigen/Eigen/src/Core/Diagonal.h +219 -0
  1106. package/vendor/eigen/Eigen/src/Core/DiagonalMatrix.h +420 -0
  1107. package/vendor/eigen/Eigen/src/Core/DiagonalProduct.h +30 -0
  1108. package/vendor/eigen/Eigen/src/Core/Dot.h +268 -0
  1109. package/vendor/eigen/Eigen/src/Core/EigenBase.h +149 -0
  1110. package/vendor/eigen/Eigen/src/Core/Fill.h +138 -0
  1111. package/vendor/eigen/Eigen/src/Core/FindCoeff.h +464 -0
  1112. package/vendor/eigen/Eigen/src/Core/ForceAlignedAccess.h +127 -0
  1113. package/vendor/eigen/Eigen/src/Core/Fuzzy.h +132 -0
  1114. package/vendor/eigen/Eigen/src/Core/GeneralProduct.h +519 -0
  1115. package/vendor/eigen/Eigen/src/Core/GenericPacketMath.h +1702 -0
  1116. package/vendor/eigen/Eigen/src/Core/GlobalFunctions.h +230 -0
  1117. package/vendor/eigen/Eigen/src/Core/IO.h +233 -0
  1118. package/vendor/eigen/Eigen/src/Core/IndexedView.h +321 -0
  1119. package/vendor/eigen/Eigen/src/Core/InnerProduct.h +260 -0
  1120. package/vendor/eigen/Eigen/src/Core/InternalHeaderCheck.h +3 -0
  1121. package/vendor/eigen/Eigen/src/Core/Inverse.h +108 -0
  1122. package/vendor/eigen/Eigen/src/Core/Map.h +153 -0
  1123. package/vendor/eigen/Eigen/src/Core/MapBase.h +283 -0
  1124. package/vendor/eigen/Eigen/src/Core/MathFunctions.h +2103 -0
  1125. package/vendor/eigen/Eigen/src/Core/MathFunctionsImpl.h +263 -0
  1126. package/vendor/eigen/Eigen/src/Core/Matrix.h +534 -0
  1127. package/vendor/eigen/Eigen/src/Core/MatrixBase.h +545 -0
  1128. package/vendor/eigen/Eigen/src/Core/NestByValue.h +91 -0
  1129. package/vendor/eigen/Eigen/src/Core/NoAlias.h +102 -0
  1130. package/vendor/eigen/Eigen/src/Core/NumTraits.h +335 -0
  1131. package/vendor/eigen/Eigen/src/Core/PartialReduxEvaluator.h +253 -0
  1132. package/vendor/eigen/Eigen/src/Core/PermutationMatrix.h +555 -0
  1133. package/vendor/eigen/Eigen/src/Core/PlainObjectBase.h +1014 -0
  1134. package/vendor/eigen/Eigen/src/Core/Product.h +307 -0
  1135. package/vendor/eigen/Eigen/src/Core/ProductEvaluators.h +1287 -0
  1136. package/vendor/eigen/Eigen/src/Core/Random.h +207 -0
  1137. package/vendor/eigen/Eigen/src/Core/RandomImpl.h +262 -0
  1138. package/vendor/eigen/Eigen/src/Core/RealView.h +250 -0
  1139. package/vendor/eigen/Eigen/src/Core/Redux.h +535 -0
  1140. package/vendor/eigen/Eigen/src/Core/Ref.h +383 -0
  1141. package/vendor/eigen/Eigen/src/Core/Replicate.h +130 -0
  1142. package/vendor/eigen/Eigen/src/Core/Reshaped.h +398 -0
  1143. package/vendor/eigen/Eigen/src/Core/ReturnByValue.h +111 -0
  1144. package/vendor/eigen/Eigen/src/Core/Reverse.h +202 -0
  1145. package/vendor/eigen/Eigen/src/Core/Select.h +92 -0
  1146. package/vendor/eigen/Eigen/src/Core/SelfAdjointView.h +329 -0
  1147. package/vendor/eigen/Eigen/src/Core/SelfCwiseBinaryOp.h +50 -0
  1148. package/vendor/eigen/Eigen/src/Core/SkewSymmetricMatrix3.h +382 -0
  1149. package/vendor/eigen/Eigen/src/Core/Solve.h +174 -0
  1150. package/vendor/eigen/Eigen/src/Core/SolveTriangular.h +237 -0
  1151. package/vendor/eigen/Eigen/src/Core/SolverBase.h +167 -0
  1152. package/vendor/eigen/Eigen/src/Core/StableNorm.h +217 -0
  1153. package/vendor/eigen/Eigen/src/Core/StlIterators.h +619 -0
  1154. package/vendor/eigen/Eigen/src/Core/Stride.h +114 -0
  1155. package/vendor/eigen/Eigen/src/Core/Swap.h +99 -0
  1156. package/vendor/eigen/Eigen/src/Core/Transpose.h +427 -0
  1157. package/vendor/eigen/Eigen/src/Core/Transpositions.h +323 -0
  1158. package/vendor/eigen/Eigen/src/Core/TriangularMatrix.h +900 -0
  1159. package/vendor/eigen/Eigen/src/Core/VectorBlock.h +83 -0
  1160. package/vendor/eigen/Eigen/src/Core/VectorwiseOp.h +733 -0
  1161. package/vendor/eigen/Eigen/src/Core/Visitor.h +537 -0
  1162. package/vendor/eigen/Eigen/src/Core/arch/AVX/Complex.h +565 -0
  1163. package/vendor/eigen/Eigen/src/Core/arch/AVX/MathFunctions.h +130 -0
  1164. package/vendor/eigen/Eigen/src/Core/arch/AVX/PacketMath.h +3081 -0
  1165. package/vendor/eigen/Eigen/src/Core/arch/AVX/Reductions.h +353 -0
  1166. package/vendor/eigen/Eigen/src/Core/arch/AVX/TypeCasting.h +308 -0
  1167. package/vendor/eigen/Eigen/src/Core/arch/AVX512/Complex.h +472 -0
  1168. package/vendor/eigen/Eigen/src/Core/arch/AVX512/GemmKernel.h +1245 -0
  1169. package/vendor/eigen/Eigen/src/Core/arch/AVX512/MathFunctions.h +141 -0
  1170. package/vendor/eigen/Eigen/src/Core/arch/AVX512/MathFunctionsFP16.h +75 -0
  1171. package/vendor/eigen/Eigen/src/Core/arch/AVX512/PacketMath.h +3146 -0
  1172. package/vendor/eigen/Eigen/src/Core/arch/AVX512/PacketMathFP16.h +1413 -0
  1173. package/vendor/eigen/Eigen/src/Core/arch/AVX512/Reductions.h +297 -0
  1174. package/vendor/eigen/Eigen/src/Core/arch/AVX512/TrsmKernel.h +1167 -0
  1175. package/vendor/eigen/Eigen/src/Core/arch/AVX512/TrsmUnrolls.inc +1219 -0
  1176. package/vendor/eigen/Eigen/src/Core/arch/AVX512/TypeCasting.h +277 -0
  1177. package/vendor/eigen/Eigen/src/Core/arch/AVX512/TypeCastingFP16.h +130 -0
  1178. package/vendor/eigen/Eigen/src/Core/arch/AltiVec/Complex.h +653 -0
  1179. package/vendor/eigen/Eigen/src/Core/arch/AltiVec/MathFunctions.h +81 -0
  1180. package/vendor/eigen/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +3686 -0
  1181. package/vendor/eigen/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +205 -0
  1182. package/vendor/eigen/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +901 -0
  1183. package/vendor/eigen/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +742 -0
  1184. package/vendor/eigen/Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.inc +2818 -0
  1185. package/vendor/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h +3729 -0
  1186. package/vendor/eigen/Eigen/src/Core/arch/AltiVec/TypeCasting.h +153 -0
  1187. package/vendor/eigen/Eigen/src/Core/arch/Default/BFloat16.h +866 -0
  1188. package/vendor/eigen/Eigen/src/Core/arch/Default/ConjHelper.h +128 -0
  1189. package/vendor/eigen/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +2634 -0
  1190. package/vendor/eigen/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +227 -0
  1191. package/vendor/eigen/Eigen/src/Core/arch/Default/Half.h +1091 -0
  1192. package/vendor/eigen/Eigen/src/Core/arch/Default/Settings.h +47 -0
  1193. package/vendor/eigen/Eigen/src/Core/arch/GPU/Complex.h +244 -0
  1194. package/vendor/eigen/Eigen/src/Core/arch/GPU/MathFunctions.h +104 -0
  1195. package/vendor/eigen/Eigen/src/Core/arch/GPU/PacketMath.h +1712 -0
  1196. package/vendor/eigen/Eigen/src/Core/arch/GPU/Tuple.h +268 -0
  1197. package/vendor/eigen/Eigen/src/Core/arch/GPU/TypeCasting.h +77 -0
  1198. package/vendor/eigen/Eigen/src/Core/arch/HIP/hcc/math_constants.h +23 -0
  1199. package/vendor/eigen/Eigen/src/Core/arch/HVX/PacketMath.h +1088 -0
  1200. package/vendor/eigen/Eigen/src/Core/arch/LSX/Complex.h +520 -0
  1201. package/vendor/eigen/Eigen/src/Core/arch/LSX/GeneralBlockPanelKernel.h +23 -0
  1202. package/vendor/eigen/Eigen/src/Core/arch/LSX/MathFunctions.h +43 -0
  1203. package/vendor/eigen/Eigen/src/Core/arch/LSX/PacketMath.h +2866 -0
  1204. package/vendor/eigen/Eigen/src/Core/arch/LSX/TypeCasting.h +526 -0
  1205. package/vendor/eigen/Eigen/src/Core/arch/MSA/Complex.h +620 -0
  1206. package/vendor/eigen/Eigen/src/Core/arch/MSA/MathFunctions.h +379 -0
  1207. package/vendor/eigen/Eigen/src/Core/arch/MSA/PacketMath.h +1237 -0
  1208. package/vendor/eigen/Eigen/src/Core/arch/NEON/Complex.h +732 -0
  1209. package/vendor/eigen/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +243 -0
  1210. package/vendor/eigen/Eigen/src/Core/arch/NEON/MathFunctions.h +68 -0
  1211. package/vendor/eigen/Eigen/src/Core/arch/NEON/PacketMath.h +6096 -0
  1212. package/vendor/eigen/Eigen/src/Core/arch/NEON/TypeCasting.h +1642 -0
  1213. package/vendor/eigen/Eigen/src/Core/arch/NEON/UnaryFunctors.h +57 -0
  1214. package/vendor/eigen/Eigen/src/Core/arch/SSE/Complex.h +503 -0
  1215. package/vendor/eigen/Eigen/src/Core/arch/SSE/MathFunctions.h +88 -0
  1216. package/vendor/eigen/Eigen/src/Core/arch/SSE/PacketMath.h +2384 -0
  1217. package/vendor/eigen/Eigen/src/Core/arch/SSE/Reductions.h +324 -0
  1218. package/vendor/eigen/Eigen/src/Core/arch/SSE/TypeCasting.h +230 -0
  1219. package/vendor/eigen/Eigen/src/Core/arch/SVE/MathFunctions.h +48 -0
  1220. package/vendor/eigen/Eigen/src/Core/arch/SVE/PacketMath.h +674 -0
  1221. package/vendor/eigen/Eigen/src/Core/arch/SVE/TypeCasting.h +52 -0
  1222. package/vendor/eigen/Eigen/src/Core/arch/SYCL/InteropHeaders.h +227 -0
  1223. package/vendor/eigen/Eigen/src/Core/arch/SYCL/MathFunctions.h +303 -0
  1224. package/vendor/eigen/Eigen/src/Core/arch/SYCL/PacketMath.h +576 -0
  1225. package/vendor/eigen/Eigen/src/Core/arch/SYCL/TypeCasting.h +83 -0
  1226. package/vendor/eigen/Eigen/src/Core/arch/ZVector/Complex.h +570 -0
  1227. package/vendor/eigen/Eigen/src/Core/arch/ZVector/MathFunctions.h +244 -0
  1228. package/vendor/eigen/Eigen/src/Core/arch/ZVector/PacketMath.h +1413 -0
  1229. package/vendor/eigen/Eigen/src/Core/functors/AssignmentFunctors.h +174 -0
  1230. package/vendor/eigen/Eigen/src/Core/functors/BinaryFunctors.h +747 -0
  1231. package/vendor/eigen/Eigen/src/Core/functors/NullaryFunctors.h +274 -0
  1232. package/vendor/eigen/Eigen/src/Core/functors/StlFunctors.h +149 -0
  1233. package/vendor/eigen/Eigen/src/Core/functors/TernaryFunctors.h +52 -0
  1234. package/vendor/eigen/Eigen/src/Core/functors/UnaryFunctors.h +1420 -0
  1235. package/vendor/eigen/Eigen/src/Core/products/GeneralBlockPanelKernel.h +3153 -0
  1236. package/vendor/eigen/Eigen/src/Core/products/GeneralMatrixMatrix.h +459 -0
  1237. package/vendor/eigen/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +330 -0
  1238. package/vendor/eigen/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +148 -0
  1239. package/vendor/eigen/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +205 -0
  1240. package/vendor/eigen/Eigen/src/Core/products/GeneralMatrixVector.h +473 -0
  1241. package/vendor/eigen/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +139 -0
  1242. package/vendor/eigen/Eigen/src/Core/products/Parallelizer.h +282 -0
  1243. package/vendor/eigen/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +483 -0
  1244. package/vendor/eigen/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +277 -0
  1245. package/vendor/eigen/Eigen/src/Core/products/SelfadjointMatrixVector.h +253 -0
  1246. package/vendor/eigen/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +115 -0
  1247. package/vendor/eigen/Eigen/src/Core/products/SelfadjointProduct.h +133 -0
  1248. package/vendor/eigen/Eigen/src/Core/products/SelfadjointRank2Update.h +95 -0
  1249. package/vendor/eigen/Eigen/src/Core/products/TriangularMatrixMatrix.h +397 -0
  1250. package/vendor/eigen/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +325 -0
  1251. package/vendor/eigen/Eigen/src/Core/products/TriangularMatrixVector.h +347 -0
  1252. package/vendor/eigen/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +275 -0
  1253. package/vendor/eigen/Eigen/src/Core/products/TriangularSolverMatrix.h +388 -0
  1254. package/vendor/eigen/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +166 -0
  1255. package/vendor/eigen/Eigen/src/Core/products/TriangularSolverVector.h +122 -0
  1256. package/vendor/eigen/Eigen/src/Core/util/Assert.h +158 -0
  1257. package/vendor/eigen/Eigen/src/Core/util/BlasUtil.h +622 -0
  1258. package/vendor/eigen/Eigen/src/Core/util/ConfigureVectorization.h +543 -0
  1259. package/vendor/eigen/Eigen/src/Core/util/Constants.h +598 -0
  1260. package/vendor/eigen/Eigen/src/Core/util/DisableStupidWarnings.h +146 -0
  1261. package/vendor/eigen/Eigen/src/Core/util/EmulateArray.h +270 -0
  1262. package/vendor/eigen/Eigen/src/Core/util/ForwardDeclarations.h +524 -0
  1263. package/vendor/eigen/Eigen/src/Core/util/GpuHipCudaDefines.inc +101 -0
  1264. package/vendor/eigen/Eigen/src/Core/util/GpuHipCudaUndefines.inc +45 -0
  1265. package/vendor/eigen/Eigen/src/Core/util/IndexedViewHelper.h +487 -0
  1266. package/vendor/eigen/Eigen/src/Core/util/IntegralConstant.h +279 -0
  1267. package/vendor/eigen/Eigen/src/Core/util/MKL_support.h +139 -0
  1268. package/vendor/eigen/Eigen/src/Core/util/Macros.h +1346 -0
  1269. package/vendor/eigen/Eigen/src/Core/util/MaxSizeVector.h +139 -0
  1270. package/vendor/eigen/Eigen/src/Core/util/Memory.h +1385 -0
  1271. package/vendor/eigen/Eigen/src/Core/util/Meta.h +760 -0
  1272. package/vendor/eigen/Eigen/src/Core/util/MoreMeta.h +638 -0
  1273. package/vendor/eigen/Eigen/src/Core/util/ReenableStupidWarnings.h +44 -0
  1274. package/vendor/eigen/Eigen/src/Core/util/ReshapedHelper.h +51 -0
  1275. package/vendor/eigen/Eigen/src/Core/util/Serializer.h +209 -0
  1276. package/vendor/eigen/Eigen/src/Core/util/StaticAssert.h +105 -0
  1277. package/vendor/eigen/Eigen/src/Core/util/SymbolicIndex.h +445 -0
  1278. package/vendor/eigen/Eigen/src/Core/util/XprHelper.h +1093 -0
  1279. package/vendor/eigen/Eigen/src/Eigenvalues/ComplexEigenSolver.h +315 -0
  1280. package/vendor/eigen/Eigen/src/Eigenvalues/ComplexSchur.h +442 -0
  1281. package/vendor/eigen/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +95 -0
  1282. package/vendor/eigen/Eigen/src/Eigenvalues/EigenSolver.h +579 -0
  1283. package/vendor/eigen/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +402 -0
  1284. package/vendor/eigen/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +212 -0
  1285. package/vendor/eigen/Eigen/src/Eigenvalues/HessenbergDecomposition.h +356 -0
  1286. package/vendor/eigen/Eigen/src/Eigenvalues/InternalHeaderCheck.h +3 -0
  1287. package/vendor/eigen/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +142 -0
  1288. package/vendor/eigen/Eigen/src/Eigenvalues/RealQZ.h +587 -0
  1289. package/vendor/eigen/Eigen/src/Eigenvalues/RealSchur.h +519 -0
  1290. package/vendor/eigen/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +83 -0
  1291. package/vendor/eigen/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +850 -0
  1292. package/vendor/eigen/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +90 -0
  1293. package/vendor/eigen/Eigen/src/Eigenvalues/Tridiagonalization.h +529 -0
  1294. package/vendor/eigen/Eigen/src/Geometry/AlignedBox.h +485 -0
  1295. package/vendor/eigen/Eigen/src/Geometry/AngleAxis.h +245 -0
  1296. package/vendor/eigen/Eigen/src/Geometry/EulerAngles.h +203 -0
  1297. package/vendor/eigen/Eigen/src/Geometry/Homogeneous.h +453 -0
  1298. package/vendor/eigen/Eigen/src/Geometry/Hyperplane.h +273 -0
  1299. package/vendor/eigen/Eigen/src/Geometry/InternalHeaderCheck.h +3 -0
  1300. package/vendor/eigen/Eigen/src/Geometry/OrthoMethods.h +257 -0
  1301. package/vendor/eigen/Eigen/src/Geometry/ParametrizedLine.h +232 -0
  1302. package/vendor/eigen/Eigen/src/Geometry/Quaternion.h +930 -0
  1303. package/vendor/eigen/Eigen/src/Geometry/Rotation2D.h +201 -0
  1304. package/vendor/eigen/Eigen/src/Geometry/RotationBase.h +209 -0
  1305. package/vendor/eigen/Eigen/src/Geometry/Scaling.h +195 -0
  1306. package/vendor/eigen/Eigen/src/Geometry/Transform.h +1485 -0
  1307. package/vendor/eigen/Eigen/src/Geometry/Translation.h +204 -0
  1308. package/vendor/eigen/Eigen/src/Geometry/Umeyama.h +161 -0
  1309. package/vendor/eigen/Eigen/src/Geometry/arch/Geometry_SIMD.h +154 -0
  1310. package/vendor/eigen/Eigen/src/Householder/BlockHouseholder.h +115 -0
  1311. package/vendor/eigen/Eigen/src/Householder/Householder.h +154 -0
  1312. package/vendor/eigen/Eigen/src/Householder/HouseholderSequence.h +504 -0
  1313. package/vendor/eigen/Eigen/src/Householder/InternalHeaderCheck.h +3 -0
  1314. package/vendor/eigen/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +213 -0
  1315. package/vendor/eigen/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +220 -0
  1316. package/vendor/eigen/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +217 -0
  1317. package/vendor/eigen/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +402 -0
  1318. package/vendor/eigen/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +449 -0
  1319. package/vendor/eigen/Eigen/src/IterativeLinearSolvers/InternalHeaderCheck.h +3 -0
  1320. package/vendor/eigen/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +395 -0
  1321. package/vendor/eigen/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +193 -0
  1322. package/vendor/eigen/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +111 -0
  1323. package/vendor/eigen/Eigen/src/Jacobi/InternalHeaderCheck.h +3 -0
  1324. package/vendor/eigen/Eigen/src/Jacobi/Jacobi.h +427 -0
  1325. package/vendor/eigen/Eigen/src/KLUSupport/InternalHeaderCheck.h +3 -0
  1326. package/vendor/eigen/Eigen/src/KLUSupport/KLUSupport.h +339 -0
  1327. package/vendor/eigen/Eigen/src/LU/Determinant.h +98 -0
  1328. package/vendor/eigen/Eigen/src/LU/FullPivLU.h +826 -0
  1329. package/vendor/eigen/Eigen/src/LU/InternalHeaderCheck.h +3 -0
  1330. package/vendor/eigen/Eigen/src/LU/InverseImpl.h +353 -0
  1331. package/vendor/eigen/Eigen/src/LU/PartialPivLU.h +586 -0
  1332. package/vendor/eigen/Eigen/src/LU/PartialPivLU_LAPACKE.h +97 -0
  1333. package/vendor/eigen/Eigen/src/LU/arch/InverseSize4.h +353 -0
  1334. package/vendor/eigen/Eigen/src/MetisSupport/InternalHeaderCheck.h +3 -0
  1335. package/vendor/eigen/Eigen/src/MetisSupport/MetisSupport.h +125 -0
  1336. package/vendor/eigen/Eigen/src/OrderingMethods/Amd.h +413 -0
  1337. package/vendor/eigen/Eigen/src/OrderingMethods/Eigen_Colamd.h +1690 -0
  1338. package/vendor/eigen/Eigen/src/OrderingMethods/InternalHeaderCheck.h +3 -0
  1339. package/vendor/eigen/Eigen/src/OrderingMethods/Ordering.h +146 -0
  1340. package/vendor/eigen/Eigen/src/PaStiXSupport/InternalHeaderCheck.h +3 -0
  1341. package/vendor/eigen/Eigen/src/PaStiXSupport/PaStiXSupport.h +632 -0
  1342. package/vendor/eigen/Eigen/src/PardisoSupport/InternalHeaderCheck.h +3 -0
  1343. package/vendor/eigen/Eigen/src/PardisoSupport/PardisoSupport.h +500 -0
  1344. package/vendor/eigen/Eigen/src/QR/ColPivHouseholderQR.h +674 -0
  1345. package/vendor/eigen/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +161 -0
  1346. package/vendor/eigen/Eigen/src/QR/CompleteOrthogonalDecomposition.h +648 -0
  1347. package/vendor/eigen/Eigen/src/QR/FullPivHouseholderQR.h +733 -0
  1348. package/vendor/eigen/Eigen/src/QR/HouseholderQR.h +543 -0
  1349. package/vendor/eigen/Eigen/src/QR/HouseholderQR_LAPACKE.h +77 -0
  1350. package/vendor/eigen/Eigen/src/QR/InternalHeaderCheck.h +3 -0
  1351. package/vendor/eigen/Eigen/src/SPQRSupport/InternalHeaderCheck.h +3 -0
  1352. package/vendor/eigen/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +315 -0
  1353. package/vendor/eigen/Eigen/src/SVD/BDCSVD.h +1470 -0
  1354. package/vendor/eigen/Eigen/src/SVD/BDCSVD_LAPACKE.h +174 -0
  1355. package/vendor/eigen/Eigen/src/SVD/InternalHeaderCheck.h +3 -0
  1356. package/vendor/eigen/Eigen/src/SVD/JacobiSVD.h +846 -0
  1357. package/vendor/eigen/Eigen/src/SVD/JacobiSVD_LAPACKE.h +127 -0
  1358. package/vendor/eigen/Eigen/src/SVD/SVDBase.h +436 -0
  1359. package/vendor/eigen/Eigen/src/SVD/UpperBidiagonalization.h +379 -0
  1360. package/vendor/eigen/Eigen/src/SparseCholesky/InternalHeaderCheck.h +3 -0
  1361. package/vendor/eigen/Eigen/src/SparseCholesky/SimplicialCholesky.h +868 -0
  1362. package/vendor/eigen/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +388 -0
  1363. package/vendor/eigen/Eigen/src/SparseCore/AmbiVector.h +329 -0
  1364. package/vendor/eigen/Eigen/src/SparseCore/CompressedStorage.h +206 -0
  1365. package/vendor/eigen/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +308 -0
  1366. package/vendor/eigen/Eigen/src/SparseCore/InternalHeaderCheck.h +3 -0
  1367. package/vendor/eigen/Eigen/src/SparseCore/SparseAssign.h +279 -0
  1368. package/vendor/eigen/Eigen/src/SparseCore/SparseBlock.h +534 -0
  1369. package/vendor/eigen/Eigen/src/SparseCore/SparseColEtree.h +194 -0
  1370. package/vendor/eigen/Eigen/src/SparseCore/SparseCompressedBase.h +592 -0
  1371. package/vendor/eigen/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +938 -0
  1372. package/vendor/eigen/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +142 -0
  1373. package/vendor/eigen/Eigen/src/SparseCore/SparseDenseProduct.h +314 -0
  1374. package/vendor/eigen/Eigen/src/SparseCore/SparseDiagonalProduct.h +138 -0
  1375. package/vendor/eigen/Eigen/src/SparseCore/SparseDot.h +100 -0
  1376. package/vendor/eigen/Eigen/src/SparseCore/SparseFuzzy.h +31 -0
  1377. package/vendor/eigen/Eigen/src/SparseCore/SparseMap.h +295 -0
  1378. package/vendor/eigen/Eigen/src/SparseCore/SparseMatrix.h +1876 -0
  1379. package/vendor/eigen/Eigen/src/SparseCore/SparseMatrixBase.h +451 -0
  1380. package/vendor/eigen/Eigen/src/SparseCore/SparsePermutation.h +249 -0
  1381. package/vendor/eigen/Eigen/src/SparseCore/SparseProduct.h +178 -0
  1382. package/vendor/eigen/Eigen/src/SparseCore/SparseRedux.h +47 -0
  1383. package/vendor/eigen/Eigen/src/SparseCore/SparseRef.h +370 -0
  1384. package/vendor/eigen/Eigen/src/SparseCore/SparseSelfAdjointView.h +613 -0
  1385. package/vendor/eigen/Eigen/src/SparseCore/SparseSolverBase.h +115 -0
  1386. package/vendor/eigen/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +184 -0
  1387. package/vendor/eigen/Eigen/src/SparseCore/SparseTranspose.h +83 -0
  1388. package/vendor/eigen/Eigen/src/SparseCore/SparseTriangularView.h +177 -0
  1389. package/vendor/eigen/Eigen/src/SparseCore/SparseUtil.h +209 -0
  1390. package/vendor/eigen/Eigen/src/SparseCore/SparseVector.h +532 -0
  1391. package/vendor/eigen/Eigen/src/SparseCore/SparseView.h +225 -0
  1392. package/vendor/eigen/Eigen/src/SparseCore/TriangularSolver.h +274 -0
  1393. package/vendor/eigen/Eigen/src/SparseLU/InternalHeaderCheck.h +3 -0
  1394. package/vendor/eigen/Eigen/src/SparseLU/SparseLU.h +969 -0
  1395. package/vendor/eigen/Eigen/src/SparseLU/SparseLUImpl.h +79 -0
  1396. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_Memory.h +210 -0
  1397. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_Structs.h +113 -0
  1398. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +319 -0
  1399. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_Utils.h +75 -0
  1400. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_column_bmod.h +177 -0
  1401. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_column_dfs.h +168 -0
  1402. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +106 -0
  1403. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +114 -0
  1404. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +133 -0
  1405. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_panel_bmod.h +215 -0
  1406. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_panel_dfs.h +235 -0
  1407. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_pivotL.h +136 -0
  1408. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_pruneL.h +130 -0
  1409. package/vendor/eigen/Eigen/src/SparseLU/SparseLU_relax_snode.h +81 -0
  1410. package/vendor/eigen/Eigen/src/SparseQR/InternalHeaderCheck.h +3 -0
  1411. package/vendor/eigen/Eigen/src/SparseQR/SparseQR.h +706 -0
  1412. package/vendor/eigen/Eigen/src/StlSupport/StdDeque.h +51 -0
  1413. package/vendor/eigen/Eigen/src/StlSupport/StdList.h +50 -0
  1414. package/vendor/eigen/Eigen/src/StlSupport/StdVector.h +51 -0
  1415. package/vendor/eigen/Eigen/src/StlSupport/details.h +82 -0
  1416. package/vendor/eigen/Eigen/src/SuperLUSupport/InternalHeaderCheck.h +3 -0
  1417. package/vendor/eigen/Eigen/src/SuperLUSupport/SuperLUSupport.h +929 -0
  1418. package/vendor/eigen/Eigen/src/ThreadPool/Barrier.h +70 -0
  1419. package/vendor/eigen/Eigen/src/ThreadPool/CoreThreadPoolDevice.h +336 -0
  1420. package/vendor/eigen/Eigen/src/ThreadPool/EventCount.h +241 -0
  1421. package/vendor/eigen/Eigen/src/ThreadPool/ForkJoin.h +140 -0
  1422. package/vendor/eigen/Eigen/src/ThreadPool/InternalHeaderCheck.h +4 -0
  1423. package/vendor/eigen/Eigen/src/ThreadPool/NonBlockingThreadPool.h +587 -0
  1424. package/vendor/eigen/Eigen/src/ThreadPool/RunQueue.h +230 -0
  1425. package/vendor/eigen/Eigen/src/ThreadPool/ThreadCancel.h +21 -0
  1426. package/vendor/eigen/Eigen/src/ThreadPool/ThreadEnvironment.h +43 -0
  1427. package/vendor/eigen/Eigen/src/ThreadPool/ThreadLocal.h +289 -0
  1428. package/vendor/eigen/Eigen/src/ThreadPool/ThreadPoolInterface.h +50 -0
  1429. package/vendor/eigen/Eigen/src/ThreadPool/ThreadYield.h +16 -0
  1430. package/vendor/eigen/Eigen/src/UmfPackSupport/InternalHeaderCheck.h +3 -0
  1431. package/vendor/eigen/Eigen/src/UmfPackSupport/UmfPackSupport.h +606 -0
  1432. package/vendor/eigen/Eigen/src/misc/Image.h +80 -0
  1433. package/vendor/eigen/Eigen/src/misc/InternalHeaderCheck.h +3 -0
  1434. package/vendor/eigen/Eigen/src/misc/Kernel.h +77 -0
  1435. package/vendor/eigen/Eigen/src/misc/RealSvd2x2.h +53 -0
  1436. package/vendor/eigen/Eigen/src/misc/blas.h +97 -0
  1437. package/vendor/eigen/Eigen/src/misc/lapacke.h +10085 -0
  1438. package/vendor/eigen/Eigen/src/misc/lapacke_helpers.h +163 -0
  1439. package/vendor/eigen/Eigen/src/misc/lapacke_mangling.h +16 -0
  1440. package/vendor/eigen/Eigen/src/plugins/ArrayCwiseBinaryOps.inc +344 -0
  1441. package/vendor/eigen/Eigen/src/plugins/ArrayCwiseUnaryOps.inc +544 -0
  1442. package/vendor/eigen/Eigen/src/plugins/BlockMethods.inc +1370 -0
  1443. package/vendor/eigen/Eigen/src/plugins/CommonCwiseBinaryOps.inc +116 -0
  1444. package/vendor/eigen/Eigen/src/plugins/CommonCwiseUnaryOps.inc +167 -0
  1445. package/vendor/eigen/Eigen/src/plugins/IndexedViewMethods.inc +192 -0
  1446. package/vendor/eigen/Eigen/src/plugins/InternalHeaderCheck.inc +3 -0
  1447. package/vendor/eigen/Eigen/src/plugins/MatrixCwiseBinaryOps.inc +331 -0
  1448. package/vendor/eigen/Eigen/src/plugins/MatrixCwiseUnaryOps.inc +118 -0
  1449. package/vendor/eigen/Eigen/src/plugins/ReshapedMethods.inc +133 -0
  1450. package/vendor/eigen/README.md +5 -0
  1451. package/vendor/mpdecimal/COPYRIGHT.txt +23 -0
  1452. package/vendor/mpdecimal/README.txt +53 -0
  1453. package/vendor/mpdecimal/libmpdec/.objs/README.txt +8 -0
  1454. package/vendor/mpdecimal/libmpdec/.objs/symbols32.exp +343 -0
  1455. package/vendor/mpdecimal/libmpdec/.objs/symbols64.exp +347 -0
  1456. package/vendor/mpdecimal/libmpdec/.pc/libmpdec.pc.in +11 -0
  1457. package/vendor/mpdecimal/libmpdec/.profile/train.sh +35 -0
  1458. package/vendor/mpdecimal/libmpdec/README.txt +84 -0
  1459. package/vendor/mpdecimal/libmpdec/basearith.c +649 -0
  1460. package/vendor/mpdecimal/libmpdec/basearith.h +217 -0
  1461. package/vendor/mpdecimal/libmpdec/bits.h +188 -0
  1462. package/vendor/mpdecimal/libmpdec/constants.c +129 -0
  1463. package/vendor/mpdecimal/libmpdec/constants.h +88 -0
  1464. package/vendor/mpdecimal/libmpdec/context.c +285 -0
  1465. package/vendor/mpdecimal/libmpdec/convolute.c +172 -0
  1466. package/vendor/mpdecimal/libmpdec/convolute.h +48 -0
  1467. package/vendor/mpdecimal/libmpdec/crt.c +178 -0
  1468. package/vendor/mpdecimal/libmpdec/crt.h +45 -0
  1469. package/vendor/mpdecimal/libmpdec/difradix2.c +171 -0
  1470. package/vendor/mpdecimal/libmpdec/difradix2.h +46 -0
  1471. package/vendor/mpdecimal/libmpdec/fnt.c +77 -0
  1472. package/vendor/mpdecimal/libmpdec/fnt.h +46 -0
  1473. package/vendor/mpdecimal/libmpdec/fourstep.c +242 -0
  1474. package/vendor/mpdecimal/libmpdec/fourstep.h +46 -0
  1475. package/vendor/mpdecimal/libmpdec/io.c +1610 -0
  1476. package/vendor/mpdecimal/libmpdec/io.h +61 -0
  1477. package/vendor/mpdecimal/libmpdec/mpalloc.c +347 -0
  1478. package/vendor/mpdecimal/libmpdec/mpalloc.h +53 -0
  1479. package/vendor/mpdecimal/libmpdec/mpdecimal.c +9155 -0
  1480. package/vendor/mpdecimal/libmpdec/mpdecimal.h.in +804 -0
  1481. package/vendor/mpdecimal/libmpdec/mpsignal.c +966 -0
  1482. package/vendor/mpdecimal/libmpdec/numbertheory.c +129 -0
  1483. package/vendor/mpdecimal/libmpdec/numbertheory.h +75 -0
  1484. package/vendor/mpdecimal/libmpdec/sixstep.c +212 -0
  1485. package/vendor/mpdecimal/libmpdec/sixstep.h +46 -0
  1486. package/vendor/mpdecimal/libmpdec/transpose.c +275 -0
  1487. package/vendor/mpdecimal/libmpdec/transpose.h +60 -0
  1488. package/vendor/mpdecimal/libmpdec/typearith.h +661 -0
  1489. package/vendor/mpdecimal/libmpdec/umodarith.h +645 -0
  1490. package/vendor/symengine/AUTHORS +101 -0
  1491. package/vendor/symengine/LICENSE +254 -0
  1492. package/vendor/symengine/README.md +199 -0
  1493. package/vendor/symengine/symengine/add.cpp +508 -0
  1494. package/vendor/symengine/symengine/add.h +187 -0
  1495. package/vendor/symengine/symengine/as_real_imag.cpp +289 -0
  1496. package/vendor/symengine/symengine/assumptions.cpp +202 -0
  1497. package/vendor/symengine/symengine/assumptions.h +47 -0
  1498. package/vendor/symengine/symengine/basic-inl.h +152 -0
  1499. package/vendor/symengine/symengine/basic-methods.inc +9 -0
  1500. package/vendor/symengine/symengine/basic.cpp +110 -0
  1501. package/vendor/symengine/symengine/basic.h +356 -0
  1502. package/vendor/symengine/symengine/complex.cpp +198 -0
  1503. package/vendor/symengine/symengine/complex.h +396 -0
  1504. package/vendor/symengine/symengine/complex_double.cpp +72 -0
  1505. package/vendor/symengine/symengine/complex_double.h +570 -0
  1506. package/vendor/symengine/symengine/complex_mpc.h +406 -0
  1507. package/vendor/symengine/symengine/constants.cpp +130 -0
  1508. package/vendor/symengine/symengine/constants.h +81 -0
  1509. package/vendor/symengine/symengine/cse.cpp +556 -0
  1510. package/vendor/symengine/symengine/cwrapper.h +949 -0
  1511. package/vendor/symengine/symengine/dense_matrix.cpp +2100 -0
  1512. package/vendor/symengine/symengine/derivative.cpp +841 -0
  1513. package/vendor/symengine/symengine/derivative.h +137 -0
  1514. package/vendor/symengine/symengine/dict.cpp +125 -0
  1515. package/vendor/symengine/symengine/dict.h +333 -0
  1516. package/vendor/symengine/symengine/diophantine.cpp +139 -0
  1517. package/vendor/symengine/symengine/diophantine.h +20 -0
  1518. package/vendor/symengine/symengine/eval.cpp +109 -0
  1519. package/vendor/symengine/symengine/eval.h +40 -0
  1520. package/vendor/symengine/symengine/eval_arb.h +31 -0
  1521. package/vendor/symengine/symengine/eval_double.cpp +959 -0
  1522. package/vendor/symengine/symengine/eval_double.h +28 -0
  1523. package/vendor/symengine/symengine/eval_mpc.h +29 -0
  1524. package/vendor/symengine/symengine/eval_mpfr.h +26 -0
  1525. package/vendor/symengine/symengine/expand.cpp +379 -0
  1526. package/vendor/symengine/symengine/expression.cpp +24 -0
  1527. package/vendor/symengine/symengine/expression.h +375 -0
  1528. package/vendor/symengine/symengine/fields.cpp +861 -0
  1529. package/vendor/symengine/symengine/fields.h +647 -0
  1530. package/vendor/symengine/symengine/finitediff.cpp +70 -0
  1531. package/vendor/symengine/symengine/finitediff.h +21 -0
  1532. package/vendor/symengine/symengine/flint_wrapper.h +1010 -0
  1533. package/vendor/symengine/symengine/functions.cpp +3913 -0
  1534. package/vendor/symengine/symengine/functions.h +1321 -0
  1535. package/vendor/symengine/symengine/infinity.cpp +537 -0
  1536. package/vendor/symengine/symengine/infinity.h +118 -0
  1537. package/vendor/symengine/symengine/integer.cpp +153 -0
  1538. package/vendor/symengine/symengine/integer.h +227 -0
  1539. package/vendor/symengine/symengine/interruption.cpp +9 -0
  1540. package/vendor/symengine/symengine/interruption.h +19 -0
  1541. package/vendor/symengine/symengine/lambda_double.h +918 -0
  1542. package/vendor/symengine/symengine/limits.h +35 -0
  1543. package/vendor/symengine/symengine/llvm_double.h +201 -0
  1544. package/vendor/symengine/symengine/logic.cpp +812 -0
  1545. package/vendor/symengine/symengine/logic.h +281 -0
  1546. package/vendor/symengine/symengine/matrices/conjugate_matrix.cpp +139 -0
  1547. package/vendor/symengine/symengine/matrices/conjugate_matrix.h +39 -0
  1548. package/vendor/symengine/symengine/matrices/diagonal_matrix.cpp +79 -0
  1549. package/vendor/symengine/symengine/matrices/diagonal_matrix.h +52 -0
  1550. package/vendor/symengine/symengine/matrices/hadamard_product.cpp +151 -0
  1551. package/vendor/symengine/symengine/matrices/hadamard_product.h +42 -0
  1552. package/vendor/symengine/symengine/matrices/identity_matrix.cpp +63 -0
  1553. package/vendor/symengine/symengine/matrices/identity_matrix.h +40 -0
  1554. package/vendor/symengine/symengine/matrices/immutable_dense_matrix.cpp +143 -0
  1555. package/vendor/symengine/symengine/matrices/immutable_dense_matrix.h +65 -0
  1556. package/vendor/symengine/symengine/matrices/is_diagonal.cpp +115 -0
  1557. package/vendor/symengine/symengine/matrices/is_lower.cpp +110 -0
  1558. package/vendor/symengine/symengine/matrices/is_real.cpp +78 -0
  1559. package/vendor/symengine/symengine/matrices/is_square.cpp +85 -0
  1560. package/vendor/symengine/symengine/matrices/is_symmetric.cpp +112 -0
  1561. package/vendor/symengine/symengine/matrices/is_toeplitz.cpp +104 -0
  1562. package/vendor/symengine/symengine/matrices/is_upper.cpp +108 -0
  1563. package/vendor/symengine/symengine/matrices/is_zero.cpp +81 -0
  1564. package/vendor/symengine/symengine/matrices/matrix_add.cpp +176 -0
  1565. package/vendor/symengine/symengine/matrices/matrix_add.h +42 -0
  1566. package/vendor/symengine/symengine/matrices/matrix_expr.h +19 -0
  1567. package/vendor/symengine/symengine/matrices/matrix_mul.cpp +258 -0
  1568. package/vendor/symengine/symengine/matrices/matrix_mul.h +55 -0
  1569. package/vendor/symengine/symengine/matrices/matrix_symbol.cpp +34 -0
  1570. package/vendor/symengine/symengine/matrices/matrix_symbol.h +41 -0
  1571. package/vendor/symengine/symengine/matrices/size.cpp +121 -0
  1572. package/vendor/symengine/symengine/matrices/size.h +15 -0
  1573. package/vendor/symengine/symengine/matrices/trace.cpp +112 -0
  1574. package/vendor/symengine/symengine/matrices/trace.h +31 -0
  1575. package/vendor/symengine/symengine/matrices/transpose.cpp +126 -0
  1576. package/vendor/symengine/symengine/matrices/transpose.h +39 -0
  1577. package/vendor/symengine/symengine/matrices/zero_matrix.cpp +94 -0
  1578. package/vendor/symengine/symengine/matrices/zero_matrix.h +47 -0
  1579. package/vendor/symengine/symengine/matrix.cpp +33 -0
  1580. package/vendor/symengine/symengine/matrix.h +675 -0
  1581. package/vendor/symengine/symengine/matrix_expressions.h +51 -0
  1582. package/vendor/symengine/symengine/monomials.cpp +33 -0
  1583. package/vendor/symengine/symengine/monomials.h +20 -0
  1584. package/vendor/symengine/symengine/mp_boost.cpp +635 -0
  1585. package/vendor/symengine/symengine/mp_class.h +1286 -0
  1586. package/vendor/symengine/symengine/mp_wrapper.h +510 -0
  1587. package/vendor/symengine/symengine/mul.cpp +629 -0
  1588. package/vendor/symengine/symengine/mul.h +146 -0
  1589. package/vendor/symengine/symengine/nan.cpp +234 -0
  1590. package/vendor/symengine/symengine/nan.h +82 -0
  1591. package/vendor/symengine/symengine/ntheory.cpp +1700 -0
  1592. package/vendor/symengine/symengine/ntheory.h +213 -0
  1593. package/vendor/symengine/symengine/ntheory_funcs.cpp +189 -0
  1594. package/vendor/symengine/symengine/ntheory_funcs.h +78 -0
  1595. package/vendor/symengine/symengine/number.cpp +36 -0
  1596. package/vendor/symengine/symengine/number.h +256 -0
  1597. package/vendor/symengine/symengine/numer_denom.cpp +149 -0
  1598. package/vendor/symengine/symengine/parser/parser.cpp +367 -0
  1599. package/vendor/symengine/symengine/parser/parser.h +56 -0
  1600. package/vendor/symengine/symengine/parser/parser.tab.cc +1495 -0
  1601. package/vendor/symengine/symengine/parser/parser.tab.hh +1410 -0
  1602. package/vendor/symengine/symengine/parser/parser_old.cpp +688 -0
  1603. package/vendor/symengine/symengine/parser/tokenizer.cpp +435 -0
  1604. package/vendor/symengine/symengine/parser/tokenizer.h +35 -0
  1605. package/vendor/symengine/symengine/parser.h +25 -0
  1606. package/vendor/symengine/symengine/polys/basic_conversions.cpp +178 -0
  1607. package/vendor/symengine/symengine/polys/basic_conversions.h +575 -0
  1608. package/vendor/symengine/symengine/polys/cancel.h +39 -0
  1609. package/vendor/symengine/symengine/polys/msymenginepoly.cpp +130 -0
  1610. package/vendor/symengine/symengine/polys/msymenginepoly.h +536 -0
  1611. package/vendor/symengine/symengine/polys/uexprpoly.cpp +90 -0
  1612. package/vendor/symengine/symengine/polys/uexprpoly.h +205 -0
  1613. package/vendor/symengine/symengine/polys/uintpoly.cpp +62 -0
  1614. package/vendor/symengine/symengine/polys/uintpoly.h +134 -0
  1615. package/vendor/symengine/symengine/polys/uintpoly_flint.h +228 -0
  1616. package/vendor/symengine/symengine/polys/uintpoly_piranha.h +373 -0
  1617. package/vendor/symengine/symengine/polys/upolybase.h +769 -0
  1618. package/vendor/symengine/symengine/polys/uratpoly.cpp +59 -0
  1619. package/vendor/symengine/symengine/polys/uratpoly.h +58 -0
  1620. package/vendor/symengine/symengine/polys/usymenginepoly.h +139 -0
  1621. package/vendor/symengine/symengine/pow.cpp +303 -0
  1622. package/vendor/symengine/symengine/pow.h +76 -0
  1623. package/vendor/symengine/symengine/prime_sieve.cpp +143 -0
  1624. package/vendor/symengine/symengine/prime_sieve.h +64 -0
  1625. package/vendor/symengine/symengine/printers/codegen.cpp +716 -0
  1626. package/vendor/symengine/symengine/printers/codegen.h +168 -0
  1627. package/vendor/symengine/symengine/printers/latex.cpp +630 -0
  1628. package/vendor/symengine/symengine/printers/latex.h +76 -0
  1629. package/vendor/symengine/symengine/printers/mathml.cpp +358 -0
  1630. package/vendor/symengine/symengine/printers/mathml.h +62 -0
  1631. package/vendor/symengine/symengine/printers/stringbox.cpp +276 -0
  1632. package/vendor/symengine/symengine/printers/stringbox.h +60 -0
  1633. package/vendor/symengine/symengine/printers/strprinter.cpp +1212 -0
  1634. package/vendor/symengine/symengine/printers/strprinter.h +217 -0
  1635. package/vendor/symengine/symengine/printers/unicode.cpp +730 -0
  1636. package/vendor/symengine/symengine/printers/unicode.h +84 -0
  1637. package/vendor/symengine/symengine/printers.h +46 -0
  1638. package/vendor/symengine/symengine/rational.cpp +365 -0
  1639. package/vendor/symengine/symengine/rational.h +341 -0
  1640. package/vendor/symengine/symengine/real_double.cpp +388 -0
  1641. package/vendor/symengine/symengine/real_double.h +492 -0
  1642. package/vendor/symengine/symengine/real_mpfr.h +379 -0
  1643. package/vendor/symengine/symengine/refine.cpp +213 -0
  1644. package/vendor/symengine/symengine/refine.h +43 -0
  1645. package/vendor/symengine/symengine/rewrite.cpp +235 -0
  1646. package/vendor/symengine/symengine/rings.cpp +107 -0
  1647. package/vendor/symengine/symengine/rings.h +24 -0
  1648. package/vendor/symengine/symengine/serialize-cereal.h +964 -0
  1649. package/vendor/symengine/symengine/series.cpp +85 -0
  1650. package/vendor/symengine/symengine/series.h +727 -0
  1651. package/vendor/symengine/symengine/series_flint.h +214 -0
  1652. package/vendor/symengine/symengine/series_generic.cpp +247 -0
  1653. package/vendor/symengine/symengine/series_generic.h +86 -0
  1654. package/vendor/symengine/symengine/series_piranha.h +95 -0
  1655. package/vendor/symengine/symengine/series_visitor.h +357 -0
  1656. package/vendor/symengine/symengine/set_funcs.cpp +296 -0
  1657. package/vendor/symengine/symengine/sets.cpp +1854 -0
  1658. package/vendor/symengine/symengine/sets.h +696 -0
  1659. package/vendor/symengine/symengine/simplify.cpp +62 -0
  1660. package/vendor/symengine/symengine/simplify.h +34 -0
  1661. package/vendor/symengine/symengine/solve.cpp +665 -0
  1662. package/vendor/symengine/symengine/solve.h +117 -0
  1663. package/vendor/symengine/symengine/sparse_matrix.cpp +776 -0
  1664. package/vendor/symengine/symengine/special_boost.cpp +85 -0
  1665. package/vendor/symengine/symengine/special_double.h +570 -0
  1666. package/vendor/symengine/symengine/subs.h +579 -0
  1667. package/vendor/symengine/symengine/symbol.cpp +88 -0
  1668. package/vendor/symengine/symengine/symbol.h +116 -0
  1669. package/vendor/symengine/symengine/symengine_assert.h +50 -0
  1670. package/vendor/symengine/symengine/symengine_casts.h +139 -0
  1671. package/vendor/symengine/symengine/symengine_exception.h +101 -0
  1672. package/vendor/symengine/symengine/symengine_rcp.cpp +21 -0
  1673. package/vendor/symengine/symengine/symengine_rcp.h +384 -0
  1674. package/vendor/symengine/symengine/test_visitors.cpp +1083 -0
  1675. package/vendor/symengine/symengine/test_visitors.h +466 -0
  1676. package/vendor/symengine/symengine/tribool.h +85 -0
  1677. package/vendor/symengine/symengine/tuple.cpp +47 -0
  1678. package/vendor/symengine/symengine/tuple.h +32 -0
  1679. package/vendor/symengine/symengine/type_codes.inc +139 -0
  1680. package/vendor/symengine/symengine/utilities/cereal/LICENSE +24 -0
  1681. package/vendor/symengine/symengine/utilities/cereal/include/cereal/access.hpp +351 -0
  1682. package/vendor/symengine/symengine/utilities/cereal/include/cereal/archives/adapters.hpp +163 -0
  1683. package/vendor/symengine/symengine/utilities/cereal/include/cereal/archives/binary.hpp +169 -0
  1684. package/vendor/symengine/symengine/utilities/cereal/include/cereal/archives/json.hpp +1024 -0
  1685. package/vendor/symengine/symengine/utilities/cereal/include/cereal/archives/portable_binary.hpp +334 -0
  1686. package/vendor/symengine/symengine/utilities/cereal/include/cereal/archives/xml.hpp +956 -0
  1687. package/vendor/symengine/symengine/utilities/cereal/include/cereal/cereal.hpp +1120 -0
  1688. package/vendor/symengine/symengine/utilities/cereal/include/cereal/details/helpers.hpp +422 -0
  1689. package/vendor/symengine/symengine/utilities/cereal/include/cereal/details/polymorphic_impl.hpp +825 -0
  1690. package/vendor/symengine/symengine/utilities/cereal/include/cereal/details/polymorphic_impl_fwd.hpp +65 -0
  1691. package/vendor/symengine/symengine/utilities/cereal/include/cereal/details/static_object.hpp +128 -0
  1692. package/vendor/symengine/symengine/utilities/cereal/include/cereal/details/traits.hpp +1411 -0
  1693. package/vendor/symengine/symengine/utilities/cereal/include/cereal/details/util.hpp +84 -0
  1694. package/vendor/symengine/symengine/utilities/cereal/include/cereal/macros.hpp +156 -0
  1695. package/vendor/symengine/symengine/utilities/cereal/include/cereal/specialize.hpp +139 -0
  1696. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/array.hpp +79 -0
  1697. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/atomic.hpp +55 -0
  1698. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/base_class.hpp +203 -0
  1699. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/bitset.hpp +176 -0
  1700. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/boost_variant.hpp +164 -0
  1701. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/chrono.hpp +72 -0
  1702. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/common.hpp +129 -0
  1703. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/complex.hpp +56 -0
  1704. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/concepts/pair_associative_container.hpp +73 -0
  1705. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/deque.hpp +62 -0
  1706. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/forward_list.hpp +68 -0
  1707. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/functional.hpp +43 -0
  1708. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/list.hpp +62 -0
  1709. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/map.hpp +36 -0
  1710. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/memory.hpp +425 -0
  1711. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/optional.hpp +65 -0
  1712. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/polymorphic.hpp +483 -0
  1713. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/queue.hpp +132 -0
  1714. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/set.hpp +103 -0
  1715. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/stack.hpp +76 -0
  1716. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/string.hpp +61 -0
  1717. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/tuple.hpp +123 -0
  1718. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/unordered_map.hpp +36 -0
  1719. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/unordered_set.hpp +99 -0
  1720. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/utility.hpp +47 -0
  1721. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/valarray.hpp +89 -0
  1722. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/variant.hpp +108 -0
  1723. package/vendor/symengine/symengine/utilities/cereal/include/cereal/types/vector.hpp +112 -0
  1724. package/vendor/symengine/symengine/utilities/cereal/include/cereal/version.hpp +52 -0
  1725. package/vendor/symengine/symengine/utilities/fast_float/include/fast_float/fast_float.h +3720 -0
  1726. package/vendor/symengine/symengine/utilities/stream_fmt.h +25 -0
  1727. package/vendor/symengine/symengine/visitor.cpp +348 -0
  1728. package/vendor/symengine/symengine/visitor.h +425 -0
@@ -0,0 +1,1614 @@
1
+ // Copyright John Maddock 2007.
2
+ // Copyright Matt Borland 2024.
3
+ // Use, modification and distribution are subject to the
4
+ // Boost Software License, Version 1.0. (See accompanying file
5
+ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
+
7
+ #ifndef BOOST_MATH_EXPINT_HPP
8
+ #define BOOST_MATH_EXPINT_HPP
9
+
10
+ #ifdef _MSC_VER
11
+ #pragma once
12
+ #pragma warning(push)
13
+ #pragma warning(disable:4702) // Unreachable code (release mode only warning)
14
+ #endif
15
+
16
+ #include <boost/math/tools/config.hpp>
17
+ #include <boost/math/tools/cstdint.hpp>
18
+ #include <boost/math/tools/type_traits.hpp>
19
+ #include <boost/math/tools/tuple.hpp>
20
+ #include <boost/math/tools/precision.hpp>
21
+ #include <boost/math/tools/promotion.hpp>
22
+ #include <boost/math/tools/fraction.hpp>
23
+ #include <boost/math/tools/series.hpp>
24
+ #include <boost/math/policies/error_handling.hpp>
25
+ #include <boost/math/special_functions/math_fwd.hpp>
26
+ #include <boost/math/special_functions/digamma.hpp>
27
+ #include <boost/math/special_functions/log1p.hpp>
28
+
29
+ #if defined(__GNUC__) && defined(BOOST_MATH_USE_FLOAT128)
30
+ //
31
+ // This is the only way we can avoid
32
+ // warning: non-standard suffix on floating constant [-Wpedantic]
33
+ // when building with -Wall -pedantic. Neither __extension__
34
+ // nor #pragma diagnostic ignored work :(
35
+ //
36
+ #pragma GCC system_header
37
+ #endif
38
+
39
+ namespace boost{ namespace math{
40
+
41
+ template <class T, class Policy>
42
+ BOOST_MATH_GPU_ENABLED inline typename tools::promote_args<T>::type
43
+ expint(unsigned n, T z, const Policy& /*pol*/);
44
+
45
+ namespace detail{
46
+
47
+ template <class T>
48
+ BOOST_MATH_GPU_ENABLED inline T expint_1_rational(const T& z, const boost::math::integral_constant<int, 0>&)
49
+ {
50
+ // this function is never actually called
51
+ BOOST_MATH_ASSERT(0);
52
+ return z;
53
+ }
54
+
55
+ template <class T>
56
+ BOOST_MATH_GPU_ENABLED T expint_1_rational(const T& z, const boost::math::integral_constant<int, 53>&)
57
+ {
58
+ BOOST_MATH_STD_USING
59
+ T result;
60
+ if(z <= 1)
61
+ {
62
+ // Maximum Deviation Found: 2.006e-18
63
+ // Expected Error Term: 2.006e-18
64
+ // Max error found at double precision: 2.760e-17
65
+ // LCOV_EXCL_START
66
+ static const T Y = 0.66373538970947265625F;
67
+ static const T P[6] = {
68
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.0865197248079397976498),
69
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.0320913665303559189999),
70
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.245088216639761496153),
71
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.0368031736257943745142),
72
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.00399167106081113256961),
73
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.000111507792921197858394)
74
+ };
75
+ static const T Q[6] = {
76
+ BOOST_MATH_BIG_CONSTANT(T, 53, 1.0),
77
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.37091387659397013215),
78
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.056770677104207528384),
79
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.00427347600017103698101),
80
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.000131049900798434683324),
81
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.528611029520217142048e-6)
82
+ };
83
+ // LCOV_EXCL_STOP
84
+ result = tools::evaluate_polynomial(P, z)
85
+ / tools::evaluate_polynomial(Q, z);
86
+ result += z - log(z) - Y;
87
+ }
88
+ else if(z < -boost::math::tools::log_min_value<T>())
89
+ {
90
+ // Maximum Deviation Found (interpolated): 1.444e-17
91
+ // Max error found at double precision: 3.119e-17
92
+ // LCOV_EXCL_START
93
+ static const T P[11] = {
94
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.121013190657725568138e-18),
95
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.999999999999998811143),
96
+ BOOST_MATH_BIG_CONSTANT(T, 53, -43.3058660811817946037),
97
+ BOOST_MATH_BIG_CONSTANT(T, 53, -724.581482791462469795),
98
+ BOOST_MATH_BIG_CONSTANT(T, 53, -6046.8250112711035463),
99
+ BOOST_MATH_BIG_CONSTANT(T, 53, -27182.6254466733970467),
100
+ BOOST_MATH_BIG_CONSTANT(T, 53, -66598.2652345418633509),
101
+ BOOST_MATH_BIG_CONSTANT(T, 53, -86273.1567711649528784),
102
+ BOOST_MATH_BIG_CONSTANT(T, 53, -54844.4587226402067411),
103
+ BOOST_MATH_BIG_CONSTANT(T, 53, -14751.4895786128450662),
104
+ BOOST_MATH_BIG_CONSTANT(T, 53, -1185.45720315201027667)
105
+ };
106
+ static const T Q[12] = {
107
+ BOOST_MATH_BIG_CONSTANT(T, 53, 1.0),
108
+ BOOST_MATH_BIG_CONSTANT(T, 53, 45.3058660811801465927),
109
+ BOOST_MATH_BIG_CONSTANT(T, 53, 809.193214954550328455),
110
+ BOOST_MATH_BIG_CONSTANT(T, 53, 7417.37624454689546708),
111
+ BOOST_MATH_BIG_CONSTANT(T, 53, 38129.5594484818471461),
112
+ BOOST_MATH_BIG_CONSTANT(T, 53, 113057.05869159631492),
113
+ BOOST_MATH_BIG_CONSTANT(T, 53, 192104.047790227984431),
114
+ BOOST_MATH_BIG_CONSTANT(T, 53, 180329.498380501819718),
115
+ BOOST_MATH_BIG_CONSTANT(T, 53, 86722.3403467334749201),
116
+ BOOST_MATH_BIG_CONSTANT(T, 53, 18455.4124737722049515),
117
+ BOOST_MATH_BIG_CONSTANT(T, 53, 1229.20784182403048905),
118
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.776491285282330997549)
119
+ };
120
+ // LCOV_EXCL_STOP
121
+ T recip = 1 / z;
122
+ result = 1 + tools::evaluate_polynomial(P, recip)
123
+ / tools::evaluate_polynomial(Q, recip);
124
+ result *= exp(-z) * recip;
125
+ }
126
+ else
127
+ {
128
+ result = 0;
129
+ }
130
+ return result;
131
+ }
132
+
133
+ template <class T>
134
+ BOOST_MATH_GPU_ENABLED T expint_1_rational(const T& z, const boost::math::integral_constant<int, 64>&)
135
+ {
136
+ BOOST_MATH_STD_USING
137
+ T result;
138
+ if(z <= 1)
139
+ {
140
+ // Maximum Deviation Found: 3.807e-20
141
+ // Expected Error Term: 3.807e-20
142
+ // Max error found at long double precision: 6.249e-20
143
+ // LCOV_EXCL_START
144
+ static const T Y = 0.66373538970947265625F;
145
+ static const T P[6] = {
146
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.0865197248079397956816),
147
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.0275114007037026844633),
148
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.246594388074877139824),
149
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.0237624819878732642231),
150
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.00259113319641673986276),
151
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.30853660894346057053e-4)
152
+ };
153
+ static const T Q[7] = {
154
+ BOOST_MATH_BIG_CONSTANT(T, 64, 1.0),
155
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.317978365797784100273),
156
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.0393622602554758722511),
157
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.00204062029115966323229),
158
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.732512107100088047854e-5),
159
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.202872781770207871975e-5),
160
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.52779248094603709945e-7)
161
+ };
162
+ // LCOV_EXCL_STOP
163
+ result = tools::evaluate_polynomial(P, z)
164
+ / tools::evaluate_polynomial(Q, z);
165
+ result += z - log(z) - Y;
166
+ }
167
+ else if(z < -boost::math::tools::log_min_value<T>())
168
+ {
169
+ // Maximum Deviation Found (interpolated): 2.220e-20
170
+ // Max error found at long double precision: 1.346e-19
171
+ // LCOV_EXCL_START
172
+ static const T P[14] = {
173
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.534401189080684443046e-23),
174
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.999999999999999999905),
175
+ BOOST_MATH_BIG_CONSTANT(T, 64, -62.1517806091379402505),
176
+ BOOST_MATH_BIG_CONSTANT(T, 64, -1568.45688271895145277),
177
+ BOOST_MATH_BIG_CONSTANT(T, 64, -21015.3431990874009619),
178
+ BOOST_MATH_BIG_CONSTANT(T, 64, -164333.011755931661949),
179
+ BOOST_MATH_BIG_CONSTANT(T, 64, -777917.270775426696103),
180
+ BOOST_MATH_BIG_CONSTANT(T, 64, -2244188.56195255112937),
181
+ BOOST_MATH_BIG_CONSTANT(T, 64, -3888702.98145335643429),
182
+ BOOST_MATH_BIG_CONSTANT(T, 64, -3909822.65621952648353),
183
+ BOOST_MATH_BIG_CONSTANT(T, 64, -2149033.9538897398457),
184
+ BOOST_MATH_BIG_CONSTANT(T, 64, -584705.537139793925189),
185
+ BOOST_MATH_BIG_CONSTANT(T, 64, -65815.2605361889477244),
186
+ BOOST_MATH_BIG_CONSTANT(T, 64, -2038.82870680427258038)
187
+ };
188
+ static const T Q[14] = {
189
+ BOOST_MATH_BIG_CONSTANT(T, 64, 1.0),
190
+ BOOST_MATH_BIG_CONSTANT(T, 64, 64.1517806091379399478),
191
+ BOOST_MATH_BIG_CONSTANT(T, 64, 1690.76044393722763785),
192
+ BOOST_MATH_BIG_CONSTANT(T, 64, 24035.9534033068949426),
193
+ BOOST_MATH_BIG_CONSTANT(T, 64, 203679.998633572361706),
194
+ BOOST_MATH_BIG_CONSTANT(T, 64, 1074661.58459976978285),
195
+ BOOST_MATH_BIG_CONSTANT(T, 64, 3586552.65020899358773),
196
+ BOOST_MATH_BIG_CONSTANT(T, 64, 7552186.84989547621411),
197
+ BOOST_MATH_BIG_CONSTANT(T, 64, 9853333.79353054111434),
198
+ BOOST_MATH_BIG_CONSTANT(T, 64, 7689642.74550683631258),
199
+ BOOST_MATH_BIG_CONSTANT(T, 64, 3385553.35146759180739),
200
+ BOOST_MATH_BIG_CONSTANT(T, 64, 763218.072732396428725),
201
+ BOOST_MATH_BIG_CONSTANT(T, 64, 73930.2995984054930821),
202
+ BOOST_MATH_BIG_CONSTANT(T, 64, 2063.86994219629165937)
203
+ };
204
+ // LCOV_EXCL_STOP
205
+ T recip = 1 / z;
206
+ result = 1 + tools::evaluate_polynomial(P, recip)
207
+ / tools::evaluate_polynomial(Q, recip);
208
+ result *= exp(-z) * recip;
209
+ }
210
+ else
211
+ {
212
+ result = 0;
213
+ }
214
+ return result;
215
+ }
216
+
217
+ template <class T>
218
+ BOOST_MATH_GPU_ENABLED T expint_1_rational(const T& z, const boost::math::integral_constant<int, 113>&)
219
+ {
220
+ BOOST_MATH_STD_USING
221
+ T result;
222
+ if(z <= 1)
223
+ {
224
+ // Maximum Deviation Found: 2.477e-35
225
+ // Expected Error Term: 2.477e-35
226
+ // Max error found at long double precision: 6.810e-35
227
+ // LCOV_EXCL_START
228
+ static const T Y = 0.66373538970947265625F;
229
+ static const T P[10] = {
230
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0865197248079397956434879099175975937),
231
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0369066175910795772830865304506087759),
232
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.24272036838415474665971599314725545),
233
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0502166331248948515282379137550178307),
234
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00768384138547489410285101483730424919),
235
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.000612574337702109683505224915484717162),
236
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.380207107950635046971492617061708534e-4),
237
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.136528159460768830763009294683628406e-5),
238
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.346839106212658259681029388908658618e-7),
239
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.340500302777838063940402160594523429e-9)
240
+ };
241
+ static const T Q[10] = {
242
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.0),
243
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.426568827778942588160423015589537302),
244
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0841384046470893490592450881447510148),
245
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0100557215850668029618957359471132995),
246
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.000799334870474627021737357294799839363),
247
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.434452090903862735242423068552687688e-4),
248
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.15829674748799079874182885081231252e-5),
249
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.354406206738023762100882270033082198e-7),
250
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.369373328141051577845488477377890236e-9),
251
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.274149801370933606409282434677600112e-12)
252
+ };
253
+ // LCOV_EXCL_STOP
254
+ result = tools::evaluate_polynomial(P, z)
255
+ / tools::evaluate_polynomial(Q, z);
256
+ result += z - log(z) - Y;
257
+ }
258
+ else if(z <= 4)
259
+ {
260
+ // Max error in interpolated form: 5.614e-35
261
+ // Max error found at long double precision: 7.979e-35
262
+ // LCOV_EXCL_START
263
+ static const T Y = 0.70190334320068359375F;
264
+
265
+ static const T P[16] = {
266
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.298096656795020369955077350585959794),
267
+ BOOST_MATH_BIG_CONSTANT(T, 113, 12.9314045995266142913135497455971247),
268
+ BOOST_MATH_BIG_CONSTANT(T, 113, 226.144334921582637462526628217345501),
269
+ BOOST_MATH_BIG_CONSTANT(T, 113, 2070.83670924261732722117682067381405),
270
+ BOOST_MATH_BIG_CONSTANT(T, 113, 10715.1115684330959908244769731347186),
271
+ BOOST_MATH_BIG_CONSTANT(T, 113, 30728.7876355542048019664777316053311),
272
+ BOOST_MATH_BIG_CONSTANT(T, 113, 38520.6078609349855436936232610875297),
273
+ BOOST_MATH_BIG_CONSTANT(T, 113, -27606.0780981527583168728339620565165),
274
+ BOOST_MATH_BIG_CONSTANT(T, 113, -169026.485055785605958655247592604835),
275
+ BOOST_MATH_BIG_CONSTANT(T, 113, -254361.919204983608659069868035092282),
276
+ BOOST_MATH_BIG_CONSTANT(T, 113, -195765.706874132267953259272028679935),
277
+ BOOST_MATH_BIG_CONSTANT(T, 113, -83352.6826013533205474990119962408675),
278
+ BOOST_MATH_BIG_CONSTANT(T, 113, -19251.6828496869586415162597993050194),
279
+ BOOST_MATH_BIG_CONSTANT(T, 113, -2226.64251774578542836725386936102339),
280
+ BOOST_MATH_BIG_CONSTANT(T, 113, -109.009437301400845902228611986479816),
281
+ BOOST_MATH_BIG_CONSTANT(T, 113, -1.51492042209561411434644938098833499)
282
+ };
283
+ static const T Q[16] = {
284
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.0),
285
+ BOOST_MATH_BIG_CONSTANT(T, 113, 46.734521442032505570517810766704587),
286
+ BOOST_MATH_BIG_CONSTANT(T, 113, 908.694714348462269000247450058595655),
287
+ BOOST_MATH_BIG_CONSTANT(T, 113, 9701.76053033673927362784882748513195),
288
+ BOOST_MATH_BIG_CONSTANT(T, 113, 63254.2815292641314236625196594947774),
289
+ BOOST_MATH_BIG_CONSTANT(T, 113, 265115.641285880437335106541757711092),
290
+ BOOST_MATH_BIG_CONSTANT(T, 113, 732707.841188071900498536533086567735),
291
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1348514.02492635723327306628712057794),
292
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1649986.81455283047769673308781585991),
293
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1326000.828522976970116271208812099),
294
+ BOOST_MATH_BIG_CONSTANT(T, 113, 683643.09490612171772350481773951341),
295
+ BOOST_MATH_BIG_CONSTANT(T, 113, 217640.505137263607952365685653352229),
296
+ BOOST_MATH_BIG_CONSTANT(T, 113, 40288.3467237411710881822569476155485),
297
+ BOOST_MATH_BIG_CONSTANT(T, 113, 3932.89353979531632559232883283175754),
298
+ BOOST_MATH_BIG_CONSTANT(T, 113, 169.845369689596739824177412096477219),
299
+ BOOST_MATH_BIG_CONSTANT(T, 113, 2.17607292280092201170768401876895354)
300
+ };
301
+ // LCOV_EXCL_STOP
302
+ T recip = 1 / z;
303
+ result = Y + tools::evaluate_polynomial(P, recip)
304
+ / tools::evaluate_polynomial(Q, recip);
305
+ result *= exp(-z) * recip;
306
+ }
307
+ else if(z < -boost::math::tools::log_min_value<T>())
308
+ {
309
+ // Max error in interpolated form: 4.413e-35
310
+ // Max error found at long double precision: 8.928e-35
311
+ // LCOV_EXCL_START
312
+ static const T P[19] = {
313
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.559148411832951463689610809550083986e-40),
314
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.999999999999999999999999999999999997),
315
+ BOOST_MATH_BIG_CONSTANT(T, 113, -166.542326331163836642960118190147367),
316
+ BOOST_MATH_BIG_CONSTANT(T, 113, -12204.639128796330005065904675153652),
317
+ BOOST_MATH_BIG_CONSTANT(T, 113, -520807.069767086071806275022036146855),
318
+ BOOST_MATH_BIG_CONSTANT(T, 113, -14435981.5242137970691490903863125326),
319
+ BOOST_MATH_BIG_CONSTANT(T, 113, -274574945.737064301247496460758654196),
320
+ BOOST_MATH_BIG_CONSTANT(T, 113, -3691611582.99810039356254671781473079),
321
+ BOOST_MATH_BIG_CONSTANT(T, 113, -35622515944.8255047299363690814678763),
322
+ BOOST_MATH_BIG_CONSTANT(T, 113, -248040014774.502043161750715548451142),
323
+ BOOST_MATH_BIG_CONSTANT(T, 113, -1243190389769.53458416330946622607913),
324
+ BOOST_MATH_BIG_CONSTANT(T, 113, -4441730126135.54739052731990368425339),
325
+ BOOST_MATH_BIG_CONSTANT(T, 113, -11117043181899.7388524310281751971366),
326
+ BOOST_MATH_BIG_CONSTANT(T, 113, -18976497615396.9717776601813519498961),
327
+ BOOST_MATH_BIG_CONSTANT(T, 113, -21237496819711.1011661104761906067131),
328
+ BOOST_MATH_BIG_CONSTANT(T, 113, -14695899122092.5161620333466757812848),
329
+ BOOST_MATH_BIG_CONSTANT(T, 113, -5737221535080.30569711574295785864903),
330
+ BOOST_MATH_BIG_CONSTANT(T, 113, -1077042281708.42654526404581272546244),
331
+ BOOST_MATH_BIG_CONSTANT(T, 113, -68028222642.1941480871395695677675137)
332
+ };
333
+ static const T Q[20] = {
334
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.0),
335
+ BOOST_MATH_BIG_CONSTANT(T, 113, 168.542326331163836642960118190147311),
336
+ BOOST_MATH_BIG_CONSTANT(T, 113, 12535.7237814586576783518249115343619),
337
+ BOOST_MATH_BIG_CONSTANT(T, 113, 544891.263372016404143120911148640627),
338
+ BOOST_MATH_BIG_CONSTANT(T, 113, 15454474.7241010258634446523045237762),
339
+ BOOST_MATH_BIG_CONSTANT(T, 113, 302495899.896629522673410325891717381),
340
+ BOOST_MATH_BIG_CONSTANT(T, 113, 4215565948.38886507646911672693270307),
341
+ BOOST_MATH_BIG_CONSTANT(T, 113, 42552409471.7951815668506556705733344),
342
+ BOOST_MATH_BIG_CONSTANT(T, 113, 313592377066.753173979584098301610186),
343
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1688763640223.4541980740597514904542),
344
+ BOOST_MATH_BIG_CONSTANT(T, 113, 6610992294901.59589748057620192145704),
345
+ BOOST_MATH_BIG_CONSTANT(T, 113, 18601637235659.6059890851321772682606),
346
+ BOOST_MATH_BIG_CONSTANT(T, 113, 36944278231087.2571020964163402941583),
347
+ BOOST_MATH_BIG_CONSTANT(T, 113, 50425858518481.7497071917028793820058),
348
+ BOOST_MATH_BIG_CONSTANT(T, 113, 45508060902865.0899967797848815980644),
349
+ BOOST_MATH_BIG_CONSTANT(T, 113, 25649955002765.3817331501988304758142),
350
+ BOOST_MATH_BIG_CONSTANT(T, 113, 8259575619094.6518520988612711292331),
351
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1299981487496.12607474362723586264515),
352
+ BOOST_MATH_BIG_CONSTANT(T, 113, 70242279152.8241187845178443118302693),
353
+ BOOST_MATH_BIG_CONSTANT(T, 113, -37633302.9409263839042721539363416685)
354
+ };
355
+ // LCOV_EXCL_STOP
356
+ T recip = 1 / z;
357
+ result = 1 + tools::evaluate_polynomial(P, recip)
358
+ / tools::evaluate_polynomial(Q, recip);
359
+ result *= exp(-z) * recip;
360
+ }
361
+ else
362
+ {
363
+ result = 0;
364
+ }
365
+ return result;
366
+ }
367
+
368
+
369
+ template <class T>
370
+ struct expint_fraction
371
+ {
372
+ typedef boost::math::pair<T,T> result_type;
373
+ BOOST_MATH_GPU_ENABLED expint_fraction(unsigned n_, T z_) : b(n_ + z_), i(-1), n(n_){}
374
+ BOOST_MATH_GPU_ENABLED boost::math::pair<T,T> operator()()
375
+ {
376
+ boost::math::pair<T,T> result = boost::math::make_pair(-static_cast<T>((i+1) * (n+i)), b);
377
+ b += 2;
378
+ ++i;
379
+ return result;
380
+ }
381
+ private:
382
+ T b;
383
+ int i;
384
+ unsigned n;
385
+ };
386
+
387
+ template <class T, class Policy>
388
+ BOOST_MATH_GPU_ENABLED inline T expint_as_fraction(unsigned n, T z, const Policy& pol)
389
+ {
390
+ BOOST_MATH_STD_USING
391
+ BOOST_MATH_INSTRUMENT_VARIABLE(z)
392
+ boost::math::uintmax_t max_iter = policies::get_max_series_iterations<Policy>();
393
+ expint_fraction<T> f(n, z);
394
+ T result = tools::continued_fraction_b(
395
+ f,
396
+ boost::math::policies::get_epsilon<T, Policy>(),
397
+ max_iter);
398
+ policies::check_series_iterations<T>("boost::math::expint_continued_fraction<%1%>(unsigned,%1%)", max_iter, pol);
399
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
400
+ BOOST_MATH_INSTRUMENT_VARIABLE(max_iter)
401
+ result = exp(-z) / result;
402
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
403
+ return result;
404
+ }
405
+
406
+ template <class T>
407
+ struct expint_series
408
+ {
409
+ typedef T result_type;
410
+ BOOST_MATH_GPU_ENABLED expint_series(unsigned k_, T z_, T x_k_, T denom_, T fact_)
411
+ : k(k_), z(z_), x_k(x_k_), denom(denom_), fact(fact_){}
412
+ BOOST_MATH_GPU_ENABLED T operator()()
413
+ {
414
+ x_k *= -z;
415
+ denom += 1;
416
+ fact *= ++k;
417
+ return x_k / (denom * fact);
418
+ }
419
+ private:
420
+ unsigned k;
421
+ T z;
422
+ T x_k;
423
+ T denom;
424
+ T fact;
425
+ };
426
+
427
+ template <class T, class Policy>
428
+ BOOST_MATH_GPU_ENABLED inline T expint_as_series(unsigned n, T z, const Policy& pol)
429
+ {
430
+ BOOST_MATH_STD_USING
431
+ boost::math::uintmax_t max_iter = policies::get_max_series_iterations<Policy>();
432
+
433
+ BOOST_MATH_INSTRUMENT_VARIABLE(z)
434
+
435
+ T result = 0;
436
+ T x_k = -1;
437
+ T denom = T(1) - n;
438
+ T fact = 1;
439
+ unsigned k = 0;
440
+ for(; k < n - 1;)
441
+ {
442
+ result += x_k / (denom * fact);
443
+ denom += 1;
444
+ x_k *= -z;
445
+ fact *= ++k;
446
+ }
447
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
448
+ result += pow(-z, static_cast<T>(n - 1))
449
+ * (boost::math::digamma(static_cast<T>(n), pol) - log(z)) / fact;
450
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
451
+
452
+ expint_series<T> s(k, z, x_k, denom, fact);
453
+ result = tools::sum_series(s, policies::get_epsilon<T, Policy>(), max_iter, result);
454
+ policies::check_series_iterations<T>("boost::math::expint_series<%1%>(unsigned,%1%)", max_iter, pol);
455
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
456
+ BOOST_MATH_INSTRUMENT_VARIABLE(max_iter)
457
+ return result;
458
+ }
459
+
460
+ template <class T, class Policy, class Tag>
461
+ BOOST_MATH_GPU_ENABLED T expint_imp(unsigned n, T z, const Policy& pol, const Tag& tag)
462
+ {
463
+ BOOST_MATH_STD_USING
464
+ constexpr auto function = "boost::math::expint<%1%>(unsigned, %1%)";
465
+ if(z < 0)
466
+ return policies::raise_domain_error<T>(function, "Function requires z >= 0 but got %1%.", z, pol);
467
+ if(z == 0)
468
+ return n == 1 ? policies::raise_overflow_error<T>(function, nullptr, pol) : T(1 / (static_cast<T>(n - 1)));
469
+
470
+ T result;
471
+
472
+ bool f;
473
+ if(n < 3)
474
+ {
475
+ f = z < T(0.5);
476
+ }
477
+ else
478
+ {
479
+ f = z < (static_cast<T>(n - 2) / static_cast<T>(n - 1));
480
+ }
481
+ #ifdef _MSC_VER
482
+ # pragma warning(push)
483
+ # pragma warning(disable:4127) // conditional expression is constant
484
+ #endif
485
+ if(n == 0)
486
+ {
487
+ result = exp(-z) / z;
488
+ }
489
+ else if((n == 1) && (Tag::value))
490
+ {
491
+ result = expint_1_rational(z, tag);
492
+ }
493
+ else if(f)
494
+ {
495
+ result = expint_as_series(n, z, pol);
496
+ }
497
+ else
498
+ {
499
+ result = expint_as_fraction(n, z, pol);
500
+ }
501
+ #ifdef _MSC_VER
502
+ # pragma warning(pop)
503
+ #endif
504
+
505
+ return result;
506
+ }
507
+
508
+ template <class T>
509
+ struct expint_i_series
510
+ {
511
+ typedef T result_type;
512
+ BOOST_MATH_GPU_ENABLED expint_i_series(T z_) : k(0), z_k(1), z(z_){}
513
+ BOOST_MATH_GPU_ENABLED T operator()()
514
+ {
515
+ z_k *= z / ++k;
516
+ return z_k / k;
517
+ }
518
+ private:
519
+ unsigned k;
520
+ T z_k;
521
+ T z;
522
+ };
523
+
524
+ template <class T, class Policy>
525
+ BOOST_MATH_GPU_ENABLED T expint_i_as_series(T z, const Policy& pol)
526
+ {
527
+ BOOST_MATH_STD_USING
528
+ T result = log(z); // (log(z) - log(1 / z)) / 2;
529
+ result += constants::euler<T>();
530
+ expint_i_series<T> s(z);
531
+ boost::math::uintmax_t max_iter = policies::get_max_series_iterations<Policy>();
532
+ result = tools::sum_series(s, policies::get_epsilon<T, Policy>(), max_iter, result);
533
+ policies::check_series_iterations<T>("boost::math::expint_i_series<%1%>(%1%)", max_iter, pol);
534
+ return result;
535
+ }
536
+
537
+ template <class T, class Policy, class Tag>
538
+ BOOST_MATH_GPU_ENABLED T expint_i_imp(T z, const Policy& pol, const Tag& tag)
539
+ {
540
+ constexpr auto function = "boost::math::expint<%1%>(%1%)";
541
+ if(z < 0)
542
+ return -expint_imp(1, T(-z), pol, tag);
543
+ if(z == 0)
544
+ return -policies::raise_overflow_error<T>(function, nullptr, pol); // LCOV_EXCL_LINE confirmed covered by real_concept tests
545
+ return expint_i_as_series(z, pol);
546
+ }
547
+
548
+ template <class T, class Policy>
549
+ BOOST_MATH_GPU_ENABLED T expint_i_imp(T z, const Policy& pol, const boost::math::integral_constant<int, 53>& tag)
550
+ {
551
+ BOOST_MATH_STD_USING
552
+ constexpr auto function = "boost::math::expint<%1%>(%1%)";
553
+ if(z < 0)
554
+ return -expint_imp(1, T(-z), pol, tag);
555
+ if(z == 0)
556
+ return -policies::raise_overflow_error<T>(function, nullptr, pol);
557
+
558
+ T result;
559
+
560
+ if(z <= 6)
561
+ {
562
+ // Maximum Deviation Found: 2.852e-18
563
+ // Expected Error Term: 2.852e-18
564
+ // Max Error found at double precision = Poly: 2.636335e-16 Cheb: 4.187027e-16
565
+ // LCOV_EXCL_START
566
+ BOOST_MATH_STATIC const T P[10] = {
567
+ BOOST_MATH_BIG_CONSTANT(T, 53, 2.98677224343598593013),
568
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.356343618769377415068),
569
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.780836076283730801839),
570
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.114670926327032002811),
571
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.0499434773576515260534),
572
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.00726224593341228159561),
573
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.00115478237227804306827),
574
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.000116419523609765200999),
575
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.798296365679269702435e-5),
576
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.2777056254402008721e-6)
577
+ };
578
+ BOOST_MATH_STATIC const T Q[8] = {
579
+ BOOST_MATH_BIG_CONSTANT(T, 53, 1.0),
580
+ BOOST_MATH_BIG_CONSTANT(T, 53, -1.17090412365413911947),
581
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.62215109846016746276),
582
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.195114782069495403315),
583
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.0391523431392967238166),
584
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.00504800158663705747345),
585
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.000389034007436065401822),
586
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.138972589601781706598e-4)
587
+ };
588
+
589
+ BOOST_MATH_STATIC_LOCAL_VARIABLE const T c1 = BOOST_MATH_BIG_CONSTANT(T, 53, 1677624236387711.0);
590
+ BOOST_MATH_STATIC_LOCAL_VARIABLE const T c2 = BOOST_MATH_BIG_CONSTANT(T, 53, 4503599627370496.0);
591
+ BOOST_MATH_STATIC_LOCAL_VARIABLE const T r1 = static_cast<T>(c1 / c2);
592
+ BOOST_MATH_STATIC_LOCAL_VARIABLE const T r2 = BOOST_MATH_BIG_CONSTANT(T, 53, 0.131401834143860282009280387409357165515556574352422001206362e-16);
593
+ BOOST_MATH_STATIC_LOCAL_VARIABLE const T r = static_cast<T>(BOOST_MATH_BIG_CONSTANT(T, 53, 0.372507410781366634461991866580119133535689497771654051555657435242200120636201854384926049951548942392));
594
+ // LCOV_EXCL_STOP
595
+ T t = (z / 3) - 1;
596
+ result = tools::evaluate_polynomial(P, t)
597
+ / tools::evaluate_polynomial(Q, t);
598
+ t = (z - r1) - r2;
599
+ result *= t;
600
+ if(fabs(t) < T(0.1))
601
+ {
602
+ result += boost::math::log1p(t / r, pol);
603
+ }
604
+ else
605
+ {
606
+ result += log(z / r);
607
+ }
608
+ }
609
+ else if (z <= 10)
610
+ {
611
+ // Maximum Deviation Found: 6.546e-17
612
+ // Expected Error Term: 6.546e-17
613
+ // Max Error found at double precision = Poly: 6.890169e-17 Cheb: 6.772128e-17
614
+ // LCOV_EXCL_START
615
+ BOOST_MATH_STATIC_LOCAL_VARIABLE const T Y = 1.158985137939453125F;
616
+ BOOST_MATH_STATIC const T P[8] = {
617
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.00139324086199402804173),
618
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.0349921221823888744966),
619
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.0264095520754134848538),
620
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.00761224003005476438412),
621
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.00247496209592143627977),
622
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.000374885917942100256775),
623
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.554086272024881826253e-4),
624
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.396487648924804510056e-5)
625
+ };
626
+ BOOST_MATH_STATIC const T Q[8] = {
627
+ BOOST_MATH_BIG_CONSTANT(T, 53, 1.0),
628
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.744625566823272107711),
629
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.329061095011767059236),
630
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.100128624977313872323),
631
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.0223851099128506347278),
632
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.00365334190742316650106),
633
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.000402453408512476836472),
634
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.263649630720255691787e-4)
635
+ };
636
+ // LCOV_EXCL_STOP
637
+ T t = z / 2 - 4;
638
+ result = Y + tools::evaluate_polynomial(P, t)
639
+ / tools::evaluate_polynomial(Q, t);
640
+ result *= exp(z) / z;
641
+ result += z;
642
+ }
643
+ else if(z <= 20)
644
+ {
645
+ // Maximum Deviation Found: 1.843e-17
646
+ // Expected Error Term: -1.842e-17
647
+ // Max Error found at double precision = Poly: 4.375868e-17 Cheb: 5.860967e-17
648
+ // LCOV_EXCL_START
649
+ BOOST_MATH_STATIC_LOCAL_VARIABLE const T Y = 1.0869731903076171875F;
650
+ BOOST_MATH_STATIC const T P[9] = {
651
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.00893891094356945667451),
652
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.0484607730127134045806),
653
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.0652810444222236895772),
654
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.0478447572647309671455),
655
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.0226059218923777094596),
656
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.00720603636917482065907),
657
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.00155941947035972031334),
658
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.000209750022660200888349),
659
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.138652200349182596186e-4)
660
+ };
661
+ BOOST_MATH_STATIC const T Q[9] = {
662
+ BOOST_MATH_BIG_CONSTANT(T, 53, 1.0),
663
+ BOOST_MATH_BIG_CONSTANT(T, 53, 1.97017214039061194971),
664
+ BOOST_MATH_BIG_CONSTANT(T, 53, 1.86232465043073157508),
665
+ BOOST_MATH_BIG_CONSTANT(T, 53, 1.09601437090337519977),
666
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.438873285773088870812),
667
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.122537731979686102756),
668
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.0233458478275769288159),
669
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.00278170769163303669021),
670
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.000159150281166108755531)
671
+ };
672
+ // LCOV_EXCL_STOP
673
+ T t = z / 5 - 3;
674
+ result = Y + tools::evaluate_polynomial(P, t)
675
+ / tools::evaluate_polynomial(Q, t);
676
+ result *= exp(z) / z;
677
+ result += z;
678
+ }
679
+ else if(z <= 40)
680
+ {
681
+ // Maximum Deviation Found: 5.102e-18
682
+ // Expected Error Term: 5.101e-18
683
+ // Max Error found at double precision = Poly: 1.441088e-16 Cheb: 1.864792e-16
684
+ // LCOV_EXCL_START
685
+ BOOST_MATH_STATIC_LOCAL_VARIABLE const T Y = 1.03937530517578125F;
686
+ BOOST_MATH_STATIC const T P[9] = {
687
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.00356165148914447597995),
688
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.0229930320357982333406),
689
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.0449814350482277917716),
690
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.0453759383048193402336),
691
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.0272050837209380717069),
692
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.00994403059883350813295),
693
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.00207592267812291726961),
694
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.000192178045857733706044),
695
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.113161784705911400295e-9)
696
+ };
697
+ BOOST_MATH_STATIC const T Q[9] = {
698
+ BOOST_MATH_BIG_CONSTANT(T, 53, 1.0),
699
+ BOOST_MATH_BIG_CONSTANT(T, 53, 2.84354408840148561131),
700
+ BOOST_MATH_BIG_CONSTANT(T, 53, 3.6599610090072393012),
701
+ BOOST_MATH_BIG_CONSTANT(T, 53, 2.75088464344293083595),
702
+ BOOST_MATH_BIG_CONSTANT(T, 53, 1.2985244073998398643),
703
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.383213198510794507409),
704
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.0651165455496281337831),
705
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.00488071077519227853585)
706
+ };
707
+ // LCOV_EXCL_STOP
708
+ T t = z / 10 - 3;
709
+ result = Y + tools::evaluate_polynomial(P, t)
710
+ / tools::evaluate_polynomial(Q, t);
711
+ result *= exp(z) / z;
712
+ result += z;
713
+ }
714
+ else
715
+ {
716
+ // Max Error found at double precision = 3.381886e-17
717
+ // LCOV_EXCL_START
718
+ BOOST_MATH_STATIC_LOCAL_VARIABLE const T exp40 = static_cast<T>(BOOST_MATH_BIG_CONSTANT(T, 53, 2.35385266837019985407899910749034804508871617254555467236651e17));
719
+ BOOST_MATH_STATIC_LOCAL_VARIABLE const T Y= 1.013065338134765625F;
720
+ BOOST_MATH_STATIC const T P[6] = {
721
+ BOOST_MATH_BIG_CONSTANT(T, 53, -0.0130653381347656243849),
722
+ BOOST_MATH_BIG_CONSTANT(T, 53, 0.19029710559486576682),
723
+ BOOST_MATH_BIG_CONSTANT(T, 53, 94.7365094537197236011),
724
+ BOOST_MATH_BIG_CONSTANT(T, 53, -2516.35323679844256203),
725
+ BOOST_MATH_BIG_CONSTANT(T, 53, 18932.0850014925993025),
726
+ BOOST_MATH_BIG_CONSTANT(T, 53, -38703.1431362056714134)
727
+ };
728
+ BOOST_MATH_STATIC const T Q[7] = {
729
+ BOOST_MATH_BIG_CONSTANT(T, 53, 1.0),
730
+ BOOST_MATH_BIG_CONSTANT(T, 53, 61.9733592849439884145),
731
+ BOOST_MATH_BIG_CONSTANT(T, 53, -2354.56211323420194283),
732
+ BOOST_MATH_BIG_CONSTANT(T, 53, 22329.1459489893079041),
733
+ BOOST_MATH_BIG_CONSTANT(T, 53, -70126.245140396567133),
734
+ BOOST_MATH_BIG_CONSTANT(T, 53, 54738.2833147775537106),
735
+ BOOST_MATH_BIG_CONSTANT(T, 53, 8297.16296356518409347)
736
+ };
737
+ // LCOV_EXCL_STOP
738
+ T t = 1 / z;
739
+ result = Y + tools::evaluate_polynomial(P, t)
740
+ / tools::evaluate_polynomial(Q, t);
741
+ if(z < 41)
742
+ result *= exp(z) / z;
743
+ else
744
+ {
745
+ // Avoid premature overflow if we can:
746
+ t = z - 40;
747
+ if(t > tools::log_max_value<T>())
748
+ {
749
+ result = policies::raise_overflow_error<T>(function, nullptr, pol);
750
+ }
751
+ else
752
+ {
753
+ result *= exp(z - 40) / z;
754
+ if(result > tools::max_value<T>() / exp40)
755
+ {
756
+ result = policies::raise_overflow_error<T>(function, nullptr, pol);
757
+ }
758
+ else
759
+ {
760
+ result *= exp40;
761
+ }
762
+ }
763
+ }
764
+ result += z;
765
+ }
766
+ return result;
767
+ }
768
+
769
+ template <class T, class Policy>
770
+ BOOST_MATH_GPU_ENABLED T expint_i_imp(T z, const Policy& pol, const boost::math::integral_constant<int, 64>& tag)
771
+ {
772
+ BOOST_MATH_STD_USING
773
+ constexpr auto function = "boost::math::expint<%1%>(%1%)";
774
+ if(z < 0)
775
+ return -expint_imp(1, T(-z), pol, tag);
776
+ if(z == 0)
777
+ return -policies::raise_overflow_error<T>(function, nullptr, pol);
778
+
779
+ T result;
780
+
781
+ if(z <= 6)
782
+ {
783
+ // Maximum Deviation Found: 3.883e-21
784
+ // Expected Error Term: 3.883e-21
785
+ // Max Error found at long double precision = Poly: 3.344801e-19 Cheb: 4.989937e-19
786
+
787
+ // LCOV_EXCL_START
788
+ static const T P[11] = {
789
+ BOOST_MATH_BIG_CONSTANT(T, 64, 2.98677224343598593764),
790
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.25891613550886736592),
791
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.789323584998672832285),
792
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.092432587824602399339),
793
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.0514236978728625906656),
794
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.00658477469745132977921),
795
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.00124914538197086254233),
796
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.000131429679565472408551),
797
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.11293331317982763165e-4),
798
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.629499283139417444244e-6),
799
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.177833045143692498221e-7)
800
+ };
801
+ static const T Q[9] = {
802
+ BOOST_MATH_BIG_CONSTANT(T, 64, 1.0),
803
+ BOOST_MATH_BIG_CONSTANT(T, 64, -1.20352377969742325748),
804
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.66707904942606479811),
805
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.223014531629140771914),
806
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.0493340022262908008636),
807
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.00741934273050807310677),
808
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.00074353567782087939294),
809
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.455861727069603367656e-4),
810
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.131515429329812837701e-5)
811
+ };
812
+
813
+ static const T c1 = BOOST_MATH_BIG_CONSTANT(T, 64, 1677624236387711.0);
814
+ static const T c2 = BOOST_MATH_BIG_CONSTANT(T, 64, 4503599627370496.0);
815
+ static const T r1 = c1 / c2;
816
+ static const T r2 = BOOST_MATH_BIG_CONSTANT(T, 64, 0.131401834143860282009280387409357165515556574352422001206362e-16);
817
+ static const T r = static_cast<T>(BOOST_MATH_BIG_CONSTANT(T, 64, 0.372507410781366634461991866580119133535689497771654051555657435242200120636201854384926049951548942392));
818
+ // LCOV_EXCL_STOP
819
+
820
+ T t = (z / 3) - 1;
821
+ result = tools::evaluate_polynomial(P, t)
822
+ / tools::evaluate_polynomial(Q, t);
823
+ t = (z - r1) - r2;
824
+ result *= t;
825
+ if(fabs(t) < T(0.1))
826
+ {
827
+ result += boost::math::log1p(t / r, pol);
828
+ }
829
+ else
830
+ {
831
+ result += log(z / r);
832
+ }
833
+ }
834
+ else if (z <= 10)
835
+ {
836
+ // Maximum Deviation Found: 2.622e-21
837
+ // Expected Error Term: -2.622e-21
838
+ // Max Error found at long double precision = Poly: 1.208328e-20 Cheb: 1.073723e-20
839
+ // LCOV_EXCL_START
840
+ static const T Y = 1.158985137939453125F;
841
+ static const T P[9] = {
842
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.00139324086199409049399),
843
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.0345238388952337563247),
844
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.0382065278072592940767),
845
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.0156117003070560727392),
846
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.00383276012430495387102),
847
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.000697070540945496497992),
848
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.877310384591205930343e-4),
849
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.623067256376494930067e-5),
850
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.377246883283337141444e-6)
851
+ };
852
+ static const T Q[10] = {
853
+ BOOST_MATH_BIG_CONSTANT(T, 64, 1.0),
854
+ BOOST_MATH_BIG_CONSTANT(T, 64, 1.08073635708902053767),
855
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.553681133533942532909),
856
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.176763647137553797451),
857
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.0387891748253869928121),
858
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.0060603004848394727017),
859
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.000670519492939992806051),
860
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.4947357050100855646e-4),
861
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.204339282037446434827e-5),
862
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.146951181174930425744e-7)
863
+ };
864
+ // LCOV_EXCL_STOP
865
+ T t = z / 2 - 4;
866
+ result = Y + tools::evaluate_polynomial(P, t)
867
+ / tools::evaluate_polynomial(Q, t);
868
+ result *= exp(z) / z;
869
+ result += z;
870
+ }
871
+ else if(z <= 20)
872
+ {
873
+ // Maximum Deviation Found: 3.220e-20
874
+ // Expected Error Term: 3.220e-20
875
+ // Max Error found at long double precision = Poly: 7.696841e-20 Cheb: 6.205163e-20
876
+
877
+ // LCOV_EXCL_START
878
+ static const T Y = 1.0869731903076171875F;
879
+ static const T P[10] = {
880
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.00893891094356946995368),
881
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.0487562980088748775943),
882
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.0670568657950041926085),
883
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.0509577352851442932713),
884
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.02551800927409034206),
885
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.00892913759760086687083),
886
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.00224469630207344379888),
887
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.000392477245911296982776),
888
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.44424044184395578775e-4),
889
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.252788029251437017959e-5)
890
+ };
891
+ static const T Q[10] = {
892
+ BOOST_MATH_BIG_CONSTANT(T, 64, 1.0),
893
+ BOOST_MATH_BIG_CONSTANT(T, 64, 2.00323265503572414261),
894
+ BOOST_MATH_BIG_CONSTANT(T, 64, 1.94688958187256383178),
895
+ BOOST_MATH_BIG_CONSTANT(T, 64, 1.19733638134417472296),
896
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.513137726038353385661),
897
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.159135395578007264547),
898
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.0358233587351620919881),
899
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.0056716655597009417875),
900
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.000577048986213535829925),
901
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.290976943033493216793e-4)
902
+ };
903
+ // LCOV_EXCL_STOP
904
+ T t = z / 5 - 3;
905
+ result = Y + tools::evaluate_polynomial(P, t)
906
+ / tools::evaluate_polynomial(Q, t);
907
+ result *= exp(z) / z;
908
+ result += z;
909
+ }
910
+ else if(z <= 40)
911
+ {
912
+ // Maximum Deviation Found: 2.940e-21
913
+ // Expected Error Term: -2.938e-21
914
+ // Max Error found at long double precision = Poly: 3.419893e-19 Cheb: 3.359874e-19
915
+ // LCOV_EXCL_START
916
+ static const T Y = 1.03937530517578125F;
917
+ static const T P[12] = {
918
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.00356165148914447278177),
919
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.0240235006148610849678),
920
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.0516699967278057976119),
921
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.0586603078706856245674),
922
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.0409960120868776180825),
923
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.0185485073689590665153),
924
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.00537842101034123222417),
925
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.000920988084778273760609),
926
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.716742618812210980263e-4),
927
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.504623302166487346677e-9),
928
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.712662196671896837736e-10),
929
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.533769629702262072175e-11)
930
+ };
931
+ static const T Q[9] = {
932
+ BOOST_MATH_BIG_CONSTANT(T, 64, 1.0),
933
+ BOOST_MATH_BIG_CONSTANT(T, 64, 3.13286733695729715455),
934
+ BOOST_MATH_BIG_CONSTANT(T, 64, 4.49281223045653491929),
935
+ BOOST_MATH_BIG_CONSTANT(T, 64, 3.84900294427622911374),
936
+ BOOST_MATH_BIG_CONSTANT(T, 64, 2.15205199043580378211),
937
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.802912186540269232424),
938
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.194793170017818925388),
939
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.0280128013584653182994),
940
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.00182034930799902922549)
941
+ };
942
+ // LCOV_EXCL_STOP
943
+ T t = z / 10 - 3;
944
+ result = Y + tools::evaluate_polynomial(P, t)
945
+ / tools::evaluate_polynomial(Q, t);
946
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
947
+ result *= exp(z) / z;
948
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
949
+ result += z;
950
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
951
+ }
952
+ else
953
+ {
954
+ // Maximum Deviation Found: 3.536e-20
955
+ // Max Error found at long double precision = Poly: 1.310671e-19 Cheb: 8.630943e-11
956
+ // LCOV_EXCL_START
957
+ static const T exp40 = static_cast<T>(BOOST_MATH_BIG_CONSTANT(T, 64, 2.35385266837019985407899910749034804508871617254555467236651e17));
958
+ static const T Y= 1.013065338134765625F;
959
+ static const T P[9] = {
960
+ BOOST_MATH_BIG_CONSTANT(T, 64, -0.0130653381347656250004),
961
+ BOOST_MATH_BIG_CONSTANT(T, 64, 0.644487780349757303739),
962
+ BOOST_MATH_BIG_CONSTANT(T, 64, 143.995670348227433964),
963
+ BOOST_MATH_BIG_CONSTANT(T, 64, -13918.9322758014173709),
964
+ BOOST_MATH_BIG_CONSTANT(T, 64, 476260.975133624194484),
965
+ BOOST_MATH_BIG_CONSTANT(T, 64, -7437102.15135982802122),
966
+ BOOST_MATH_BIG_CONSTANT(T, 64, 53732298.8764767916542),
967
+ BOOST_MATH_BIG_CONSTANT(T, 64, -160695051.957997452509),
968
+ BOOST_MATH_BIG_CONSTANT(T, 64, 137839271.592778020028)
969
+ };
970
+ static const T Q[9] = {
971
+ BOOST_MATH_BIG_CONSTANT(T, 64, 1.0),
972
+ BOOST_MATH_BIG_CONSTANT(T, 64, 27.2103343964943718802),
973
+ BOOST_MATH_BIG_CONSTANT(T, 64, -8785.48528692879413676),
974
+ BOOST_MATH_BIG_CONSTANT(T, 64, 397530.290000322626766),
975
+ BOOST_MATH_BIG_CONSTANT(T, 64, -7356441.34957799368252),
976
+ BOOST_MATH_BIG_CONSTANT(T, 64, 63050914.5343400957524),
977
+ BOOST_MATH_BIG_CONSTANT(T, 64, -246143779.638307701369),
978
+ BOOST_MATH_BIG_CONSTANT(T, 64, 384647824.678554961174),
979
+ BOOST_MATH_BIG_CONSTANT(T, 64, -166288297.874583961493)
980
+ };
981
+ // LCOV_EXCL_STOP
982
+ T t = 1 / z;
983
+ result = Y + tools::evaluate_polynomial(P, t)
984
+ / tools::evaluate_polynomial(Q, t);
985
+ if(z < 41)
986
+ result *= exp(z) / z;
987
+ else
988
+ {
989
+ // Avoid premature overflow if we can:
990
+ t = z - 40;
991
+ if(t > tools::log_max_value<T>())
992
+ {
993
+ result = policies::raise_overflow_error<T>(function, nullptr, pol);
994
+ }
995
+ else
996
+ {
997
+ result *= exp(z - 40) / z;
998
+ if(result > tools::max_value<T>() / exp40)
999
+ {
1000
+ result = policies::raise_overflow_error<T>(function, nullptr, pol);
1001
+ }
1002
+ else
1003
+ {
1004
+ result *= exp40;
1005
+ }
1006
+ }
1007
+ }
1008
+ result += z;
1009
+ }
1010
+ return result;
1011
+ }
1012
+
1013
+ template <class T, class Policy>
1014
+ BOOST_MATH_GPU_ENABLED void expint_i_imp_113a(T& result, const T& z, const Policy& pol)
1015
+ {
1016
+ BOOST_MATH_STD_USING
1017
+ // Maximum Deviation Found: 1.230e-36
1018
+ // Expected Error Term: -1.230e-36
1019
+ // Max Error found at long double precision = Poly: 4.355299e-34 Cheb: 7.512581e-34
1020
+
1021
+ // LCOV_EXCL_START
1022
+ static const T P[15] = {
1023
+ BOOST_MATH_BIG_CONSTANT(T, 113, 2.98677224343598593765287235997328555),
1024
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.333256034674702967028780537349334037),
1025
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.851831522798101228384971644036708463),
1026
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0657854833494646206186773614110374948),
1027
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0630065662557284456000060708977935073),
1028
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00311759191425309373327784154659649232),
1029
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.00176213568201493949664478471656026771),
1030
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.491548660404172089488535218163952295e-4),
1031
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.207764227621061706075562107748176592e-4),
1032
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.225445398156913584846374273379402765e-6),
1033
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.996939977231410319761273881672601592e-7),
1034
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.212546902052178643330520878928100847e-9),
1035
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.154646053060262871360159325115980023e-9),
1036
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.143971277122049197323415503594302307e-11),
1037
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.306243138978114692252817805327426657e-13)
1038
+ };
1039
+ static const T Q[15] = {
1040
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.0),
1041
+ BOOST_MATH_BIG_CONSTANT(T, 113, -1.40178870313943798705491944989231793),
1042
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.943810968269701047641218856758605284),
1043
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.405026631534345064600850391026113165),
1044
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.123924153524614086482627660399122762),
1045
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0286364505373369439591132549624317707),
1046
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.00516148845910606985396596845494015963),
1047
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.000738330799456364820380739850924783649),
1048
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.843737760991856114061953265870882637e-4),
1049
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.767957673431982543213661388914587589e-5),
1050
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.549136847313854595809952100614840031e-6),
1051
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.299801381513743676764008325949325404e-7),
1052
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.118419479055346106118129130945423483e-8),
1053
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.30372295663095470359211949045344607e-10),
1054
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.382742953753485333207877784720070523e-12)
1055
+ };
1056
+
1057
+ static const T c1 = BOOST_MATH_BIG_CONSTANT(T, 113, 1677624236387711.0);
1058
+ static const T c2 = BOOST_MATH_BIG_CONSTANT(T, 113, 4503599627370496.0);
1059
+ static const T c3 = BOOST_MATH_BIG_CONSTANT(T, 113, 266514582277687.0);
1060
+ static const T c4 = BOOST_MATH_BIG_CONSTANT(T, 113, 4503599627370496.0);
1061
+ static const T c5 = BOOST_MATH_BIG_CONSTANT(T, 113, 4503599627370496.0);
1062
+ static const T r1 = c1 / c2;
1063
+ static const T r2 = c3 / c4 / c5;
1064
+ static const T r3 = static_cast<T>(BOOST_MATH_BIG_CONSTANT(T, 113, 0.283806480836357377069325311780969887585024578164571984232357e-31));
1065
+ static const T r = static_cast<T>(BOOST_MATH_BIG_CONSTANT(T, 113, 0.372507410781366634461991866580119133535689497771654051555657435242200120636201854384926049951548942392));
1066
+ // LCOV_EXCL_STOP
1067
+ T t = (z / 3) - 1;
1068
+ result = tools::evaluate_polynomial(P, t)
1069
+ / tools::evaluate_polynomial(Q, t);
1070
+ t = ((z - r1) - r2) - r3;
1071
+ result *= t;
1072
+ if(fabs(t) < 0.1)
1073
+ {
1074
+ result += boost::math::log1p(t / r, pol);
1075
+ }
1076
+ else
1077
+ {
1078
+ result += log(z / r);
1079
+ }
1080
+ }
1081
+
1082
+ template <class T>
1083
+ BOOST_MATH_GPU_ENABLED void expint_i_113b(T& result, const T& z)
1084
+ {
1085
+ BOOST_MATH_STD_USING
1086
+ // Maximum Deviation Found: 7.779e-36
1087
+ // Expected Error Term: -7.779e-36
1088
+ // Max Error found at long double precision = Poly: 2.576723e-35 Cheb: 1.236001e-34
1089
+ // LCOV_EXCL_START
1090
+ static const T Y = 1.158985137939453125F;
1091
+ static const T P[15] = {
1092
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.00139324086199409049282472239613554817),
1093
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0338173111691991289178779840307998955),
1094
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0555972290794371306259684845277620556),
1095
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0378677976003456171563136909186202177),
1096
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0152221583517528358782902783914356667),
1097
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00428283334203873035104248217403126905),
1098
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.000922782631491644846511553601323435286),
1099
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.000155513428088853161562660696055496696),
1100
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.205756580255359882813545261519317096e-4),
1101
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.220327406578552089820753181821115181e-5),
1102
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.189483157545587592043421445645377439e-6),
1103
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.122426571518570587750898968123803867e-7),
1104
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.635187358949437991465353268374523944e-9),
1105
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.203015132965870311935118337194860863e-10),
1106
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.384276705503357655108096065452950822e-12)
1107
+ };
1108
+ static const T Q[15] = {
1109
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.0),
1110
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.58784732785354597996617046880946257),
1111
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.18550755302279446339364262338114098),
1112
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.55598993549661368604527040349702836),
1113
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.184290888380564236919107835030984453),
1114
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0459658051803613282360464632326866113),
1115
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0089505064268613225167835599456014705),
1116
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.00139042673882987693424772855926289077),
1117
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.000174210708041584097450805790176479012),
1118
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.176324034009707558089086875136647376e-4),
1119
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.142935845999505649273084545313710581e-5),
1120
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.907502324487057260675816233312747784e-7),
1121
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.431044337808893270797934621235918418e-8),
1122
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.139007266881450521776529705677086902e-9),
1123
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.234715286125516430792452741830364672e-11)
1124
+ };
1125
+ // LCOV_EXCL_STOP
1126
+ T t = z / 2 - 4;
1127
+ result = Y + tools::evaluate_polynomial(P, t)
1128
+ / tools::evaluate_polynomial(Q, t);
1129
+ result *= exp(z) / z;
1130
+ result += z;
1131
+ }
1132
+
1133
+ template <class T>
1134
+ BOOST_MATH_GPU_ENABLED void expint_i_113c(T& result, const T& z)
1135
+ {
1136
+ BOOST_MATH_STD_USING
1137
+ // Maximum Deviation Found: 1.082e-34
1138
+ // Expected Error Term: 1.080e-34
1139
+ // Max Error found at long double precision = Poly: 1.958294e-34 Cheb: 2.472261e-34
1140
+
1141
+ // LCOV_EXCL_START
1142
+ static const T Y = 1.091579437255859375F;
1143
+ static const T P[17] = {
1144
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00685089599550151282724924894258520532),
1145
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0443313550253580053324487059748497467),
1146
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.071538561252424027443296958795814874),
1147
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0622923153354102682285444067843300583),
1148
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0361631270264607478205393775461208794),
1149
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0153192826839624850298106509601033261),
1150
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00496967904961260031539602977748408242),
1151
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00126989079663425780800919171538920589),
1152
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.000258933143097125199914724875206326698),
1153
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.422110326689204794443002330541441956e-4),
1154
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.546004547590412661451073996127115221e-5),
1155
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.546775260262202177131068692199272241e-6),
1156
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.404157632825805803833379568956559215e-7),
1157
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.200612596196561323832327013027419284e-8),
1158
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.502538501472133913417609379765434153e-10),
1159
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.326283053716799774936661568391296584e-13),
1160
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.869226483473172853557775877908693647e-15)
1161
+ };
1162
+ static const T Q[15] = {
1163
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.0),
1164
+ BOOST_MATH_BIG_CONSTANT(T, 113, 2.23227220874479061894038229141871087),
1165
+ BOOST_MATH_BIG_CONSTANT(T, 113, 2.40221000361027971895657505660959863),
1166
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.65476320985936174728238416007084214),
1167
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.816828602963895720369875535001248227),
1168
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.306337922909446903672123418670921066),
1169
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0902400121654409267774593230720600752),
1170
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0212708882169429206498765100993228086),
1171
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.00404442626252467471957713495828165491),
1172
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0006195601618842253612635241404054589),
1173
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.755930932686543009521454653994321843e-4),
1174
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.716004532773778954193609582677482803e-5),
1175
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.500881663076471627699290821742924233e-6),
1176
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.233593219218823384508105943657387644e-7),
1177
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.554900353169148897444104962034267682e-9)
1178
+ };
1179
+ // LCOV_EXCL_STOP
1180
+ T t = z / 4 - 3.5;
1181
+ result = Y + tools::evaluate_polynomial(P, t)
1182
+ / tools::evaluate_polynomial(Q, t);
1183
+ result *= exp(z) / z;
1184
+ result += z;
1185
+ }
1186
+
1187
+ template <class T>
1188
+ BOOST_MATH_GPU_ENABLED void expint_i_113d(T& result, const T& z)
1189
+ {
1190
+ BOOST_MATH_STD_USING
1191
+ // Maximum Deviation Found: 3.163e-35
1192
+ // Expected Error Term: 3.163e-35
1193
+ // Max Error found at long double precision = Poly: 4.158110e-35 Cheb: 5.385532e-35
1194
+ // LCOV_EXCL_START
1195
+ static const T Y = 1.051731109619140625F;
1196
+ static const T P[14] = {
1197
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00144552494420652573815404828020593565),
1198
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0126747451594545338365684731262912741),
1199
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.01757394877502366717526779263438073),
1200
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0126838952395506921945756139424722588),
1201
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0060045057928894974954756789352443522),
1202
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00205349237147226126653803455793107903),
1203
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.000532606040579654887676082220195624207),
1204
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.000107344687098019891474772069139014662),
1205
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.169536802705805811859089949943435152e-4),
1206
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.20863311729206543881826553010120078e-5),
1207
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.195670358542116256713560296776654385e-6),
1208
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.133291168587253145439184028259772437e-7),
1209
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.595500337089495614285777067722823397e-9),
1210
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.133141358866324100955927979606981328e-10)
1211
+ };
1212
+ static const T Q[14] = {
1213
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.0),
1214
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.72490783907582654629537013560044682),
1215
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.44524329516800613088375685659759765),
1216
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.778241785539308257585068744978050181),
1217
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.300520486589206605184097270225725584),
1218
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0879346899691339661394537806057953957),
1219
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0200802415843802892793583043470125006),
1220
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.00362842049172586254520256100538273214),
1221
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.000519731362862955132062751246769469957),
1222
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.584092147914050999895178697392282665e-4),
1223
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.501851497707855358002773398333542337e-5),
1224
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.313085677467921096644895738538865537e-6),
1225
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.127552010539733113371132321521204458e-7),
1226
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.25737310826983451144405899970774587e-9)
1227
+ };
1228
+ // LCOV_EXCL_STOP
1229
+ T t = z / 4 - 5.5;
1230
+ result = Y + tools::evaluate_polynomial(P, t)
1231
+ / tools::evaluate_polynomial(Q, t);
1232
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
1233
+ result *= exp(z) / z;
1234
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
1235
+ result += z;
1236
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
1237
+ }
1238
+
1239
+ template <class T>
1240
+ BOOST_MATH_GPU_ENABLED void expint_i_113e(T& result, const T& z)
1241
+ {
1242
+ BOOST_MATH_STD_USING
1243
+ // Maximum Deviation Found: 7.972e-36
1244
+ // Expected Error Term: 7.962e-36
1245
+ // Max Error found at long double precision = Poly: 1.711721e-34 Cheb: 3.100018e-34
1246
+ // LCOV_EXCL_START
1247
+ static const T Y = 1.032726287841796875F;
1248
+ static const T P[15] = {
1249
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00141056919297307534690895009969373233),
1250
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0123384175302540291339020257071411437),
1251
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0298127270706864057791526083667396115),
1252
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0390686759471630584626293670260768098),
1253
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0338226792912607409822059922949035589),
1254
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0211659736179834946452561197559654582),
1255
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0100428887460879377373158821400070313),
1256
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00370717396015165148484022792801682932),
1257
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0010768667551001624764329000496561659),
1258
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.000246127328761027039347584096573123531),
1259
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.437318110527818613580613051861991198e-4),
1260
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.587532682329299591501065482317771497e-5),
1261
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.565697065670893984610852937110819467e-6),
1262
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.350233957364028523971768887437839573e-7),
1263
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.105428907085424234504608142258423505e-8)
1264
+ };
1265
+ static const T Q[16] = {
1266
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.0),
1267
+ BOOST_MATH_BIG_CONSTANT(T, 113, 3.17261315255467581204685605414005525),
1268
+ BOOST_MATH_BIG_CONSTANT(T, 113, 4.85267952971640525245338392887217426),
1269
+ BOOST_MATH_BIG_CONSTANT(T, 113, 4.74341914912439861451492872946725151),
1270
+ BOOST_MATH_BIG_CONSTANT(T, 113, 3.31108463283559911602405970817931801),
1271
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.74657006336994649386607925179848899),
1272
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.718255607416072737965933040353653244),
1273
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.234037553177354542791975767960643864),
1274
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0607470145906491602476833515412605389),
1275
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0125048143774226921434854172947548724),
1276
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.00201034366420433762935768458656609163),
1277
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.000244823338417452367656368849303165721),
1278
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.213511655166983177960471085462540807e-4),
1279
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.119323998465870686327170541547982932e-5),
1280
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.322153582559488797803027773591727565e-7),
1281
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.161635525318683508633792845159942312e-16)
1282
+ };
1283
+ // LCOV_EXCL_STOP
1284
+ T t = z / 8 - 4.25;
1285
+ result = Y + tools::evaluate_polynomial(P, t)
1286
+ / tools::evaluate_polynomial(Q, t);
1287
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
1288
+ result *= exp(z) / z;
1289
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
1290
+ result += z;
1291
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
1292
+ }
1293
+
1294
+ template <class T>
1295
+ BOOST_MATH_GPU_ENABLED void expint_i_113f(T& result, const T& z)
1296
+ {
1297
+ BOOST_MATH_STD_USING
1298
+ // Maximum Deviation Found: 4.469e-36
1299
+ // Expected Error Term: 4.468e-36
1300
+ // Max Error found at long double precision = Poly: 1.288958e-35 Cheb: 2.304586e-35
1301
+ // LCOV_EXCL_START
1302
+ static const T Y = 1.0216197967529296875F;
1303
+ static const T P[12] = {
1304
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.000322999116096627043476023926572650045),
1305
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00385606067447365187909164609294113346),
1306
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00686514524727568176735949971985244415),
1307
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00606260649593050194602676772589601799),
1308
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00334382362017147544335054575436194357),
1309
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00126108534260253075708625583630318043),
1310
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.000337881489347846058951220431209276776),
1311
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.648480902304640018785370650254018022e-4),
1312
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.87652644082970492211455290209092766e-5),
1313
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.794712243338068631557849449519994144e-6),
1314
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.434084023639508143975983454830954835e-7),
1315
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.107839681938752337160494412638656696e-8)
1316
+ };
1317
+ static const T Q[12] = {
1318
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.0),
1319
+ BOOST_MATH_BIG_CONSTANT(T, 113, 2.09913805456661084097134805151524958),
1320
+ BOOST_MATH_BIG_CONSTANT(T, 113, 2.07041755535439919593503171320431849),
1321
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.26406517226052371320416108604874734),
1322
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.529689923703770353961553223973435569),
1323
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.159578150879536711042269658656115746),
1324
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0351720877642000691155202082629857131),
1325
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.00565313621289648752407123620997063122),
1326
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.000646920278540515480093843570291218295),
1327
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.499904084850091676776993523323213591e-4),
1328
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.233740058688179614344680531486267142e-5),
1329
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.498800627828842754845418576305379469e-7)
1330
+ };
1331
+ // LCOV_EXCL_STOP
1332
+ T t = z / 7 - 7;
1333
+ result = Y + tools::evaluate_polynomial(P, t)
1334
+ / tools::evaluate_polynomial(Q, t);
1335
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
1336
+ result *= exp(z) / z;
1337
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
1338
+ result += z;
1339
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
1340
+ }
1341
+
1342
+ template <class T>
1343
+ BOOST_MATH_GPU_ENABLED void expint_i_113g(T& result, const T& z)
1344
+ {
1345
+ BOOST_MATH_STD_USING
1346
+ // Maximum Deviation Found: 5.588e-35
1347
+ // Expected Error Term: -5.566e-35
1348
+ // Max Error found at long double precision = Poly: 9.976345e-35 Cheb: 8.358865e-35
1349
+ // LCOV_EXCL_START
1350
+ static const T Y = 1.015148162841796875F;
1351
+ static const T P[11] = {
1352
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.000435714784725086961464589957142615216),
1353
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00432114324353830636009453048419094314),
1354
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0100740363285526177522819204820582424),
1355
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0116744115827059174392383504427640362),
1356
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00816145387784261141360062395898644652),
1357
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00371380272673500791322744465394211508),
1358
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00112958263488611536502153195005736563),
1359
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.000228316462389404645183269923754256664),
1360
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.29462181955852860250359064291292577e-4),
1361
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.21972450610957417963227028788460299e-5),
1362
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.720558173805289167524715527536874694e-7)
1363
+ };
1364
+ static const T Q[11] = {
1365
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.0),
1366
+ BOOST_MATH_BIG_CONSTANT(T, 113, 2.95918362458402597039366979529287095),
1367
+ BOOST_MATH_BIG_CONSTANT(T, 113, 3.96472247520659077944638411856748924),
1368
+ BOOST_MATH_BIG_CONSTANT(T, 113, 3.15563251550528513747923714884142131),
1369
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.64674612007093983894215359287448334),
1370
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.58695020129846594405856226787156424),
1371
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.144358385319329396231755457772362793),
1372
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.024146911506411684815134916238348063),
1373
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.0026257132337460784266874572001650153),
1374
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.000167479843750859222348869769094711093),
1375
+ BOOST_MATH_BIG_CONSTANT(T, 113, 0.475673638665358075556452220192497036e-5)
1376
+ };
1377
+ // LCOV_EXCL_STOP
1378
+ T t = z / 14 - 5;
1379
+ result = Y + tools::evaluate_polynomial(P, t)
1380
+ / tools::evaluate_polynomial(Q, t);
1381
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
1382
+ result *= exp(z) / z;
1383
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
1384
+ result += z;
1385
+ BOOST_MATH_INSTRUMENT_VARIABLE(result)
1386
+ }
1387
+
1388
+ template <class T>
1389
+ BOOST_MATH_GPU_ENABLED void expint_i_113h(T& result, const T& z)
1390
+ {
1391
+ BOOST_MATH_STD_USING
1392
+ // Maximum Deviation Found: 4.448e-36
1393
+ // Expected Error Term: 4.445e-36
1394
+ // Max Error found at long double precision = Poly: 2.058532e-35 Cheb: 2.165465e-27
1395
+ // LCOV_EXCL_START
1396
+ static const T Y= 1.00849151611328125F;
1397
+ static const T P[9] = {
1398
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.0084915161132812500000001440233607358),
1399
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.84479378737716028341394223076147872),
1400
+ BOOST_MATH_BIG_CONSTANT(T, 113, -130.431146923726715674081563022115568),
1401
+ BOOST_MATH_BIG_CONSTANT(T, 113, 4336.26945491571504885214176203512015),
1402
+ BOOST_MATH_BIG_CONSTANT(T, 113, -76279.0031974974730095170437591004177),
1403
+ BOOST_MATH_BIG_CONSTANT(T, 113, 729577.956271997673695191455111727774),
1404
+ BOOST_MATH_BIG_CONSTANT(T, 113, -3661928.69330208734947103004900349266),
1405
+ BOOST_MATH_BIG_CONSTANT(T, 113, 8570600.041606912735872059184527855),
1406
+ BOOST_MATH_BIG_CONSTANT(T, 113, -6758379.93672362080947905580906028645)
1407
+ };
1408
+ static const T Q[10] = {
1409
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.0),
1410
+ BOOST_MATH_BIG_CONSTANT(T, 113, -99.4868026047611434569541483506091713),
1411
+ BOOST_MATH_BIG_CONSTANT(T, 113, 3879.67753690517114249705089803055473),
1412
+ BOOST_MATH_BIG_CONSTANT(T, 113, -76495.82413252517165830203774900806),
1413
+ BOOST_MATH_BIG_CONSTANT(T, 113, 820773.726408311894342553758526282667),
1414
+ BOOST_MATH_BIG_CONSTANT(T, 113, -4803087.64956923577571031564909646579),
1415
+ BOOST_MATH_BIG_CONSTANT(T, 113, 14521246.227703545012713173740895477),
1416
+ BOOST_MATH_BIG_CONSTANT(T, 113, -19762752.0196769712258527849159393044),
1417
+ BOOST_MATH_BIG_CONSTANT(T, 113, 8354144.67882768405803322344185185517),
1418
+ BOOST_MATH_BIG_CONSTANT(T, 113, 355076.853106511136734454134915432571)
1419
+ };
1420
+ // LCOV_EXCL_STOP
1421
+ T t = 1 / z;
1422
+ result = Y + tools::evaluate_polynomial(P, t)
1423
+ / tools::evaluate_polynomial(Q, t);
1424
+ result *= exp(z) / z;
1425
+ result += z;
1426
+ }
1427
+
1428
+ template <class T, class Policy>
1429
+ BOOST_MATH_GPU_ENABLED T expint_i_imp(T z, const Policy& pol, const boost::math::integral_constant<int, 113>& tag)
1430
+ {
1431
+ BOOST_MATH_STD_USING
1432
+ constexpr auto function = "boost::math::expint<%1%>(%1%)";
1433
+ if(z < 0)
1434
+ return -expint_imp(1, T(-z), pol, tag);
1435
+ if(z == 0)
1436
+ return -policies::raise_overflow_error<T>(function, nullptr, pol);
1437
+
1438
+ T result;
1439
+
1440
+ if(z <= 6)
1441
+ {
1442
+ expint_i_imp_113a(result, z, pol);
1443
+ }
1444
+ else if (z <= 10)
1445
+ {
1446
+ expint_i_113b(result, z);
1447
+ }
1448
+ else if(z <= 18)
1449
+ {
1450
+ expint_i_113c(result, z);
1451
+ }
1452
+ else if(z <= 26)
1453
+ {
1454
+ expint_i_113d(result, z);
1455
+ }
1456
+ else if(z <= 42)
1457
+ {
1458
+ expint_i_113e(result, z);
1459
+ }
1460
+ else if(z <= 56)
1461
+ {
1462
+ expint_i_113f(result, z);
1463
+ }
1464
+ else if(z <= 84)
1465
+ {
1466
+ expint_i_113g(result, z);
1467
+ }
1468
+ else if(z <= 210)
1469
+ {
1470
+ expint_i_113h(result, z);
1471
+ }
1472
+ else // z > 210
1473
+ {
1474
+ // Maximum Deviation Found: 3.963e-37
1475
+ // Expected Error Term: 3.963e-37
1476
+ // Max Error found at long double precision = Poly: 1.248049e-36 Cheb: 2.843486e-29
1477
+
1478
+ static const T exp40 = static_cast<T>(BOOST_MATH_BIG_CONSTANT(T, 113, 2.35385266837019985407899910749034804508871617254555467236651e17));
1479
+ static const T Y= 1.00252532958984375F;
1480
+ static const T P[8] = {
1481
+ BOOST_MATH_BIG_CONSTANT(T, 113, -0.00252532958984375000000000000000000085),
1482
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.16591386866059087390621952073890359),
1483
+ BOOST_MATH_BIG_CONSTANT(T, 113, -67.8483431314018462417456828499277579),
1484
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1567.68688154683822956359536287575892),
1485
+ BOOST_MATH_BIG_CONSTANT(T, 113, -17335.4683325819116482498725687644986),
1486
+ BOOST_MATH_BIG_CONSTANT(T, 113, 93632.6567462673524739954389166550069),
1487
+ BOOST_MATH_BIG_CONSTANT(T, 113, -225025.189335919133214440347510936787),
1488
+ BOOST_MATH_BIG_CONSTANT(T, 113, 175864.614717440010942804684741336853)
1489
+ };
1490
+ static const T Q[9] = {
1491
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1.0),
1492
+ BOOST_MATH_BIG_CONSTANT(T, 113, -65.6998869881600212224652719706425129),
1493
+ BOOST_MATH_BIG_CONSTANT(T, 113, 1642.73850032324014781607859416890077),
1494
+ BOOST_MATH_BIG_CONSTANT(T, 113, -19937.2610222467322481947237312818575),
1495
+ BOOST_MATH_BIG_CONSTANT(T, 113, 124136.267326632742667972126625064538),
1496
+ BOOST_MATH_BIG_CONSTANT(T, 113, -384614.251466704550678760562965502293),
1497
+ BOOST_MATH_BIG_CONSTANT(T, 113, 523355.035910385688578278384032026998),
1498
+ BOOST_MATH_BIG_CONSTANT(T, 113, -217809.552260834025885677791936351294),
1499
+ BOOST_MATH_BIG_CONSTANT(T, 113, -8555.81719551123640677261226549550872)
1500
+ };
1501
+ T t = 1 / z;
1502
+ result = Y + tools::evaluate_polynomial(P, t)
1503
+ / tools::evaluate_polynomial(Q, t);
1504
+ if(z < 41)
1505
+ result *= exp(z) / z;
1506
+ else
1507
+ {
1508
+ // Avoid premature overflow if we can:
1509
+ t = z - 40;
1510
+ if(t > tools::log_max_value<T>())
1511
+ {
1512
+ result = policies::raise_overflow_error<T>(function, nullptr, pol);
1513
+ }
1514
+ else
1515
+ {
1516
+ result *= exp(z - 40) / z;
1517
+ if(result > tools::max_value<T>() / exp40)
1518
+ {
1519
+ result = policies::raise_overflow_error<T>(function, nullptr, pol);
1520
+ }
1521
+ else
1522
+ {
1523
+ result *= exp40;
1524
+ }
1525
+ }
1526
+ }
1527
+ result += z;
1528
+ }
1529
+ return result;
1530
+ }
1531
+
1532
+ template <class T, class Policy>
1533
+ BOOST_MATH_GPU_ENABLED inline typename tools::promote_args<T>::type
1534
+ expint_forwarder(T z, const Policy& /*pol*/, boost::math::true_type const&)
1535
+ {
1536
+ typedef typename tools::promote_args<T>::type result_type;
1537
+ typedef typename policies::evaluation<result_type, Policy>::type value_type;
1538
+ typedef typename policies::precision<result_type, Policy>::type precision_type;
1539
+ typedef typename policies::normalise<
1540
+ Policy,
1541
+ policies::promote_float<false>,
1542
+ policies::promote_double<false>,
1543
+ policies::discrete_quantile<>,
1544
+ policies::assert_undefined<> >::type forwarding_policy;
1545
+ typedef boost::math::integral_constant<int,
1546
+ precision_type::value <= 0 ? 0 :
1547
+ precision_type::value <= 53 ? 53 :
1548
+ precision_type::value <= 64 ? 64 :
1549
+ precision_type::value <= 113 ? 113 : 0
1550
+ > tag_type;
1551
+
1552
+ return policies::checked_narrowing_cast<result_type, forwarding_policy>(detail::expint_i_imp(static_cast<value_type>(z), forwarding_policy(), tag_type()), "boost::math::expint<%1%>(%1%)");
1553
+ }
1554
+
1555
+ template <class T>
1556
+ BOOST_MATH_GPU_ENABLED inline typename tools::promote_args<T>::type
1557
+ expint_forwarder(unsigned n, T z, const boost::math::false_type&)
1558
+ {
1559
+ return boost::math::expint(n, z, policies::policy<>());
1560
+ }
1561
+
1562
+ } // namespace detail
1563
+
1564
+ template <class T, class Policy>
1565
+ BOOST_MATH_GPU_ENABLED inline typename tools::promote_args<T>::type
1566
+ expint(unsigned n, T z, const Policy& /*pol*/)
1567
+ {
1568
+ typedef typename tools::promote_args<T>::type result_type;
1569
+ typedef typename policies::evaluation<result_type, Policy>::type value_type;
1570
+ typedef typename policies::precision<result_type, Policy>::type precision_type;
1571
+ typedef typename policies::normalise<
1572
+ Policy,
1573
+ policies::promote_float<false>,
1574
+ policies::promote_double<false>,
1575
+ policies::discrete_quantile<>,
1576
+ policies::assert_undefined<> >::type forwarding_policy;
1577
+ typedef boost::math::integral_constant<int,
1578
+ precision_type::value <= 0 ? 0 :
1579
+ precision_type::value <= 53 ? 53 :
1580
+ precision_type::value <= 64 ? 64 :
1581
+ precision_type::value <= 113 ? 113 : 0
1582
+ > tag_type;
1583
+
1584
+ return policies::checked_narrowing_cast<result_type, forwarding_policy>(detail::expint_imp(
1585
+ n,
1586
+ static_cast<value_type>(z),
1587
+ forwarding_policy(),
1588
+ tag_type()), "boost::math::expint<%1%>(unsigned, %1%)");
1589
+ }
1590
+
1591
+ template <class T, class U>
1592
+ BOOST_MATH_GPU_ENABLED inline typename detail::expint_result<T, U>::type
1593
+ expint(T const z, U const u)
1594
+ {
1595
+ typedef typename policies::is_policy<U>::type tag_type;
1596
+ return detail::expint_forwarder(z, u, tag_type());
1597
+ }
1598
+
1599
+ template <class T>
1600
+ BOOST_MATH_GPU_ENABLED inline typename tools::promote_args<T>::type
1601
+ expint(T z)
1602
+ {
1603
+ return expint(z, policies::policy<>());
1604
+ }
1605
+
1606
+ }} // namespaces
1607
+
1608
+ #ifdef _MSC_VER
1609
+ #pragma warning(pop)
1610
+ #endif
1611
+
1612
+ #endif // BOOST_MATH_EXPINT_HPP
1613
+
1614
+