Rcpp Version 0.12.12
Rcpp::stats::WeibullGenerator Class Reference

#include <rweibull.h>

Inheritance diagram for Rcpp::stats::WeibullGenerator:
Collaboration diagram for Rcpp::stats::WeibullGenerator:

Public Member Functions

 WeibullGenerator (double shape_, double scale_)
 
double operator() () const
 
- Public Member Functions inherited from Rcpp::RNGScope
 RNGScope ()
 
 ~RNGScope ()
 

Private Attributes

double shape_inv
 
double scale
 

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file rweibull.h.

Constructor & Destructor Documentation

Rcpp::stats::WeibullGenerator::WeibullGenerator ( double  shape_,
double  scale_ 
)
inline

Definition at line 31 of file rweibull.h.

Member Function Documentation

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

Definition at line 34 of file rweibull.h.

References Rcpp::algorithm::log(), scale, shape_inv, and R::unif_rand().

Here is the call graph for this function:

Member Data Documentation

double Rcpp::stats::WeibullGenerator::scale
private

Definition at line 39 of file rweibull.h.

Referenced by operator()().

double Rcpp::stats::WeibullGenerator::shape_inv
private

Definition at line 39 of file rweibull.h.

Referenced by operator()(), and Rcpp::stats::WeibullGenerator__scale1::operator()().


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