Loading web-font TeX/Math/Italic
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ von_mises_cdf()

template<typename T_x , typename T_mu , typename T_k >
return_type_t< T_x, T_mu, T_k > stan::math::von_mises_cdf ( const T_x &  x,
const T_mu &  mu,
const T_k &  k 
)
inline

Calculates the cumulative distribution function of the von Mises distribution:

VonMisesCDF(x, \mu, \kappa) = \frac{1}{2\pi I_0(\kappa)} \int_{-\pi}^x e^{\kappa cos(t - \mu)} dt

where

x \in [-\pi, \pi], \mu \in \mathbb{R}, and \kappa \in \mathbb{R}^+.

Parameters
xVariate on the interval [-pi, pi]
muThe mean of the distribution
kThe inverse scale of the distriubtion
Returns
The von Mises cdf evaluated at the specified arguments
Template Parameters
T_xType of x
T_muType of mean parameter
T_kType of inverse scale parameter

Definition at line 118 of file von_mises_cdf.hpp.