{ } Raw JSON

bundles / scipy latest / scipy / stats / _multivariate / dirichlet_gen / pdf

function

scipy.stats._multivariate:dirichlet_gen.pdf

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

Signature

def   pdf ( self x alpha )

Summary

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

The probability density function evaluated at x.

Aliases

  • scipy.stats._multivariate.dirichlet_gen.pdf