Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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.

References a, and scale.

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 GammaGenerator(), and operator()().

◆ scale

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

Definition at line 34 of file rgamma.h.

Referenced by GammaGenerator(), and operator()().


The documentation for this class was generated from the following file:
  • inst/include/Rcpp/stats/random/rgamma.h