Rcpp Version 1.0.9
Rcpp::stats::WeibullGenerator__scale1 Class Reference

#include <rweibull.h>

Inheritance diagram for Rcpp::stats::WeibullGenerator__scale1:
Collaboration diagram for Rcpp::stats::WeibullGenerator__scale1:

Public Member Functions

 WeibullGenerator__scale1 (double shape_)
 
double operator() () const
 

Private Attributes

double shape_inv
 

Additional Inherited Members

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

Detailed Description

Definition at line 42 of file rweibull.h.

Constructor & Destructor Documentation

◆ WeibullGenerator__scale1()

Rcpp::stats::WeibullGenerator__scale1::WeibullGenerator__scale1 ( double  shape_)
inline

Definition at line 45 of file rweibull.h.

Member Function Documentation

◆ operator()()

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

Definition at line 48 of file rweibull.h.

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

Here is the call graph for this function:

Member Data Documentation

◆ shape_inv

double Rcpp::stats::WeibullGenerator__scale1::shape_inv
private

Definition at line 53 of file rweibull.h.

Referenced by operator()().


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