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

Function runit_pgamma

inst/tinytest/cpp/rmath.cpp:102–105  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

100
101// [[Rcpp::export]]
102NumericVector runit_pgamma( double x, double a, double b ){
103 return NumericVector::create(R::pgamma(x, a, b, 1, 0), R::pgamma(log(x), a, b, 1, 1),
104 R::pgamma(x, a, b, 0, 0), R::pgamma(log(x), a, b, 0, 1));
105}
106
107// [[Rcpp::export]]
108NumericVector runit_qgamma( double x, double a, double b ){

Callers

nothing calls this directly

Calls 2

pgammaFunction · 0.85
logFunction · 0.50

Tested by

no test coverage detected