std::poisso...bution::mean(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– 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