Tor  0.4.7.0-alpha-dev
Data Fields
dist_ops_t Struct Reference

#include <prob_distr.h>

Data Fields

const char * name
 
double(* sample )(const struct dist_t *)
 
double(* cdf )(const struct dist_t *, double x)
 
double(* sf )(const struct dist_t *, double x)
 
double(* icdf )(const struct dist_t *, double p)
 
double(* isf )(const struct dist_t *, double p)
 

Detailed Description

Set of operations on a potentially parametric family of distributions. In the parlance of C++, this would be called a ‘vtable’ and the members are virtual member functions.

Definition at line 128 of file prob_distr.h.


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