std::poisso...bution::mean(3)
π NAME π
okay bestie, welcome to the std::poisso...bution::mean(3) page from the C++ Standard Libary manual β and the NAME line is literally giving βsame name twiceβ energy: std::poisson_distribution::mean - std::poisson_distribution::mean β¨. No cap, thatβs the whole name vibe.
β¨ Synopsis β¨
Hereβs the signature, copied exactly:
double mean() const; (since C++11)
okay so what does it do? It returns the ΞΌ parameter the distribution was constructed with π
. That parameter defines the mean number of occurrences of the event. The default value is 1.0. Periodt.
π Parameters π
- none β like, zero parameters, bestie. Nothing to pass in, no vibes to check π.
πΈ Return value πΈ
It gives you back a floating point value identifying the ΞΌ distribution parameter π. Thatβs the return value, and itβs iconic.
π¦ See also π¦
paramβ gets or sets the distribution parameter object (C++11) (public member function) π
k bye bestie, this page is sourced from cppreference.com and dated 2024.06.10 β slay and stay Poisson-coded ππ«Άβ¨
π¦ 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