# What is the recommended way to do numerical integration in Julia — like \`NIntegrat

**URL:** <https://discourse.julialang.org/t/what-is-the-recommended-way-to-do-numerical-integration-in-julia-like-nintegrat/55237>\
**Category:** General Usage\
**Created:** [February 14, 2021, 2:54am UTC](https://discourse.julialang.org/t/what-is-the-recommended-way-to-do-numerical-integration-in-julia-like-nintegrat/55237 "2021-02-14T02:54:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BridgeBot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bridgebot/32/21491_2.png) [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Post date:** [February 14, 2021, 2:54am UTC](https://discourse.julialang.org/t/what-is-the-recommended-way-to-do-numerical-integration-in-julia-like-nintegrat/55237/1 "2021-02-14T02:54:16Z")

</div>

What is the recommended way to do numerical integration in Julia — like `NIntegrate` in Mathematica?

Note that the original poster on Slack cannot see your response here on Discourse. Consider _transcribing the appropriate answer back to Slack_, or pinging the poster here on Discourse so they can _follow this thread_.  
[(Original message :slack:)](https://julialang.slack.com/archives/C6A044SQH/p1613271218251900?thread_ts=1613271218.251900&cid=C6A044SQH) [(More Info)](https://github.com/JuliaCommunity/SlackBridge)

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [February 14, 2021, 10:41pm UTC](https://discourse.julialang.org/t/what-is-the-recommended-way-to-do-numerical-integration-in-julia-like-nintegrat/55237/2 "2021-02-14T22:41:26Z")

</div>

> **[GitHub - SciML/Integrals.jl: A common interface for quadrature and numerical...](https://github.com/SciML/Integrals.jl)**
>
> A common interface for quadrature and numerical integration for the SciML scientific machine learning organization - GitHub - SciML/Integrals.jl: A common interface for quadrature and numerical int...

---

<div class="post-metadata">

**Author:** ![CodeLenz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/codelenz/32/3419_2.png) [@CodeLenz](https://discourse.julialang.org/u/CodeLenz)\
**Post date:** [February 14, 2021, 11:08pm UTC](https://discourse.julialang.org/t/what-is-the-recommended-way-to-do-numerical-integration-in-julia-like-nintegrat/55237/3 "2021-02-14T23:08:48Z")

</div>

There is also [https://github.com/JuliaApproximation/FastGaussQuadrature.jl](https://github.com/JuliaApproximation/FastGaussQuadrature.jl)

---

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [February 14, 2021, 11:16pm UTC](https://discourse.julialang.org/t/what-is-the-recommended-way-to-do-numerical-integration-in-julia-like-nintegrat/55237/4 "2021-02-14T23:16:25Z")

</div>

There are lots of numerical integration packages in Julia, and which one is best will depend upon the kind integral(s) you want to perform — a little more information would be helpful.

(@ChrisRackauckas’s Quadrature.jl package provides a common interface to several of these packages, but you still need to select an algorithm.)
