std::geometric_distribution_param_type - Man Page

std::geometric_distribution< _IntType >::param_type

Synopsis

#include <random>

Public Types

typedef geometric_distribution< _IntType > distribution_type

Public Member Functions

param_type (double __p)
double p () const

Friends

class geometric_distribution< _IntType >
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 4037 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 4039 of file random.

Constructor & Destructor Documentation

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

Definition at line 4042 of file random.

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

Definition at line 4045 of file random.

Member Function Documentation

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

Definition at line 4053 of file random.

Author

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

Info

Sat Jan 28 2023 libstdc++