This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _multivariate / vonmises_fisher_gen / _rvs_3d

function

scipy.stats._multivariate:vonmises_fisher_gen._rvs_3d

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_multivariate.py:7372

Signature

def _rvs_3d(self, kappa, size, random_state)

Summary

Generate samples from a von Mises-Fisher distribution with mu = [1, 0, 0] and kappa. Samples then have to be rotated towards the desired mean direction mu. This method is much faster than the general rejection sampling based algorithm. Reference: https://www.mitsuba-renderer.org/~wenzel/files/vmf.pdf

Aliases

  • scipy.stats._multivariate.vonmises_fisher_gen._rvs_3d