FullLongPermutation
class FullLongPermutation(rng: Random = Random.Default, rounds: Int = 2, c1: Long = -4658895280553007687, c2: Long = -7723592293110705685) : LongPermutation(source)
Permutation over all 64-bit values using keyed xor-shift-multiply rounds. The multipliers c1 and c2 must be odd.
Constructors
FullLongPermutation
Properties
size
Functions
decodeUnchecked
decode without range checks. Out-of-domain input is unspecified and may not terminate.
encodeUnchecked
encode without range checks. Out-of-domain input is unspecified and may not terminate.
iterator
Iterates unsigned indices from offset through -1.
toString
Link copied to clipboard
Returns a view of this permutation shifted onto range, which must hold exactly LongPermutation.size values. On an existing range view, replaces its range.