- #1
elgitano77
- 1
- 0
I am trying to understand LCG and although the equation looks really straightforward I don't know how to calculate the module of the expression.
Xn+1= a*Xn+c (mod m)
As stated before, my problem is understanding the concept of mod m and how to calculate it.
Any help and example would be appreciated.
Xn+1= a*Xn+c (mod m)
As stated before, my problem is understanding the concept of mod m and how to calculate it.
Any help and example would be appreciated.