Returns the mean value of the distribution.
See https://en.wikipedia.org/wiki/Expected_value.
@override double get mean => 0.5 * (a + b);