std::bernoulli_distribution_param_type - Man Page

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.

Author

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

Info

Wed Sep 7 2022 libstdc++