# Fast integration of log(2^(P(x)exp(-x^2/2)+1)

**URL:** <https://discourse.julialang.org/t/fast-integration-of-log-2-p-x-exp-x-2-2-1/42762>\
**Category:** Numerics\
**Created:** [July 8, 2020, 11:39pm UTC](https://discourse.julialang.org/t/fast-integration-of-log-2-p-x-exp-x-2-2-1/42762 "2020-07-08T23:39:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 9, 2020, 12:37am UTC](https://discourse.julialang.org/t/fast-integration-of-log-2-p-x-exp-x-2-2-1/42762/2 "2020-07-09T00:37:31Z")

</div>

See my answer here: [Julia integral calculation - community module or own module? - #15 by stevengj](https://discourse.julialang.org/t/julia-integral-calculation-community-module-or-own-module/24278/15)

…though if your polynomials change matters are more difficult.

Could you explain more of the context here? Where do your integrals and polynomials come from?

---

_[View the full topic](https://discourse.julialang.org/t/fast-integration-of-log-2-p-x-exp-x-2-2-1/42762)._
