Rcpp Version 1.0.9
|
#include <rweibull.h>
Public Member Functions | |
WeibullGenerator (double shape_, double scale_) | |
double | operator() () const |
Private Attributes | |
double | shape_inv |
double | scale |
Additional Inherited Members | |
Public Types inherited from Rcpp::Generator< double > | |
typedef double | r_generator |
Definition at line 28 of file rweibull.h.
|
inline |
Definition at line 31 of file rweibull.h.
|
inline |
Definition at line 34 of file rweibull.h.
References Rcpp::algorithm::log(), scale, shape_inv, and R::unif_rand().
|
private |
Definition at line 39 of file rweibull.h.
Referenced by operator()().
|
private |
Definition at line 39 of file rweibull.h.
Referenced by operator()().