Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RcppCore/Rcpp
/ ChisqGenerator
Method
ChisqGenerator
inst/include/Rcpp/stats/random/rchisq.h:31–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
public:
30
31
ChisqGenerator( double df_ ) : df_2(df_ / 2.0) {}
32
33
inline double operator()() const {
34
return ::Rf_rgamma( df_2, 2.0 ) ;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected