Rcpp Version 0.12.14
Rcpp::stats::NBinomGenerator Class Reference

#include <rnbinom.h>

Inheritance diagram for Rcpp::stats::NBinomGenerator:
Collaboration diagram for Rcpp::stats::NBinomGenerator:

Public Member Functions

 NBinomGenerator (double siz_, double prob_)
 
double operator() () const
 
- Public Member Functions inherited from Rcpp::RNGScope
 RNGScope ()
 
 ~RNGScope ()
 

Private Attributes

double siz
 
double lambda
 

Additional Inherited Members

- Public Types inherited from Rcpp::Generator< double >
typedef double r_generator
 

Detailed Description

Definition at line 28 of file rnbinom.h.

Constructor & Destructor Documentation

◆ NBinomGenerator()

Rcpp::stats::NBinomGenerator::NBinomGenerator ( double  siz_,
double  prob_ 
)
inline

Definition at line 31 of file rnbinom.h.

Member Function Documentation

◆ operator()()

double Rcpp::stats::NBinomGenerator::operator() ( ) const
inline

Definition at line 34 of file rnbinom.h.

References lambda, and siz.

Member Data Documentation

◆ lambda

double Rcpp::stats::NBinomGenerator::lambda
private

Definition at line 40 of file rnbinom.h.

Referenced by operator()().

◆ siz

double Rcpp::stats::NBinomGenerator::siz
private

Definition at line 39 of file rnbinom.h.

Referenced by operator()().


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