libstdc++: std::bernoulli_distribution::param_type Struct Reference

libstdc++

std::bernoulli_distribution::param_type Struct Reference

`#include <random.h>`

## 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)

## Detailed Description

Parameter type.

Definition at line 4347 of file random.h.

## Member Typedef Documentation

## ◆ distribution_type

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

Definition at line 4349 of file random.h.

## Constructor & Destructor Documentation

## ◆ param_type() [1/2]

std::bernoulli_distribution::param_type::param_type | ( |  | ) |
| inline

Definition at line 4351 of file random.h.

## ◆ param_type() [2/2]

std::bernoulli_distribution::param_type::param_type | ( | double | __p | ) |
| inlineexplicit

Definition at line 4354 of file random.h.

## Member Function Documentation

## ◆ p()

double std::bernoulli_distribution::param_type::p | ( |  | ) | const
| inline

Definition at line 4361 of file random.h.

## Friends And Related Symbol Documentation

## ◆ operator==

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

Definition at line 4365 of file random.h.

The documentation for this struct was generated from the following file:

- random.h