Method
NumCosmoMathPLN1Deval_range_sum_lnp
Declaration [src]
gdouble
ncm_pln1d_eval_range_sum_lnp (
NcmPLN1D* pln,
guint R_min,
guint R_max,
gdouble mu,
gdouble sigma
)
Description [src]
Evaluate the cumulative Poisson–Lognormal probability by summing over a range of R values. This computes: ∑_{R=R_min}^{R_max} P(R|μ,σ)
This is more efficient than calling ncm_pln1d_eval_p repeatedly as it reuses the shifted Gauss-Hermite nodes for all R values.
The shift point z is computed using the central R value to ensure good accuracy across the range.