'Log of the Dirichlet probability density function.
Parameters
x : array_like
Quantiles, with the last axis of `x` denoting the components.
%(_dirichlet_doc_default_callparams)s
Returns
pdf : ndarray or scalar
Log of the probability density function evaluated at `x`.'

def logpdf(self, x, alpha):

    alpha = _dirichlet_check_parameters(alpha)
    x = _dirichlet_check_input(alpha, x)
    out = self._logpdf(x, alpha)
    return _squeeze_output(out)
