Ranmar Class |
public class Ranmar
The Ranmar type exposes the following members.
| Name | Description | |
|---|---|---|
| Ranmar | Initializes a new instance of the Ranmar class. | |
| Ranmar(UInt32) | Initializes a new instance of the Ranmar class. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Seed | Initializes the generator with an automatically chosen seed. | |
| Seed(UInt32) | Initializes the generator with the specified seed. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| val | Returns the next random value. |
Up to now this generator has passed all statistical tests on randomness.
Ranmar generates a sequence of random numbers uniformly distributed in the
interval (0,1), the end points excluded.
The seed value must be in the range 0 <= ijkl <= 900 000 000.
References:
1. G. Marsaglia and A. Zaman, Toward a Universal Random Number Generator,
Florida State University FSU-SCRI-87-50 (1987).
2. F. James, A Review of Pseudorandom Number Generators, Computer Phys.
Comm. 60, 329-344 (1990).