Rcpp Version 1.0.9
|
#include <rgeom.h>
Public Member Functions | |
GeomGenerator (double p) | |
double | operator() () const |
Private Attributes | |
double | lambda |
Additional Inherited Members | |
Public Types inherited from Rcpp::Generator< double > | |
typedef double | r_generator |
|
inline |
Definition at line 33 of file rgeom.h.
References R::exp_rand(), and lambda.
|
private |
Definition at line 38 of file rgeom.h.
Referenced by operator()().