integrate_density_log function

internal function used for integration of densities which appears to be much more stable from -Inf to +Inf in the logit space while the density to be integrated recieves inputs from 0 to 1 such that the inverse distribution function must be used. The integral solved is int_x dmix(mix,x) integrand(x) where integrand must be given as log and we integrate over the support of mix.

  • Maintainer: Sebastian Weber
  • License: GPL (>= 3)
  • Last published: 2025-04-25