Note:
global random state is indenpendent from Nim's std/random's
Note:
random() algorithm differs Python's, meaning the same seed produces different result
TODO: PyRandom uses method; impl SysRandom TODO: commandLine pysince(3,13)
Procs
func triangular[F: SomeFloat](self: PyRandom; low: F = 0.0; high: F = 1.0; mode: F | NoneType = None): F
- Source Edit
Templates
template triangular[F: SomeFloat](low: F = 0.0; high: F = 1.0; mode: F | NoneType = None): F
- Source Edit