[#absl-exponential_distribution]
= xref:absl.adoc[absl]::exponential&lowbar;distribution
:relfileprefix: ../
:mrdocs:

Generates a number conforming to an exponential distribution&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename RealType = double&gt;
class exponential&lowbar;distribution;
----

== Description

This is equivalent to the standard &lsqb;rand&period;dist&period;pois&period;exp&rsqb;distribution&period;

== Types

[cols="1,4"]
|===
| Name| Description
| xref:absl/exponential_distribution/param_type.adoc[`param&lowbar;type`] 
| The parameter set of the distribution&period;
|===


== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:absl/exponential_distribution/result_type.adoc[`result&lowbar;type`] 
| The type of the values produced by the distribution&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:absl/exponential_distribution/2constructor-03.adoc[`exponential&lowbar;distribution`]         [.small]#[constructor]#
| Constructors
| xref:absl/exponential_distribution/lambda.adoc[`lambda`] 
| Returns the rate parameter&period;
| xref:absl/exponential_distribution/max.adoc[`max`] 
| Returns the largest value the distribution can produce&period;
| xref:absl/exponential_distribution/min.adoc[`min`] 
| Returns the smallest value the distribution can produce&period;
| xref:absl/exponential_distribution/operator_call-017.adoc[`operator()`] 
| Function call operators
| xref:absl/exponential_distribution/param-09.adoc[`param`] 
| `param` overloads
| xref:absl/exponential_distribution/reset.adoc[`reset`] 
| Resets the internal state of the distribution&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:absl/operator_not_eq-08.adoc[absl::operator!&equals;]`
| Compares two distributions for inequality&period;
| `xref:absl/operator_eq-08d6.adoc[absl::operator&equals;&equals;]`
| Compares two distributions for equality&period;
|===


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