The transition algorithm
employs a twisted generalized feedback shift register
defined by shift values 
n and 
m, a twist value 
r,
and a conditional xor-mask 
a.To improve the uniformity of the result,
the bits of the raw shift register are additionally 
tempered
(i.e., scrambled) according to a bit-scrambling matrix
defined by values 
u, 
d, 
s, 
b, 
t, 
c, and 
ℓ.