Rcpp Version 0.12.12
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

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: