[][src]Module bio::stats::probs

Handling log-probabilities. Log probabilities are an important tool to deal with probabilities in a numerically stable way, in particular when having probabilities close to zero.

Modules

cdf

Support for discrete probability distributions in terms of cumulative distribution functions (CDF).

Structs

LogProb

A newtype for log-scale probabilities. For performance reasons, we use an approximation of the exp method implemented in bio::utils::FastExp. This can lead to slight errors, but should not matter given that most of the probability differences are reflected within the integer part of the log probability.

PHREDProb

A newtype for PHRED-scale probabilities.

Prob

A newtype for probabilities.

Enums

ProbError

Type Definitions

ScanIter

Iterator returned by scans over logprobs.