Skip to main content

Module log_domain

Module log_domain 

Source
Expand description

The log domain of probabilities and LLRs, without overflow: ln_1p_exp, max_star and its choice Jacobian (of comnum-core), log_sum_exp and log_sum_exp_iter (re-exported at the root).

Enums§

Jacobian
The Jacobian logarithm, exact or max-log: defined in comnum-core, since the soft demapper trait comnum_core::traits::Demap takes it, and re-exported here for max_star, the BCJR and turbo decoders of comnum-fec and the demappers of comnum-mapping. The Jacobian logarithm of the log-MAP algorithms and of the soft demappers, exact or approximated by its maximum:

Functions§

ln_1p_exp
ln(1 + e^x) (the softplus) without overflow.
log_sum_exp
ln Σ_i e^{v_i} without overflow (the log domain of probabilities and LLRs).
log_sum_exp_iter
log_sum_exp of the values of an iterator, traversed twice (no allocation).
max_star
The max* operation ln(e^a + e^b) of the log-MAP algorithms; max(a, b) with Jacobian::MaxLog or when the maximum is not finite.