[#absl-beta_distribution-2constructor-038]
= xref:absl.adoc[absl]::xref:absl/beta_distribution.adoc[beta&lowbar;distribution]::beta&lowbar;distribution
:relfileprefix: ../../
:mrdocs:

Constructs a distribution with the given shape parameters&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
beta&lowbar;distribution(
    xref:absl/beta_distribution/result_type.adoc[result&lowbar;type] alpha,
    xref:absl/beta_distribution/result_type.adoc[result&lowbar;type] beta = 1);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *alpha*
| The first shape parameter&period;
| *beta*
| The second shape parameter&period;
|===


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