{ } Raw JSON

bundles / scipy latest / scipy / stats / _multivariate / vonmises_fisher_gen / _rvs_2d

function

scipy.stats._multivariate:vonmises_fisher_gen._rvs_2d

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

Signature

def   _rvs_2d ( self mu kappa size random_state )

Summary

In 2D, the von Mises-Fisher distribution reduces to the von Mises distribution which can be efficiently sampled by numpy. This method is much faster than the general rejection sampling based algorithm.

Aliases

  • scipy.stats._multivariate.vonmises_fisher_gen._rvs_2d