MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / runit_punif

Function runit_punif

inst/tinytest/cpp/stats.cpp:120–127  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

118
119// [[Rcpp::export]]
120List runit_punif( NumericVector xx ){
121 return List::create(
122 _["lowerNoLog"] = punif( xx, 0.0, 1.0 ),
123 _["lowerLog"] = punif( xx, 0.0, 1.0, true, true ),
124 _["upperNoLog"] = punif( xx, 0.0, 1.0, false ),
125 _["upperLog"] = punif( xx, 0.0, 1.0, false, true )
126 );
127}
128
129// [[Rcpp::export]]
130List runit_pgamma( NumericVector xx ){

Callers

nothing calls this directly

Calls 1

punifFunction · 0.85

Tested by

no test coverage detected