Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::piecewise_constant_distribution<RealType>::intervals, densities

Returns the distribution parameters.

NotebookLM
std::vector<RealType> intervals() const;
(1) (since C++11)
std::vector<RealType> densities() const;
(2) (since C++11)

Returns the distribution parameters.

1) Returns the list of boundaries of the intervals.
2) Returns the list of probability densities of the intervals.

Parameters

(none)

Return value

The distribution parameters:

1) The list of boundaries of the intervals.
2) The list of probability densities of the intervals.

Complexity

Constant.

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.