unitRange

fun unitRange(value: Int): Probability
fun unitRange(value: Long): Probability
fun unitRange(value: Double): Probability

Creates a Probability instance from the given value in the unit range.