Rcpp Version 1.0.7
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_ 

Definition at line 31 of file rnbinom.h.

Member Function Documentation

◆ operator()()

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

Definition at line 34 of file rnbinom.h.

References lambda, and siz.

Member Data Documentation

◆ lambda

double Rcpp::stats::NBinomGenerator::lambda

Definition at line 40 of file rnbinom.h.

Referenced by operator()().

◆ siz

double Rcpp::stats::NBinomGenerator::siz

Definition at line 39 of file rnbinom.h.

Referenced by operator()().

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