Rcpp Version 0.12.12
Rcpp::stats::TGenerator Class Reference

#include <rt.h>

Inheritance diagram for Rcpp::stats::TGenerator:
Collaboration diagram for Rcpp::stats::TGenerator:

Public Member Functions

 TGenerator (double df_)
 
double operator() () const
 
- Public Member Functions inherited from Rcpp::RNGScope
 RNGScope ()
 
 ~RNGScope ()
 

Private Attributes

double df
 
double df_2
 

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file rt.h.

Constructor & Destructor Documentation

Rcpp::stats::TGenerator::TGenerator ( double  df_)
inline

Definition at line 31 of file rt.h.

Member Function Documentation

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

Definition at line 33 of file rt.h.

References df, df_2, R::norm_rand(), and Rcpp::algorithm::sqrt().

Here is the call graph for this function:

Member Data Documentation

double Rcpp::stats::TGenerator::df
private

Definition at line 45 of file rt.h.

Referenced by operator()().

double Rcpp::stats::TGenerator::df_2
private

Definition at line 45 of file rt.h.

Referenced by operator()().


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