Rcpp Version 1.0.9
Rcpp::stats::GammaGenerator Class Reference

#include <rgamma.h>

Inheritance diagram for Rcpp::stats::GammaGenerator:
Collaboration diagram for Rcpp::stats::GammaGenerator:

Public Member Functions

 GammaGenerator (double a_, double scale_)
 
double operator() () const
 

Private Attributes

double a
 
double scale
 

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file rgamma.h.

Constructor & Destructor Documentation

◆ GammaGenerator()

Rcpp::stats::GammaGenerator::GammaGenerator ( double  a_,
double  scale_ 
)
inline

Definition at line 30 of file rgamma.h.

Member Function Documentation

◆ operator()()

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

Definition at line 32 of file rgamma.h.

References a, and scale.

Member Data Documentation

◆ a

double Rcpp::stats::GammaGenerator::a
private

Definition at line 34 of file rgamma.h.

Referenced by operator()().

◆ scale

double Rcpp::stats::GammaGenerator::scale
private

Definition at line 34 of file rgamma.h.

Referenced by operator()().


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