Rcpp Version 1.0.9
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
 

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: