Skip to content

CS206 n-dimensional sphere volume estimation project using Monte Carlo and Cube Based estimation methods.

Notifications You must be signed in to change notification settings

YinanDanielZhou/SphereVolumeEstimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To compile the program, run 

g++ *.cpp -o proj

then to run the program, run

./proj 2

Here the argument 2 is the number of dimensions.
The monte carlo method support dimension 2 to 7, takes long time on higher dimensions.
The cube based method support dimension 2 and 3, and takes very long time on both. 

To run the program with fixed number of sample points (cubes) N = 10^6, run

./proj 2 fixedN

About

CS206 n-dimensional sphere volume estimation project using Monte Carlo and Cube Based estimation methods.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages