random.idx 2.8 KB

123456789101112131415161718192021222324252627282930313233343536
  1. nimTitle random random.html module std/random 0
  2. nim Rand random.html#Rand object Rand 95
  3. nim randState random.html#randState.t template randState(): untyped 130
  4. nim next random.html#next,Rand proc next(r: var Rand): uint64 138
  5. nim skipRandomNumbers random.html#skipRandomNumbers,Rand proc skipRandomNumbers(s: var Rand) 161
  6. nim rand random.html#rand,Rand,Natural proc rand(r: var Rand; max: Natural): int 246
  7. nim rand random.html#rand,int proc rand(max: int): int 263
  8. nim rand random.html#rand,Rand,range[] proc rand(r: var Rand; max: range[0.0 .. high(float)]): float 284
  9. nim rand random.html#rand,float proc rand(max: float): float 311
  10. 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 332
  11. 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 357
  12. nim rand random.html#rand,Rand,typedesc[T] proc rand[T: Ordinal](r: var Rand; t: typedesc[T]): T 379
  13. nim rand random.html#rand,typedesc[T] proc rand[T: Ordinal](t: typedesc[T]): T 400
  14. nim sample random.html#sample,Rand,set[T] proc sample[T](r: var Rand; s: set[T]): T 425
  15. nim sample random.html#sample,set[T] proc sample[T](s: set[T]): T 444
  16. nim sample random.html#sample,Rand,openArray[T] proc sample[T](r: var Rand; a: openArray[T]): T 464
  17. nim sample random.html#sample,openArray[T] proc sample[T](a: openArray[T]): lent T 479
  18. nim sample random.html#sample,Rand,openArray[T],openArray[U] proc sample[T, U](r: var Rand; a: openArray[T]; cdf: openArray[U]): T 499
  19. nim sample random.html#sample,openArray[T],openArray[U] proc sample[T, U](a: openArray[T]; cdf: openArray[U]): T 533
  20. nim gauss random.html#gauss,Rand,float,float proc gauss(r: var Rand; mu = 0.0; sigma = 1.0): float 562
  21. nim gauss random.html#gauss,float,float proc gauss(mu = 0.0; sigma = 1.0): float 578
  22. nim initRand random.html#initRand,int64 proc initRand(seed: int64): Rand 588
  23. nim randomize random.html#randomize,int64 proc randomize(seed: int64) 615
  24. nim shuffle random.html#shuffle,Rand,openArray[T] proc shuffle[T](r: var Rand; x: var openArray[T]) 636
  25. nim shuffle random.html#shuffle,openArray[T] proc shuffle[T](x: var openArray[T]) 652
  26. nim initRand random.html#initRand proc initRand(): Rand 687
  27. nim randomize random.html#randomize proc randomize() 739
  28. heading Basic usage random.html#basic-usage Basic usage 0
  29. heading See also random.html#see-also See also 0
  30. nimgrp sample random.html#sample-procs-all proc 425
  31. nimgrp rand random.html#rand-procs-all proc 246
  32. nimgrp randomize random.html#randomize-procs-all proc 615
  33. nimgrp initrand random.html#initRand-procs-all proc 588
  34. nimgrp gauss random.html#gauss-procs-all proc 562
  35. nimgrp shuffle random.html#shuffle-procs-all proc 636