Click or drag to resize

RandEcuyerLFSR113 Class

Note: This API is now obsolete.

Piere L'Ecuyer's 1999 LFSR113 generator that combines 4 component 32-bit LFSRs. The class remains in this library as a historical reference.
Inheritance Hierarchy
SystemObject
  SystemRandom
    Orthogonal.Common.Basic.PRNGRandCustomBase
      Orthogonal.Common.Basic.PRNGRandEcuyerLFSR113

Namespace: Orthogonal.Common.Basic.PRNG
Assembly: Orthogonal.Common.Basic (in Orthogonal.Common.Basic.dll) Version: 2024-04-15 18:00 GMT+10.f27da1471008deaf16b803c17e24a5955690aef1
Syntax
C#
[ObsoleteAttribute("This legacy PRNG algorithm should replaced with a more modern and effective one")]
public class RandEcuyerLFSR113 : RandCustomBase

The RandEcuyerLFSR113 type exposes the following members.

Constructors
 NameDescription
Public methodRandEcuyerLFSR113Initializes a new instance of the RandEcuyerLFSR113 class
Public methodRandEcuyerLFSR113(Int32, Int32, Int32, Int32)Initializes a new instance of the RandEcuyerLFSR113 class
Top
Methods
 NameDescription
Public methodNextInt64
(Overrides RandCustomBaseNextInt64)
Top
Remarks

Long running tests have observed the expected minimum values Next 0 (0x0) and Core 0.0 and the expected maximum Next 2147483646 (0x7FFFFFFE) from Core 0.999999999534339.

See: Tables of Maximally Equidistributed Combined LFSR Generators (PDF).

See Also