/// Calculate the cumulative sum of the given probabilities in a numerically stable way (Durbin 1998).
Calculate the cumulative sum of the given probabilities in a numerically stable way (Durbin 1998).
Calculate the cumulative sum of the given probabilities in a numerically stable way ( Durbin 1998 ) .
pub fn ln_cumsum_exp<I: IntoIterator<Item = LogProb>>(probs: I) -> ScanIter<I> {
        probs
            .into_iter()
            .scan(Self::ln_zero(), Self::scan_ln_add_exp)
    }
pub fn ln_cumsum_exp < I : IntoIterator < Item = LogProb > > ( probs : I ) -> ScanIter < I > { probs . into_iter ( ) . scan ( Self :: ln_zero ( ) , Self :: scan_ln_add_exp ) }
Calculate the cumulative sum of the given probabilities in a numerically stable way (Durbin 1998).
Calculate the cumulative sum of the given probabilities in a numerically stable way ( Durbin 1998 ) .
probs
I