{ } Raw JSON

bundles / scipy latest / scipy / stats / _multivariate / vonmises_fisher_gen / logpdf

function

scipy.stats._multivariate:vonmises_fisher_gen.logpdf

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

Signature

def   logpdf ( self x mu = None kappa = 1 )

Summary

Log of the von Mises-Fisher probability density function.

Parameters

x : array_like

Points at which to evaluate the log of the probability density function. The last axis of x must correspond to unit vectors of the same dimensionality as the distribution.

mu : array_like, default: None

Mean direction of the distribution. Must be a one-dimensional unit vector of norm 1.

kappa : float, default: 1

Concentration parameter. Must be positive.

Returns

logpdf : ndarray or scalar

Log of the probability density function evaluated at x.

Aliases

  • scipy.stats._multivariate.vonmises_fisher_gen.logpdf