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

Function runit_dunif

inst/tinytest/cpp/stats.cpp:42–51  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

40
41// [[Rcpp::export]]
42List runit_dunif( NumericVector xx){
43 return List::create(
44 _["NoLog_noMin_noMax"] = dunif( xx ),
45 _["NoLog_noMax"] = dunif( xx, 0.0 ),
46 _["NoLog"] = dunif( xx, 0.0 , 1.0 ),
47 _["Log"] = dunif( xx, 0.0, 1.0 , true ),
48 _["Log_noMax"] = dunif( xx, 0.0, true )
49 //,_["Log_noMin_noMax"] = dunif( xx, true )
50 );
51}
52
53// [[Rcpp::export]]
54List runit_dgamma( NumericVector xx ){

Callers

nothing calls this directly

Calls 1

dunifFunction · 0.85

Tested by

no test coverage detected