This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / 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

: TypeError

When 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

Referenced by