truncate

pmrf.stats.truncate(dist: AbstractDistribution, new_lower: Any, new_upper: Any) → AbstractDistribution

Attempts to return a truncated version of the distribution. Raise an exception if unavailable.