Rcpp Version 1.0.9
piSugar.cpp File Reference
#include <Rcpp.h>
Include dependency graph for piSugar.cpp:

Go to the source code of this file.

Functions

double piSugar (const int N)
 

Function Documentation

◆ piSugar()

double piSugar ( const int  N)

Definition at line 7 of file piSugar.cpp.

References Rcpp::runif(), Rcpp::algorithm::sqrt(), and Rcpp::sum().

Here is the call graph for this function: