Rcpp Version 1.0.9
Rcpp::stats::CauchyGenerator Class Reference

#include <rcauchy.h>

Inheritance diagram for Rcpp::stats::CauchyGenerator:
Collaboration diagram for Rcpp::stats::CauchyGenerator:

Public Member Functions

 CauchyGenerator (double location_, double scale_)
 
double operator() () const
 

Private Attributes

double location
 
double scale
 

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file rcauchy.h.

Constructor & Destructor Documentation

◆ CauchyGenerator()

Rcpp::stats::CauchyGenerator::CauchyGenerator ( double  location_,
double  scale_ 
)
inline

Definition at line 31 of file rcauchy.h.

Member Function Documentation

◆ operator()()

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

Definition at line 34 of file rcauchy.h.

References location, scale, and R::unif_rand().

Here is the call graph for this function:

Member Data Documentation

◆ location

double Rcpp::stats::CauchyGenerator::location
private

Definition at line 39 of file rcauchy.h.

Referenced by operator()().

◆ scale

double Rcpp::stats::CauchyGenerator::scale
private

Definition at line 39 of file rcauchy.h.

Referenced by operator()().


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