Density and random generation for the spherical normal distribution with mean and concentration parameter (\(\kappa\)) .
Usage
rvmf(n = 100, mu = Vec3(1, 0, 0), k = 5)
dvmf(x, mu, k = 5)
Source
Adapted fom rotasym::r_vMF()
and rotasym::d_vMF()
See also
runif.spherical()
for alternative algorithms to generate uniform
distributed samples on a sphere, rkent()
for Kent distribution,
rfb()
for Fisher-Bingham distribution.