def _ppf(self, q, c, d):
        qc, qd = self._cdf(c, c, d), self._cdf(d, c, d)
        condlist = [q < qc, q <= qd, q > qd]
        choicelist = [np.sqrt(q * c * (1 + d - c)),
                      0.5 * q * (1 + d - c) + 0.5 * c,
                      1 - sqrt((1 - q) * (d - c + 1) * (1 - d))]
        return np.select(condlist, choicelist)
dataset/ETHPy150Open scipy/scipy/scipy/stats/_continuous_distns.py/trapz_gen._ppf/original