mardi 11 avril 2023

Rust eqivalent to scipy truncnorm

Trying to generate a random number between 0-200 in Rust using normal distribution. Is this something that I have to implement myself or is there a crate like scipy for rust that has truncnorm?

I've tried using some combination of .gen_range() and .sample(Standard) but can't seem to get anything to work.




Aucun commentaire:

Enregistrer un commentaire