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

Constructors

== Synopses

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

Constructs a distribution with shape parameters (1, 1)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/beta_distribution/2constructor-06.adoc[beta&lowbar;distribution]();
----

[.small]#xref:absl/beta_distribution/2constructor-06.adoc[_» more&period;&period;&period;_]#

Constructs a distribution from the given parameter set&period;


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

[.small]#xref:absl/beta_distribution/2constructor-039.adoc[_» more&period;&period;&period;_]#

Constructs a distribution with the given shape parameters&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:absl/beta_distribution/2constructor-038.adoc[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);
----

[.small]#xref:absl/beta_distribution/2constructor-038.adoc[_» more&period;&period;&period;_]#

== Parameters

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


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