NEURON
HyperGeometric Class Reference

#include <HypGeom.h>

Inheritance diagram for HyperGeometric:
Random

Public Member Functions

 HyperGeometric (double mean, double variance, RNG *gen)
 
double mean ()
 
double mean (double x)
 
double variance ()
 
double variance (double x)
 
virtual double operator() ()
 
- Public Member Functions inherited from Random
 Random (RNG *generator)
 
virtual ~Random ()
 
RNGgenerator ()
 
void generator (RNG *p)
 

Protected Member Functions

void setState ()
 

Protected Attributes

double pMean
 
double pVariance
 
double pP
 
- Protected Attributes inherited from Random
RNGpGenerator
 

Detailed Description

Definition at line 22 of file HypGeom.h.

Constructor & Destructor Documentation

◆ HyperGeometric()

HyperGeometric::HyperGeometric ( double  mean,
double  variance,
RNG gen 
)
inline

Definition at line 46 of file HypGeom.h.

Member Function Documentation

◆ mean() [1/2]

double HyperGeometric::mean ( )
inline

Definition at line 52 of file HypGeom.h.

◆ mean() [2/2]

double HyperGeometric::mean ( double  x)
inline

Definition at line 54 of file HypGeom.h.

◆ operator()()

double HyperGeometric::operator() ( )
virtual

Implements Random.

Definition at line 24 of file HypGeom.cpp.

◆ setState()

void HyperGeometric::setState ( )
inlineprotected

Definition at line 41 of file HypGeom.h.

◆ variance() [1/2]

double HyperGeometric::variance ( )
inline

Definition at line 59 of file HypGeom.h.

◆ variance() [2/2]

double HyperGeometric::variance ( double  x)
inline

Definition at line 61 of file HypGeom.h.

Member Data Documentation

◆ pMean

double HyperGeometric::pMean
protected

Definition at line 24 of file HypGeom.h.

◆ pP

double HyperGeometric::pP
protected

Definition at line 26 of file HypGeom.h.

◆ pVariance

double HyperGeometric::pVariance
protected

Definition at line 25 of file HypGeom.h.


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