[#mp_units-exponential_distribution-08]
= xref:mp_units.adoc[mp&lowbar;units]::exponential&lowbar;distribution
:relfileprefix: ../
:mrdocs:

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;random&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;xref:mp_units/Quantity.adoc[Quantity] Q&gt;
requires std&colon;&colon;floating&lowbar;point&lt;typename Q&colon;&colon;rep&gt;
struct exponential&lowbar;distribution
    : std::exponential&lowbar;distribution&lt;Q::rep&gt;
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `std::exponential&lowbar;distribution&lt;Q::rep&gt;`
| An exponential continuous distribution for random numbers&period;
|===

== Types

[cols="1,4"]
|===
| Name| Description
| xref:mp_units/exponential_distribution-08/param_type.adoc[`param&lowbar;type`] 
| Parameter type&period;
|===


== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:mp_units/exponential_distribution-08/result_type.adoc[`result&lowbar;type`] 
| The type of the range of the distribution&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:mp_units/exponential_distribution-08/__generate-07.adoc[`&lowbar;&lowbar;generate`] 
| 
| xref:mp_units/exponential_distribution-08/lambda.adoc[`lambda`] 
| Returns the inverse scale parameter of the distribution&period;
| xref:mp_units/exponential_distribution-08/max.adoc[`max`] 
| Returns the least upper bound value of the distribution&period;
| xref:mp_units/exponential_distribution-08/min.adoc[`min`] 
| Returns the greatest lower bound value of the distribution&period;
| xref:mp_units/exponential_distribution-08/operator_call-08.adoc[`operator()`] 
| Generating functions&period;
| xref:mp_units/exponential_distribution-08/param-02.adoc[`param`] 
| `param` overloads
| xref:mp_units/exponential_distribution-08/reset.adoc[`reset`] 
| Resets the distribution state&period;
|===



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