/// <inheritdoc />
 public override double ProbabilityDensity(double x)
 {
     if (range.ClosedContains(x))
     {
         return(1.0 / range.Width);
     }
     else
     {
         return(0.0);
     }
 }