Tor 0.4.9.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.

Field Documentation

◆ cdf

double(* cdf) (const struct dist_t *, double x)

Definition at line 131 of file prob_distr.h.

◆ icdf

double(* icdf) (const struct dist_t *, double p)

Definition at line 133 of file prob_distr.h.

◆ isf

double(* isf) (const struct dist_t *, double p)

Definition at line 134 of file prob_distr.h.

◆ name

const char* name

Definition at line 129 of file prob_distr.h.

◆ sample

double(* sample) (const struct dist_t *)

Definition at line 130 of file prob_distr.h.

◆ sf

double(* sf) (const struct dist_t *, double x)

Definition at line 132 of file prob_distr.h.


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