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

Function runit_dnorm

inst/tinytest/cpp/rmath.cpp:29–31  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

27
28// [[Rcpp::export]]
29NumericVector runit_dnorm( double x, double a, double b ){
30 return NumericVector::create(R::dnorm(x, a, b, 0), R::dnorm(x, a, b, 1));
31}
32
33// [[Rcpp::export]]
34NumericVector runit_pnorm( double x, double a, double b ){

Callers

nothing calls this directly

Calls 1

dnormFunction · 0.85

Tested by

no test coverage detected