Rcpp Version 1.0.9
Rcpp::stats::CauchyGenerator_1 Class Reference

#include <rcauchy.h>

Inheritance diagram for Rcpp::stats::CauchyGenerator_1:
Collaboration diagram for Rcpp::stats::CauchyGenerator_1:

Public Member Functions

 CauchyGenerator_1 (double location_)
 
double operator() () const
 

Private Attributes

double location
 

Additional Inherited Members

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

Detailed Description

Definition at line 42 of file rcauchy.h.

Constructor & Destructor Documentation

◆ CauchyGenerator_1()

Rcpp::stats::CauchyGenerator_1::CauchyGenerator_1 ( double  location_)
inline

Definition at line 45 of file rcauchy.h.

Member Function Documentation

◆ operator()()

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

Definition at line 48 of file rcauchy.h.

References location, and R::unif_rand().

Here is the call graph for this function:

Member Data Documentation

◆ location

double Rcpp::stats::CauchyGenerator_1::location
private

Definition at line 53 of file rcauchy.h.

Referenced by operator()().


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