Rcpp Version 0.12.12
Rcpp::stats::LNormGenerator_1 Class Reference

#include <rlnorm.h>

Inheritance diagram for Rcpp::stats::LNormGenerator_1:
Collaboration diagram for Rcpp::stats::LNormGenerator_1:

Public Member Functions

 LNormGenerator_1 (double meanlog_=0.0)
 
double operator() () const
 
- Public Member Functions inherited from Rcpp::RNGScope
 RNGScope ()
 
 ~RNGScope ()
 

Private Attributes

double meanlog
 

Additional Inherited Members

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

Detailed Description

Definition at line 44 of file rlnorm.h.

Constructor & Destructor Documentation

Rcpp::stats::LNormGenerator_1::LNormGenerator_1 ( double  meanlog_ = 0.0)
inline

Definition at line 47 of file rlnorm.h.

Member Function Documentation

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

Definition at line 50 of file rlnorm.h.

References Rcpp::algorithm::exp(), Rcpp::stats::LNormGenerator::meanlog, and R::norm_rand().

Here is the call graph for this function:

Member Data Documentation

double Rcpp::stats::LNormGenerator_1::meanlog
private

Definition at line 55 of file rlnorm.h.


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