Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::discrete_distribution<IntType>::param

Manages the associated distribution parameter set.

NotebookLM
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.

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.