std::studen...distribution(3)

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

okay bestie, this is the std::studen...distribution(3) page from the C++ Standard Libary manual. We’re talking about std::student_t_distribution::student_t_distribution, and yes the title is doing the most πŸ’…

πŸŽ€ NAME πŸŽ€

std::student_t_distribution::student_t_distribution β€” std::student_t_distribution::student_t_distribution. That’s the name, exactly like that, no cap.

✨ Synopsis ✨

These are the constructor vibes, all since C++11:

student_t_distribution() : student_t_distribution(1) {}      (1)
(since C++11)
explicit student_t_distribution( RealType n );               (2)
(since C++11)
explicit student_t_distribution( const param_type& params ); (3)
(since C++11)

Constructs a new distribution object. Periodt. πŸ’–

  1. Uses n as the distribution parameter.
  2. Uses params as the distribution parameter.

🌸 Parameters 🌸

  • n β€” the n distribution parameter (degrees of freedom)
  • params β€” the distribution parameter set

πŸ’€ Defect reports πŸ’€

The following behavior-changing defect reports were applied retroactively to previously published C++ standards.

  • DR: P0935R0 β€” Applied to: C++11 β€” Behavior as published: default constructor was explicit β€” Correct behavior: made implicit

okay that’s the whole page, bestie 🫢 β€” source/version: http://cppreference.com; date: 2024.06.10; footer title: std::studen...distribution(3). πŸ’œ

πŸ“¦ where this page comes from