nimTitle random random.html module std/random 0 nim Rand random.html#Rand object Rand 93 nim randState random.html#randState.t template randState(): untyped 128 nim next random.html#next,Rand proc next(r: var Rand): uint64 136 nim skipRandomNumbers random.html#skipRandomNumbers,Rand proc skipRandomNumbers(s: var Rand) 159 nim rand random.html#rand,Rand,Natural proc rand(r: var Rand; max: Natural): int 240 nim rand random.html#rand,int proc rand(max: int): int 257 nim rand random.html#rand,Rand,range[] proc rand(r: var Rand; max: range[0.0 .. high(float)]): float 278 nim rand random.html#rand,float proc rand(max: float): float 299 nim rand random.html#rand,Rand,HSlice[T: Ordinal or float or float32 or float64,T: Ordinal or float or float32 or float64] proc rand[T: Ordinal or SomeFloat](r: var Rand; x: HSlice[T, T]): T 320 nim rand random.html#rand,HSlice[T: Ordinal or float or float32 or float64,T: Ordinal or float or float32 or float64] proc rand[T: Ordinal or SomeFloat](x: HSlice[T, T]): T 345 nim rand random.html#rand,Rand,typedesc[T] proc rand[T: Ordinal](r: var Rand; t: typedesc[T]): T 367 nim rand random.html#rand,typedesc[T] proc rand[T: Ordinal](t: typedesc[T]): T 391 nim sample random.html#sample,Rand,set[T] proc sample[T](r: var Rand; s: set[T]): T 416 nim sample random.html#sample,set[T] proc sample[T](s: set[T]): T 435 nim sample random.html#sample,Rand,openArray[T] proc sample[T](r: var Rand; a: openArray[T]): T 455 nim sample random.html#sample,openArray[T] proc sample[T](a: openArray[T]): lent T 470 nim sample random.html#sample,Rand,openArray[T],openArray[U] proc sample[T, U](r: var Rand; a: openArray[T]; cdf: openArray[U]): T 490 nim sample random.html#sample,openArray[T],openArray[U] proc sample[T, U](a: openArray[T]; cdf: openArray[U]): T 524 nim gauss random.html#gauss,Rand,float,float proc gauss(r: var Rand; mu = 0.0; sigma = 1.0): float 553 nim gauss random.html#gauss,float,float proc gauss(mu = 0.0; sigma = 1.0): float 569 nim initRand random.html#initRand,int64 proc initRand(seed: int64): Rand 579 nim randomize random.html#randomize,int64 proc randomize(seed: int64) 607 nim shuffle random.html#shuffle,Rand,openArray[T] proc shuffle[T](r: var Rand; x: var openArray[T]) 628 nim shuffle random.html#shuffle,openArray[T] proc shuffle[T](x: var openArray[T]) 644 nim initRand random.html#initRand,int64_2 proc initRand(seed: int64): Rand 579 nim initRand random.html#initRand proc initRand(): Rand 679 nim randomize random.html#randomize proc randomize() 730 heading Basic usage random.html#basic-usage Basic usage 0 heading See also random.html#see-also See also 0 nimgrp sample random.html#sample-procs-all proc 416 nimgrp gauss random.html#gauss-procs-all proc 553 nimgrp initrand random.html#initRand-procs-all proc 579 nimgrp shuffle random.html#shuffle-procs-all proc 628 nimgrp randomize random.html#randomize-procs-all proc 607 nimgrp rand random.html#rand-procs-all proc 240