Rcpp Version 0.12.12
Rcpp::stats::LogisGenerator Class Reference

#include <rlogis.h>

Inheritance diagram for Rcpp::stats::LogisGenerator:
Collaboration diagram for Rcpp::stats::LogisGenerator:

Public Member Functions

 LogisGenerator (double location_, double scale_)
 
double operator() () const
 
- Public Member Functions inherited from Rcpp::RNGScope
 RNGScope ()
 
 ~RNGScope ()
 

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 rlogis.h.

Constructor & Destructor Documentation

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

Definition at line 31 of file rlogis.h.

Member Function Documentation

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

Definition at line 34 of file rlogis.h.

References location, Rcpp::algorithm::log(), scale, and R::unif_rand().

Here is the call graph for this function:

Member Data Documentation

double Rcpp::stats::LogisGenerator::location
private

Definition at line 40 of file rlogis.h.

Referenced by operator()(), and Rcpp::stats::LogisGenerator_1::operator()().

double Rcpp::stats::LogisGenerator::scale
private

Definition at line 41 of file rlogis.h.

Referenced by operator()().


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