Skip to main content

norm_rand

Function norm_rand 

Source
pub unsafe fn norm_rand() -> f64
Expand description

Generate a standard normal random number (mean 0, sd 1).

ยงImportant

Must call GetRNGstate() before and PutRNGstate() after. Checked wrapper for norm_rand. Calls norm_rand_unchecked and routes through with_r_thread. Generated from source location line 3255, column 12. Generated from source file miniextendr-api/src/ffi.rs.