[#absl-beta_distribution-2constructor-0a] = xref:absl.adoc[absl]::xref:absl/beta_distribution.adoc[beta_distribution]::beta_distribution :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<absl/random/beta_distribution.h>` Constructs a distribution with shape parameters (1, 1). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/beta_distribution/2constructor-06.adoc[beta_distribution](); ---- [.small]#xref:absl/beta_distribution/2constructor-06.adoc[_» more..._]# Constructs a distribution from the given parameter set. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:absl/beta_distribution/2constructor-039.adoc[beta_distribution](xref:absl/beta_distribution/param_type.adoc[param_type] const& p); ---- [.small]#xref:absl/beta_distribution/2constructor-039.adoc[_» more..._]# Constructs a distribution with the given shape parameters. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:absl/beta_distribution/2constructor-038.adoc[beta_distribution]( xref:absl/beta_distribution/result_type.adoc[result_type] alpha, xref:absl/beta_distribution/result_type.adoc[result_type] beta = 1); ---- [.small]#xref:absl/beta_distribution/2constructor-038.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *p* | The parameter set. | *alpha* | The first shape parameter. | *beta* | The second shape parameter. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#