std::subtract_with_carry_engine<UIntType,w,s,r>::seed

From cppreference.com

 
 
 
Pseudo-random number generation
Uniform random bit generators
Engines and engine adaptors
Non-deterministic generator
Distributions
Uniform distributions
Bernoulli distributions
Poisson distributions
Normal distributions
Sampling distributions
Seed Sequences
(C++11)
C library
 
std::subtract_with_carry_engine
Member functions
subtract_with_carry_engine::seed
(C++11)
Generation
Characteristics
Non-member functions
(C++11)(C++11)(until C++20)
(C++11)(C++11)
 
void seed( result_type value = default_seed );
(1) (since C++11)
template< class Sseq >
void seed( Sseq& seq );
(2) (since C++11)

Reinitializes the internal state of the random-number engine using new seed value.

Parameters

value - seed value to use in the initialization of the internal state
seq - seed sequence to use in the initialization of the internal state

Exceptions

Throws nothing.

Complexity