def _logpdf(self, x, a, b):
        lPx = special.xlog1py(b-1.0, -x) + special.xlogy(a-1.0, x)
        lPx -= special.betaln(a, b)
        return lPx
dataset/ETHPy150Open scipy/scipy/scipy/stats/_continuous_distns.py/beta_gen._logpdf/original