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.
-
Notifications
You must be signed in to change notification settings - Fork 0
Monte-Carlo estimation of π in Rust with multiple threads.
License
fotonick/rust_monte_carlo_pi_threaded
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Monte-Carlo estimation of π in Rust with multiple threads.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published