Rcpp Version 1.0.0
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
 

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

◆ LogisGenerator()

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

Definition at line 31 of file rlogis.h.

Member Function Documentation

◆ operator()()

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

◆ location

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

Definition at line 40 of file rlogis.h.

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

◆ scale

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: