| RandomNumberGeneratorReset(Int32) Method |
Resets the random number generator with the specified seed.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public virtual bool Reset(
int seed
)
Public Overridable Function Reset (
seed As Integer
) As Boolean
public:
virtual bool Reset(
int seed
)
abstract Reset :
seed : int -> bool
override Reset :
seed : int -> bool
Parameters
- seed Int32
- The seed to reset the generator with.
Return Value
Booleantrue if successful
Remarks This method will succeed only if the following conditions are
met:
1. The uniform generator delegate is an instance method, i.e. the Target
property of the Delegate class returns a non-null reference.
2. The object reference thus obtained has a method named Initialize that
returns void and takes a single integer argument for the Initialize
method,
See Also