Rcpp Version 1.0.9
|
#include <rlnorm.h>
Public Member Functions | |
LNormGenerator (double meanlog_=0.0, double sdlog_=1.0) | |
double | operator() () const |
Private Attributes | |
double | meanlog |
double | sdlog |
Additional Inherited Members | |
Public Types inherited from Rcpp::Generator< double > | |
typedef double | r_generator |
|
inline |
|
inline |
Definition at line 34 of file rlnorm.h.
References Rcpp::algorithm::exp(), meanlog, R::norm_rand(), and sdlog.
|
private |
Definition at line 39 of file rlnorm.h.
Referenced by operator()().
|
private |
Definition at line 40 of file rlnorm.h.
Referenced by operator()().