(Changed in version 2.8.0) keys
returns Iterable[A]
rather than Iterator[A]
.
Returns the highest probability with its associated value.
Returns the highest probability with its associated value.
the highest probability with its associated value.
Computes the mean of the PMF.
Computes the mean of the PMF.
the mean of the PMF.
Normalizes this PMF so the sum of all probabilities is 1.0.
Gets the probability associated with a given key.
Gets the probability associated with a given key.
the key whose probability is to be returned
the probability associated with the given key.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
(Changed in version 2.8.0) values
returns Iterable[B]
rather than Iterator[B]
.