Rcpp Version 0.12.12
Rcpp::stats::ExpGenerator Class Reference

#include <rexp.h>

Inheritance diagram for Rcpp::stats::ExpGenerator:
Collaboration diagram for Rcpp::stats::ExpGenerator:

Public Member Functions

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

Private Attributes

double scale
 

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file rexp.h.

Constructor & Destructor Documentation

Rcpp::stats::ExpGenerator::ExpGenerator ( double  scale_)
inline

Definition at line 31 of file rexp.h.

Member Function Documentation

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

Definition at line 33 of file rexp.h.

References R::exp_rand(), and scale.

Here is the call graph for this function:

Member Data Documentation

double Rcpp::stats::ExpGenerator::scale
private

Definition at line 38 of file rexp.h.

Referenced by operator()().


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