An equably distributed random number generator and its generation method
A random number generator, uniform distribution technology, applied in the field of information electronics
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0047]Through the method of the invention, the remainder operation of the linear congruential random number generator can be transformed into a multiplication operation and a shift operation which are convenient for hardware realization, thereby solving the problem that the remainder operation takes too long.
[0048] The fast algorithm that the present invention relates to refers to the modulus M=2 that includes ran0 method in background technology n The remainder method when -1, this method can meet the generation requirement of uniformly distributed random number in most cases in engineering, in addition, through the derivation process similar to the present invention, can easily extend this fast algorithm to other parameters The following linear congruence method.
[0049] The specific derivation process of the present invention is introduced below. When n is any positive integer, c is a non-negative integer, M=2 n -1, and satisfy 2 n a+c2n in the case of,
[0050] For...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 