Rcpp Version 0.12.12
Rcpp::stats::LNormGenerator Class Reference

#include <rlnorm.h>

Inheritance diagram for Rcpp::stats::LNormGenerator:
Collaboration diagram for Rcpp::stats::LNormGenerator:

Public Member Functions

 LNormGenerator (double meanlog_=0.0, double sdlog_=1.0)
 
double operator() () const
 
- Public Member Functions inherited from Rcpp::RNGScope
 RNGScope ()
 
 ~RNGScope ()
 

Private Attributes

double meanlog
 
double sdlog
 

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file rlnorm.h.

Constructor & Destructor Documentation

Rcpp::stats::LNormGenerator::LNormGenerator ( double  meanlog_ = 0.0,
double  sdlog_ = 1.0 
)
inline

Definition at line 31 of file rlnorm.h.

Member Function Documentation

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

Definition at line 34 of file rlnorm.h.

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

Here is the call graph for this function:

Member Data Documentation

double Rcpp::stats::LNormGenerator::meanlog
private

Definition at line 39 of file rlnorm.h.

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

double Rcpp::stats::LNormGenerator::sdlog
private

Definition at line 40 of file rlnorm.h.

Referenced by operator()().


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