[#mp_units-piecewise_constant_distribution-0d-2constructor-0b]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/piecewise_constant_distribution-0d.adoc[piecewise&lowbar;constant&lowbar;distribution]::piecewise&lowbar;constant&lowbar;distribution
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

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

Default constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:mp_units/piecewise_constant_distribution-0d/2constructor-04.adoc[piecewise&lowbar;constant&lowbar;distribution]();
----

[.small]#xref:mp_units/piecewise_constant_distribution-0d/2constructor-04.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename UnaryOperation&gt;
xref:mp_units/piecewise_constant_distribution-0d/2constructor-07.adoc[piecewise&lowbar;constant&lowbar;distribution](
    std::initializer&lowbar;list&lt;Q&gt; bl,
    UnaryOperation fw);
----

[.small]#xref:mp_units/piecewise_constant_distribution-0d/2constructor-07.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename InputIt1,
    typename InputIt2&gt;
xref:mp_units/piecewise_constant_distribution-0d/2constructor-0d.adoc[piecewise&lowbar;constant&lowbar;distribution](
    InputIt1 first&lowbar;i,
    InputIt1 last&lowbar;i,
    InputIt2 first&lowbar;w);
----

[.small]#xref:mp_units/piecewise_constant_distribution-0d/2constructor-0d.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename UnaryOperation&gt;
xref:mp_units/piecewise_constant_distribution-0d/2constructor-09.adoc[piecewise&lowbar;constant&lowbar;distribution](
    std::size&lowbar;t nw,
    Q const& xmin,
    Q const& xmax,
    UnaryOperation fw);
----

[.small]#xref:mp_units/piecewise_constant_distribution-0d/2constructor-09.adoc[_» more&period;&period;&period;_]#


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