IMP logo
Public Member Functions | Static Public Member Functions
IMP::isd::vonMises Class Reference

Detailed Description

vonMises

Probability density function and -log(p) of von Mises distribution

\[ f(x|\mu,\kappa) = \frac{\exp \left(\kappa \cos (x-\mu)\right)}{2\pi I_0(\kappa)} \]

This is the proper treatment for a "normally distributed" angle. When $\kappa$ becomes infinite, the distribution tends to a gaussian, and $\kappa = 1/\sigma^2$.

+ Inheritance diagram for IMP::isd::vonMises:

List of all members.

Public Member Functions

 vonMises (double x, double mu, double kappa)
virtual double density () const
virtual double evaluate () const
virtual double evaluate_derivative_kappa () const
virtual double evaluate_derivative_mu () const
virtual double evaluate_derivative_x () const
void set_kappa (double kappa)
void set_mu (double mu)
void set_x (double x)
- Public Member Functions inherited from IMP::base::Object
std::size_t __hash__ () const
virtual std::string get_type_name () const =0
 Return a string identifying the type of the object.
virtual IMP::base::VersionInfo get_version_info () const =0
 Get information about the module and version of the object.
void set_check_level (CheckLevel l)
void set_log_level (LogLevel l)
 Set the logging level used in this object.
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
const std::string & get_name () const
void set_name (std::string name)

Static Public Member Functions

static vonMisesget_from (IMP::base::Object *o)

Additional Inherited Members

- Protected Member Functions inherited from IMP::base::Object
 Object (std::string name)

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

Generated on Tue May 22 2012 23:33:36 for IMP by doxygen 1.8.1