ThreadSafeRandom Methods |
The ThreadSafeRandom type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Next |
Returns a nonnegative random number.
(Overrides RandomNext.) | |
Next(Int32) |
Returns a nonnegative random number less than the specified maximum.
(Overrides RandomNext(Int32).) | |
Next(Int32, Int32) |
Returns a random number within a specified range.
(Overrides RandomNext(Int32, Int32).) | |
NextBytes |
Fills the elements of a specified array of bytes with random numbers.
(Overrides RandomNextBytes(Byte).) | |
NextDouble |
Returns a random number between 0.0 and 1.0.
(Overrides RandomNextDouble.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |