std::geometric_distribution_param_type - Man Page

std::geometric_distribution< _IntType >::param_type


#include <random>

Public Types

typedef geometric_distribution< _IntType > distribution_type

Public Member Functions

param_type (double __p)
double p () const


class geometric_distribution< _IntType >
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::geometric_distribution< _IntType >::param_type"Parameter type.

Definition at line 3993 of file random.

Member Typedef Documentation

template<typename _IntType  = int> typedef geometric_distribution<_IntType> std::geometric_distribution< _IntType >::param_type::distribution_type

Definition at line 3995 of file random.

Constructor & Destructor Documentation

template<typename _IntType  = int> std::geometric_distribution< _IntType >::param_type::param_type () [inline]

Definition at line 3998 of file random.

template<typename _IntType  = int> std::geometric_distribution< _IntType >::param_type::param_type (double __p) [inline], [explicit]

Definition at line 4001 of file random.

Member Function Documentation

template<typename _IntType  = int> double std::geometric_distribution< _IntType >::param_type::p () const [inline]

Definition at line 4009 of file random.


Generated automatically by Doxygen for libstdc++ from the source code.


Wed Sep 7 2022 libstdc++