Scroll to navigation

std::bernoulli_distribution::param_type(3cxx) std::bernoulli_distribution::param_type(3cxx)

NAME

std::bernoulli_distribution::param_type

SYNOPSIS

#include <random>

Public Types


typedef bernoulli_distribution distribution_type

Public Member Functions


param_type (double __p)
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

Parameter type.

Definition at line 3533 of file random.

Member Typedef Documentation

typedef bernoulli_distribution std::bernoulli_distribution::param_type::distribution_type

Definition at line 3535 of file random.

Constructor & Destructor Documentation

std::bernoulli_distribution::param_type::param_type () [inline]

Definition at line 3537 of file random.

std::bernoulli_distribution::param_type::param_type (double __p) [inline], [explicit]

Definition at line 3540 of file random.

Member Function Documentation

double std::bernoulli_distribution::param_type::p () const [inline]

Definition at line 3547 of file random.

Friends And Related Function Documentation

bool operator!= (const param_type & __p1, const param_type & __p2) [friend]

Definition at line 3555 of file random.

bool operator== (const param_type & __p1, const param_type & __p2) [friend]

Definition at line 3551 of file random.

Author

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

Mon Aug 22 2022 libstdc++