Click or drag to resize

RandomNumberGeneratorReset Method (Int32)

Resets the random number generator with the specified seed.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4
Syntax
public virtual bool Reset(
	int seed
)

Parameters

seed
Type: SystemInt32
The seed to reset the generator with.

Return Value

Type: Boolean
true 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