def _ppf(self, q, dfn, dfd, nc): return special.ncfdtri(dfn, dfd, nc, q)
def _upper(self, dfn, dfd, nc): return special.ncfdtri(dfn, dfd, nc, 1 - 1e-10)
def _ppf(self, q, dfn, dfd, nc): return numpy.where( q == 1, self._upper(dfn, dfd, nc), special.ncfdtri(dfn, dfd, nc, q) )