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

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

◆ TGenerator()

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

Definition at line 31 of file rt.h.

Member Function Documentation

◆ operator()()

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

◆ df

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

Definition at line 45 of file rt.h.

Referenced by operator()().

◆ df_2

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: