Scroll to navigation

std::piecewise_linear_distribution::intervals,densities(3) C++ Standard Libary std::piecewise_linear_distribution::intervals,densities(3)

NAME

std::piecewise_linear_distribution::intervals,densities - std::piecewise_linear_distribution::intervals,densities

Synopsis


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 at the boundaries of the intervals.

Parameters


(none)

Return value


The distribution parameters:


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

Complexity


Linear in the number of intervals in this object.

2024.06.10 http://cppreference.com