Logo image Logo image
  • User Guide
  • API reference
  • Development
  • Release notes
  • Learn
  • Array objects
  • Array API Standard Compatibility
  • Constants
  • Universal functions ( ufunc )
  • Routines
    • Array creation routines
    • Array manipulation routines
    • Binary operations
    • String operations
    • C-Types foreign function interface ( numpy.ctypeslib )
    • Datetime support functions
    • Data type routines
    • Mathematical functions with automatic domain
    • Floating point error handling
    • Discrete Fourier Transform ( numpy.fft )
    • Functional programming
    • NumPy-specific help functions
    • Input and output
    • Linear algebra ( numpy.linalg )
    • Logic functions
    • Masked array operations
    • Mathematical functions
    • Matrix library ( numpy.matlib )
    • Miscellaneous routines
    • Padding Arrays
    • Polynomials
    • Random sampling ( numpy.random )
      • Random Generator
      • Legacy Generator (RandomState)
      • Bit Generators
      • Upgrading PCG64 with PCG64DXSM
      • Compatibility Policy
      • Parallel Applications
      • Multithreaded Generation
      • What’s New or Different
      • Comparing Performance
      • C API for random
      • Examples of using Numba, Cython, CFFI
    • Set routines
    • Sorting, searching, and counting
    • Statistics
    • Test Support ( numpy.testing )
    • Support for testing overrides ( numpy.testing.overrides )
    • Window functions
  • Typing ( numpy.typing )
  • Global state
  • Packaging ( numpy.distutils )
  • NumPy distutils - users guide
  • Status of numpy.distutils and migration advice
  • NumPy C-API
  • CPU/SIMD Optimizations
  • NumPy security
  • NumPy and SWIG
On this page
  • random.SeedSequence.spawn

numpy.random.SeedSequence.spawn#

method

random.SeedSequence.spawn(n_children)#

Spawn a number of child SeedSequence s by extending the spawn_key.

See SeedSequence spawning for additional notes on spawning children.

Parameters:
n_childrenint
Returns:
seqslist of SeedSequence s

See also

random.Generator.spawn, random.BitGenerator.spawn

Equivalent method on the generator and bit generator.

previous

numpy.random.SeedSequence.generate_state

next

Upgrading PCG64 with PCG64DXSM

© Copyright 2008-2022, NumPy Developers.

Created using Sphinx 5.3.0.