{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _multivariate / dirichlet_gen / logpdf

function

scipy.stats._multivariate:dirichlet_gen.logpdf

source: /scipy/stats/_multivariate.py :2394

Signature

def   logpdf ( self x alpha )

Summary

Log of the Dirichlet probability density function.

Parameters

x : array_like

Quantiles, with the last axis of x denoting the components.

alpha : array_like

The concentration parameters. The number of entries determines the dimensionality of the distribution.

Returns

pdf : ndarray or scalar

Log of the probability density function evaluated at x.

Aliases

  • scipy.stats._multivariate.dirichlet_gen.logpdf