Packages

object LSFR

linear feedback shift register is a pretty sweet non-repeating random number generator https://www.wikiwand.com/en/Linear-feedback_shift_register

Source
rand.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LSFR
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(n: Int, x0: Int = 1): LSFR[Int]

    construct a unique LSFR for the range of n