BinomialRng Class Reference

#include <BinomialRng.h>

Inheritance diagram for BinomialRng:
Inheritance graph
[legend]
Collaboration diagram for BinomialRng:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BinomialRng ()
void setN (double n)
double getN () const
void setP (double p)
double getP () const
virtual void vReinit (const Eref &e, ProcPtr p)

Static Public Member Functions

static const CinfoinitCinfo ()

Constructor & Destructor Documentation

BinomialRng::BinomialRng (  ) 

Member Function Documentation

double BinomialRng::getN (  )  const

Returns parameter n.

Referenced by initCinfo().

double BinomialRng::getP (  )  const

returns parameter p.

Referenced by initCinfo().

const Cinfo * BinomialRng::initCinfo (  )  [static]

Reimplemented from RandGenerator.

References getN(), getP(), RandGenerator::initCinfo(), setN(), and setP().

Here is the call graph for this function:

void BinomialRng::setN ( double  value  ) 

Set parameter n ( number of trials for a two-outcome experiment). This must be set before the actual generator is instantiated.

References RandGenerator::rng_.

Referenced by initCinfo().

void BinomialRng::setP ( double  p  ) 

Set parameter p ( the probability of the outcome of interest ). This must be set before the actual generator is instantiated.

References RandGenerator::rng_.

Referenced by initCinfo().

void BinomialRng::vReinit ( const Eref e,
ProcPtr  p 
) [virtual]

reports error if one or more of the parameters are not set.

Reimplemented from RandGenerator.

References RandGenerator::rng_.


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

Generated on 1 Jul 2015 for MOOSE by  doxygen 1.6.1