 | RandomNumbersT, D Class |
Class RandomNumbers is an adapter for the RandomNumberStream class to give the same behavior as a scalar-type
random number generator.
Inheritance Hierarchy Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic class RandomNumbers<T, D> : ICloneable
where D : new(), Object, IRandomNumberDistribution<T>
Public Class RandomNumbers(Of T, D As {New, Object, IRandomNumberDistribution(Of T)})
Implements ICloneable
generic<typename T, typename D>
where D : gcnew(), Object, IRandomNumberDistribution<T>
public ref class RandomNumbers : ICloneable
type RandomNumbers<'T, 'D when 'D : new() and Object and IRandomNumberDistribution<'T>> =
class
interface ICloneable
end
Type Parameters
- T
- Type of random number.
- D
- Type of distribution.
The RandomNumbersT, D type exposes the following members.
Constructors | Name | Description |
---|
 | RandomNumbersT, D |
Constructs a RandomNumbers instance with default seed, distribution, and buffer size.
|
 | RandomNumbersT, D(D) |
Constructs a RandomNumbers instance from the given distribution.
|
 | RandomNumbersT, D(RandomNumbersT, D) |
Copy constructor.
|
 | RandomNumbersT, D(RandomNumberStreamBasicRandGenType, D) |
Constructs a RandomNumbers instance from the given uniform generator type and distribution.
|
 | RandomNumbersT, D(Int32, Int32) |
Constructs a RandomNumbers instance from the given seed and buffer size.
|
 | RandomNumbersT, D(RandomNumberStreamBasicRandGenType, D, Int32) |
Constructs a RandomNumbers instance from the given uniform generator type, distribution,
and buffer size.
|
 | RandomNumbersT, D(Int32, D, Int32) |
Constructs a RandomNumbers instance from the given seed, distribution, and buffer size.
|
 | RandomNumbersT, D(Int32, RandomNumberStreamBasicRandGenType, D) |
Constructs a RandomNumbers instance from the given seed, uniform generator type, and distribution.
|
 | RandomNumbersT, D(RandomNumberStream, D, Int32) |
Constructs a RandomNumbers instance from the given stream, distribution,
and buffer size.
|
Top
Properties
Methods
Fields
See Also