diff --git a/src/expectations.jl b/src/expectations.jl index 85db8c3..3354548 100644 --- a/src/expectations.jl +++ b/src/expectations.jl @@ -1,8 +1,10 @@ -using FastGaussQuadrature: gausshermite +using FastGaussQuadrature: FastGaussQuadrature using SpecialFunctions: loggamma using ChainRulesCore: ChainRulesCore using IrrationalConstants: sqrt2, invsqrtπ +gausshermite(n::Integer) = FastGaussQuadrature.gausshermite(n) + struct DefaultExpectationMethod end struct AnalyticExpectation end