linear_con {PRNG}R Documentation

Linear congruence map

Description

the map is a member of the family of the maps f(x)=(ax+b) mod(n)

Usage

linear_con(x0)

Arguments

x0

seed value

Value

the map gives an integer ax+b mod(n)

Examples

linear_con(5)



[Package PRNG version 0.0.2 Index]