Skip to main content
Ctrl+K
NumPy v2.2 Manual - Home NumPy v2.2 Manual - Home
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
    • NEPs
  • GitHub
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
  • NEPs
  • GitHub

Section Navigation

  • NumPy’s module structure
  • Array objects
  • Universal functions (ufunc)
  • Routines and objects by topic
    • Constants
    • Array creation routines
    • Array manipulation routines
    • Bit-wise operations
    • String functionality
    • Datetime support functions
    • Data type routines
    • Mathematical functions with automatic domain
    • Floating point error handling
    • Exceptions and Warnings (numpy.exceptions)
    • Discrete Fourier Transform (numpy.fft)
    • Functional programming
    • Input and output
    • Indexing routines
    • Linear algebra (numpy.linalg)
    • Logic functions
    • Masked array operations
    • Mathematical functions
    • Miscellaneous routines
    • 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)
    • Window functions
  • Typing (numpy.typing)
  • Packaging (numpy.distutils)
  • NumPy C-API
  • Array API standard compatibility
  • CPU/SIMD optimizations
  • Thread Safety
  • Global Configuration Options
  • NumPy security
  • Status of numpy.distutils and migration advice
  • numpy.distutils user guide
  • NumPy and SWIG
  • NumPy reference
  • NumPy’s module structure
  • Random sampling (numpy.random)
  • Bit generators
  • numpy.random.SeedSequence
  • numpy.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

On this page
  • random.SeedSequence.spawn

© Copyright 2008-2024, NumPy Developers.

Created using Sphinx 7.2.6.

Built with the PyData Sphinx Theme 0.16.0.