randomSeed¶
- randomSeed(*args)¶
Generate a random seed.
If any arguments are specified, they are converted to a valid seed for a random number generator. Identical seeds will always produce identical random number generators.
If no arguments are specified, an automatically generated unique random seed is returned.
- Parameters:
args (ints | floats | strings) – The optional arguments.
- Returns:
The random seed.
- Return type:
int | numpy.ndarrary