Rcpp Version 0.12.12
Rcpp::stats::GeomGenerator Class Reference

#include <rgeom.h>

Inheritance diagram for Rcpp::stats::GeomGenerator:
Collaboration diagram for Rcpp::stats::GeomGenerator:

Public Member Functions

 GeomGenerator (double p)
 
double operator() () const
 
- Public Member Functions inherited from Rcpp::RNGScope
 RNGScope ()
 
 ~RNGScope ()
 

Private Attributes

double lambda
 

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file rgeom.h.

Constructor & Destructor Documentation

Rcpp::stats::GeomGenerator::GeomGenerator ( double  p)
inline

Definition at line 31 of file rgeom.h.

Member Function Documentation

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

Definition at line 33 of file rgeom.h.

References R::exp_rand(), and lambda.

Here is the call graph for this function:

Member Data Documentation

double Rcpp::stats::GeomGenerator::lambda
private

Definition at line 38 of file rgeom.h.

Referenced by operator()().


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