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