W3cubDocs

/C++

std::uniform_real_distribution<RealType>::param

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.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/numeric/random/uniform_real_distribution/param