public double cumulativeProbability(double x) {
        if (x <= lower) {
            return 0;
        }
        if (x >= upper) {
            return 1;
        }
        return (x - lower) / (upper - lower);
    }
public double cumulativeProbability(double x) {
        if (x <= lower) {
            return 0;
        }
        if (x >= upper) {
            return 1;
        }
        return (x - lower) / (upper - lower);
    }
public double cumulativeProbability ( double x ) { if ( x <= lower ) { return 0 ; } if ( x >= upper ) { return 1 ; } return ( x - lower ) / ( upper - lower ) ; }
{@inheritDoc}
{