std::piecew...ls,densities(3)
π
std::piecewise_linear_distribution::intervals,densities π
okay so welcome to the C++ Standard Libary manual page β section (3) β for this two-for-one icon π. it's giving "member functions that just want to hand you the distribution parameters," and honestly? obsessed. let's go β¨.
πΈ NAME πΈ
std::piecewise_linear_distribution::intervals,densities β that's the name, bestie. the original lists it twice (once before the dash and once after), so here's your double-name confirmation: 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, no cap.
(1)returns the list of boundaries of the intervals.(2)returns the list of probability densities at the boundaries of the intervals.
both are since C++11, so this is not new-new β it's established-icon behavior π.
π¦ Parameters π¦
(none) β literally none, bestie. no parameters, no arguments, nothing to pass. π«Ά
π Return value π
The distribution parameters, periodt:
- The list of boundaries of the intervals.
- The list of probability densities at the boundaries of the intervals.
π Complexity π
Linear in the number of intervals in this object. so it grows with the number of intervals in this object β no sneaky extra drama π₯.
with love from std::piecew...ls,densities(3) π β source/version: http://cppreference.com Β· date: 2024.06.10 β xoxo, your manual-page bestie π mwah!
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms