bundles / numpy latest / numpy / random / bit_generator / BitGenerator / spawn
cython_function_or_method
numpy.random.bit_generator:BitGenerator.spawn
Signature
def spawn ( n_children ) Summary
Create new independent child bit generators.
Extended Summary
See seedsequence-spawn for additional notes on spawning children. Some bit generators also implement jumped as a different approach for creating independent streams.
Parameters
n_children: int
Returns
child_bit_generators: list of BitGenerators
Raises
: TypeErrorWhen the underlying SeedSequence does not implement spawning.
See also
- random.Generator.spawn
Equivalent method on the generator and seed sequence.
- random.SeedSequence.spawn
Equivalent method on the generator and seed sequence.
Aliases
-
numpy.random.BitGenerator.spawn