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

Function runit_gamma

inst/tinytest/cpp/sugar.cpp:540–551  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

538
539// [[Rcpp::export]]
540List runit_gamma( NumericVector xx ){
541 return List::create(
542 _["gamma"] = gamma(xx),
543 _["lgamma"] = lgamma(xx),
544 _["digamma"] = digamma(xx),
545 _["trigamma"] = trigamma(xx),
546 _["tetragamma"] = tetragamma(xx),
547 _["pentagamma"] = pentagamma(xx),
548 _["factorial"] = factorial(xx),
549 _["lfactorial"] = lfactorial(xx)
550 ) ;
551}
552
553// [[Rcpp::export]]
554List runit_choose( NumericVector nn, NumericVector kk ){

Callers

nothing calls this directly

Calls 6

digammaFunction · 0.85
trigammaFunction · 0.85
tetragammaFunction · 0.85
pentagammaFunction · 0.85
factorialFunction · 0.85
lfactorialFunction · 0.85

Tested by

no test coverage detected