Rcpp Version 0.12.12
Rcpp::stats::NormGenerator Class Reference

#include <rnorm.h>

Inheritance diagram for Rcpp::stats::NormGenerator:
Collaboration diagram for Rcpp::stats::NormGenerator:

Public Member Functions

 NormGenerator (double mean_=0.0, double sd_=1.0)
 
double operator() () const
 
- Public Member Functions inherited from Rcpp::RNGScope
 RNGScope ()
 
 ~RNGScope ()
 

Private Attributes

double mean
 
double sd
 

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file rnorm.h.

Constructor & Destructor Documentation

Rcpp::stats::NormGenerator::NormGenerator ( double  mean_ = 0.0,
double  sd_ = 1.0 
)
inline

Definition at line 31 of file rnorm.h.

Member Function Documentation

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

Definition at line 34 of file rnorm.h.

References mean, R::norm_rand(), and sd.

Here is the call graph for this function:

Member Data Documentation

double Rcpp::stats::NormGenerator::mean
private

Definition at line 39 of file rnorm.h.

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

double Rcpp::stats::NormGenerator::sd
private

Definition at line 40 of file rnorm.h.

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


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