[#absl-discrete_distribution-2constructor-0f]
= xref:absl.adoc[absl]::xref:absl/discrete_distribution.adoc[discrete&lowbar;distribution]::discrete&lowbar;distribution
:relfileprefix: ../../
:mrdocs:

Constructs a distribution from the given parameter set&period;

== Synopsis

Declared in `&lt;absl&sol;random&sol;discrete&lowbar;distribution&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
discrete&lowbar;distribution(xref:absl/discrete_distribution/param_type.adoc[param&lowbar;type] const& p);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p*
| The parameter set&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
