std::extre...param_type(3)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 4 versions
, in arch rolling, fedora 44

🌸 NAME 🌸

std::extreme_value_distribution< _RealType >::param_type β€” bestie, this is a manual page from the Library Functions Manual, and it's all about the parameter-type struct that lives inside std::extreme_value_distribution. Yes we're going deep into the guts of <random>, and yes it's iconic. πŸ’…


✨ SYNOPSIS ✨

First thing, always: you gotta pull in the header.

#include <random>

πŸŽ€ Public Types πŸŽ€

  • typedef extreme_value_distribution< _RealType > distribution_type β€” the distribution this whole param bundle belongs to. It's giving "my distribution type, my rules". πŸ‘‘

🫢 Public Member Functions 🫢

  • param_type (_RealType __a, _RealType __b=_RealType(1.0)) β€” build a brand-new param_type out of an __a and a __b. Note the __b has a default of _RealType(1.0), so if you're feeling lazy you can just hand over __a and let __b do its lil default thing. ✨
  • _RealType a () const β€” hand back the a value. No cap. 🌸
  • _RealType b () const β€” hand back the b value. Equally slay. πŸ¦‹

πŸ’œ Friends πŸ’œ

  • bool operator== (const param_type &__p1, const param_type &__p2) β€” a friend function that compares two param_types for equality. Mutuals only. 🀝

πŸ”₯ Detailed Description πŸ”₯

Here's the whole vibe, verbatim-ish, template and all:

template<typename _RealType = double>
    struct std::extreme_value_distribution< _RealType
    >::param_type

It's described in the docs as: "Parameter type." That's it, that's the description β€” short, sweet, and honestly a little mysterious, which is very main character of it. πŸ’€

So fr fr: this is the nested param_type struct inside std::extreme_value_distribution< _RealType >, with _RealType defaulting to double when you don't say otherwise. It's the little bundle of parameters the distribution carries around. 🧚

Heads up bestie β€” don't invent extra behaviour here. The docs literally just call it the parameter type, so that's what it is. Periodt. πŸ’…

🌈 Author 🌈

Generated automatically by Doxygen for libstdc++ from the source code. So like, no human author to stan, just a doc generator doing its thing. Respectfully, it ate. 😭


Okay that's the whole page, babe β€” this one came straight out of libstdc++ (that's the source and version right there, Doxygen-generated and everything, with the page tag std::extre...param_type(3) riding along at the bottom). Go forth and parametrise. πŸŽ€βœ¨

πŸ“¦ where this page comes from
  • arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
  • fedora 44: libstdc++-docs 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • fedora 44: libstdc++-docs 16.2.1-2.fc44
  • fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms