Rcpp Version 1.0.9
|
#include <runif.h>
Public Member Functions | |
UnifGenerator (double min_=0.0, double max_=1.0) | |
double | operator() () const |
Private Attributes | |
double | min |
double | diff |
Additional Inherited Members | |
Public Types inherited from Rcpp::Generator< double > | |
typedef double | r_generator |
|
inline |
|
inline |
Definition at line 34 of file runif.h.
References diff, min, and R::unif_rand().
|
private |
Definition at line 42 of file runif.h.
Referenced by operator()().
|
private |
Definition at line 41 of file runif.h.
Referenced by operator()().