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