# \#hcubature

**URL:** https://discourse.julialang.org/tag/hcubature/1562.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Caching in Integrals.jl](https://discourse.julialang.org/t/caching-in-integrals-jl/135443)

<div class="topic-metadata">

**Author:** [@omerc](https://discourse.julialang.org/u/omerc)\
**Replies:** 4\
**Last updated:** [February 5, 2026, 2:25am UTC](https://discourse.julialang.org/t/caching-in-integrals-jl/135443 "2026-02-05T02:25:25Z")

</div>

Recently, I tried to numerically integrate a function for multiple parameters. The integral is four dimensional, so I use CubatureJLh() (but I don’t mind using other methods - the documentation doesn’t elaborate a lot on…

---

## [Speeding up N-dimensional integration](https://discourse.julialang.org/t/speeding-up-n-dimensional-integration/132782)

<div class="topic-metadata">

**Author:** [@owiecc](https://discourse.julialang.org/u/owiecc)\
**Replies:** 14\
**Last updated:** [October 1, 2025, 2:17pm UTC](https://discourse.julialang.org/t/speeding-up-n-dimensional-integration/132782 "2025-10-01T14:17:14Z")

</div>

I am struggling to speed up a N-dimensional integration problem. To me it looks that allocations are the problem. I chased as many allocations I could find in the code but I still would like to speed-up the code by at le…

---

## [Slow cubature](https://discourse.julialang.org/t/slow-cubature/116120)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 21\
**Last updated:** [June 25, 2024, 12:46am UTC](https://discourse.julialang.org/t/slow-cubature/116120 "2024-06-25T00:46:35Z")

</div>

I’m trying the perform a numerical integration over 4-dimensions. Here is a self-contained example: import HCubature using StaticArrays: SMatrix using StaticArrays: SVector using LinearAlgebra: Symmetric using LinearAlg…

---

## [Hcubature\_count?](https://discourse.julialang.org/t/hcubature-count/115878)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 6\
**Last updated:** [June 20, 2024, 7:07am UTC](https://discourse.julialang.org/t/hcubature-count/115878 "2024-06-20T07:07:03Z")

</div>

Is there a \_count equivalent for hcubature in the same way that quadgk\_count is for quadgk? Thx.

---

## [HCubature convergence](https://discourse.julialang.org/t/hcubature-convergence/111840)

<div class="topic-metadata">

**Author:** [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)\
**Replies:** 3\
**Last updated:** [March 20, 2024, 7:22am UTC](https://discourse.julialang.org/t/hcubature-convergence/111840 "2024-03-20T07:22:29Z")

</div>

I do not understand why HCubature.jl v1.6.0 makes two different estimates of the error E (HCubature.jl/src/HCubature.jl at master · JuliaMath/HCubature.jl · GitHub) for the following two versions of the integrand: using…
