# Tanh-Sinh Quadrature package

**URL:** <https://discourse.julialang.org/t/tanh-sinh-quadrature-package/135114>\
**Category:** Package Announcements\
**Tags:** package, integral\
**Created:** [January 17, 2026, 8:05pm UTC](https://discourse.julialang.org/t/tanh-sinh-quadrature-package/135114 "2026-01-17T20:05:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![svretina](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/svretina/32/206157_2.png) [@svretina](https://discourse.julialang.org/u/svretina)\
**Post date:** [January 17, 2026, 8:05pm UTC](https://discourse.julialang.org/t/tanh-sinh-quadrature-package/135114/1 "2026-01-17T20:05:30Z")

</div>

Hi everyone,

before I tag an official release and make an official announcement for this package ([GitHub - svretina/FastTanhSinhQuadrature.jl: A Julia package for Tanh-Sinh Quadrature rules up to 3 dimensions](https://github.com/svretina/FastTanhSinhQuadrature.jl)). I would like if you have some suggestions to improve functionality or anything, to share it. Please have a look and let me know. Looking forward to your suggestions

---

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [January 17, 2026, 9:23pm UTC](https://discourse.julialang.org/t/tanh-sinh-quadrature-package/135114/2 "2026-01-17T21:23:03Z")

</div>

How does this differ from [DoubleExponentialFormulas · Julia Packages](https://juliapackages.com/p/doubleexponentialformulas)?

---

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [January 17, 2026, 9:31pm UTC](https://discourse.julialang.org/t/tanh-sinh-quadrature-package/135114/3 "2026-01-17T21:31:28Z")

</div>

This method should be referenced ([Takahasi and Mori, 1973](https://ems.press/content/serial-article-files/41766?nt=1)), and it would be useful to reproduce some of the numerical examples from the original paper.

---

<div class="post-metadata">

**Author:** ![svretina](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/svretina/32/206157_2.png) [@svretina](https://discourse.julialang.org/u/svretina)\
**Post date:** [January 17, 2026, 11:48pm UTC](https://discourse.julialang.org/t/tanh-sinh-quadrature-package/135114/4 "2026-01-17T23:48:48Z")

</div>

If I recall correctly it provides only 1D integrals. And the performance was not satisfying for my use case. The reuse of the weights for example improved my calculations.

- provide weights and quadrature points similar to the FastGaussQuadrature.jl, that can be reused.
- 2 and 3 dimensions covered

---

<div class="post-metadata">

**Author:** ![svretina](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/svretina/32/206157_2.png) [@svretina](https://discourse.julialang.org/u/svretina)\
**Post date:** [January 17, 2026, 11:50pm UTC](https://discourse.julialang.org/t/tanh-sinh-quadrature-package/135114/5 "2026-01-17T23:50:08Z")

</div>

Thanks for the suggestion.  
I mentioned the paper in the docs but I will add it to the docs with proper references.

I will add the numerical examples of the paper to the docs.
