std::uniform_int_distribution<IntType>::param

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::uniform_int_distribution
Member functions
Generation
Characteristics
uniform_int_distribution::param
(C++11)
Non-member functions
(C++11)(C++11)(until C++20)
(C++11)(C++11)
 
param_type param() const;
(1) (since C++11)
void param( const param_type& params );
(2) (since C++11)

Manages the associated distribution parameter set.

1) Returns the associated parameter set.

2) Sets the associated parameter set to params

Parameters

params - new contents of the associated parameter set

Return value

1) The associated parameter set

2) (none)

Complexity

Constant.