pops-core  0.9
PoPS (Pest or Pathogen Spread) Model Core C++ library
Public Member Functions | List of all members
pops::VonMisesDistribution Class Reference

Von Mises Distribution (Circular data distribution) More...

#include <von_mises_distribution.hpp>

Public Member Functions

 VonMisesDistribution (double mu, double kappa)
 
template<class Generator >
double operator() (Generator &generator)
 

Detailed Description

Von Mises Distribution (Circular data distribution)

mu is the mean angle, expressed in radians between 0 and 2*pi, and kappa is the concentration parameter, which must be greater than or equal to zero. If kappa is equal to zero, this distribution reduces to a uniform random angle over the range 0 to 2*pi.

Definition at line 40 of file von_mises_distribution.hpp.

Constructor & Destructor Documentation

◆ VonMisesDistribution()

pops::VonMisesDistribution::VonMisesDistribution ( double  mu,
double  kappa 
)
inline

Definition at line 43 of file von_mises_distribution.hpp.

Member Function Documentation

◆ operator()()

template<class Generator >
double pops::VonMisesDistribution::operator() ( Generator &  generator)
inline

Definition at line 47 of file von_mises_distribution.hpp.


The documentation for this class was generated from the following file: