Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::stats::GeomGenerator Class Reference

#include <rgeom.h>

Inheritance diagram for Rcpp::stats::GeomGenerator:
Collaboration diagram for Rcpp::stats::GeomGenerator:

Public Member Functions

 GeomGenerator (double p)
double operator() () const

Private Attributes

double lambda

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file rgeom.h.

Constructor & Destructor Documentation

◆ GeomGenerator()

Rcpp::stats::GeomGenerator::GeomGenerator ( double p)
inline

Definition at line 31 of file rgeom.h.

References lambda.

Member Function Documentation

◆ operator()()

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

Definition at line 33 of file rgeom.h.

References lambda.

Member Data Documentation

◆ lambda

double Rcpp::stats::GeomGenerator::lambda
private

Definition at line 38 of file rgeom.h.

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


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