table of contents
- testing 12.2.0-14
- unstable 12.2.0-14
- experimental 12.2.0-17
std::negative_binomial_distribution< _IntType >::param_type(3cxx) | std::negative_binomial_distribution< _IntType >::param_type(3cxx) |
NAME¶
std::negative_binomial_distribution< _IntType >::param_type
SYNOPSIS¶
#include <random>
Public Types¶
typedef negative_binomial_distribution< _IntType >
distribution_type
Public Member Functions¶
param_type (_IntType __k, double __p=0.5)
_IntType k () const
double p () const
Friends¶
bool operator!= (const param_type &__p1, const
param_type &__p2)
bool operator== (const param_type &__p1, const
param_type &__p2)
Detailed Description¶
template<typename _IntType = int>¶
struct std::negative_binomial_distribution< _IntType >::param_type"Parameter type.
Definition at line 4203 of file random.
Member Typedef Documentation¶
template<typename _IntType = int> typedef negative_binomial_distribution<_IntType> std::negative_binomial_distribution< _IntType >::param_type::distribution_type¶
Definition at line 4205 of file random.
Constructor & Destructor Documentation¶
template<typename _IntType = int> std::negative_binomial_distribution< _IntType >::param_type::param_type () [inline]¶
Definition at line 4207 of file random.
template<typename _IntType = int> std::negative_binomial_distribution< _IntType >::param_type::param_type (_IntType __k, double __p = 0.5) [inline], [explicit]¶
Definition at line 4210 of file random.
Member Function Documentation¶
template<typename _IntType = int> _IntType std::negative_binomial_distribution< _IntType >::param_type::k () const [inline]¶
Definition at line 4217 of file random.
template<typename _IntType = int> double std::negative_binomial_distribution< _IntType >::param_type::p () const [inline]¶
Definition at line 4221 of file random.
Friends And Related Function Documentation¶
template<typename _IntType = int> bool operator!= (const param_type & __p1, const param_type & __p2) [friend]¶
Definition at line 4229 of file random.
template<typename _IntType = int> bool operator== (const param_type & __p1, const param_type & __p2) [friend]¶
Definition at line 4225 of file random.
Author¶
Generated automatically by Doxygen for libstdc++ from the source code.
Mon Aug 22 2022 | libstdc++ |