[#mp_units-geometric_distribution-06] = xref:mp_units.adoc[mp_units]::geometric_distribution :relfileprefix: ../ :mrdocs: == Synopsis Declared in `<mp‐units/random.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:mp_units/Quantity.adoc[Quantity] Q> requires std::integral<typename Q::rep> struct geometric_distribution : std::geometric_distribution<Q::rep> ---- == Base Classes [cols="1,4"] |=== | Name| Description | `std::geometric_distribution<Q::rep>` | A discrete geometric random number distribution. |=== == Types [cols="1,4"] |=== | Name| Description | xref:mp_units/geometric_distribution-06/param_type.adoc[`param_type`] | Parameter type. |=== == Type Aliases [cols="1,4"] |=== | Name| Description | xref:mp_units/geometric_distribution-06/result_type.adoc[`result_type`] | The type of the range of the distribution. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:mp_units/geometric_distribution-06/__generate-00.adoc[`__generate`] | | xref:mp_units/geometric_distribution-06/max.adoc[`max`] | Returns the least upper bound value of the distribution. | xref:mp_units/geometric_distribution-06/min.adoc[`min`] | Returns the greatest lower bound value of the distribution. | xref:mp_units/geometric_distribution-06/operator_call-04.adoc[`operator()`] | Generating functions. | xref:mp_units/geometric_distribution-06/p.adoc[`p`] | Returns the distribution parameter `p.` | xref:mp_units/geometric_distribution-06/param-08.adoc[`param`] | `param` overloads | xref:mp_units/geometric_distribution-06/reset.adoc[`reset`] | Resets the distribution state. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#