Skip to content

fotonick/rust_monte_carlo_pi_threaded

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-threaded Monte-Carlo estimation of π

This code extends the Monte Carlo estimation of π example from the rand module documentation. It spawns multiple threads to run trials, then combines the results. This work was performed as a learning exercise, so the code may not be ideal or idiomatic. Improvements are welcome.

About

Monte-Carlo estimation of π in Rust with multiple threads.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages