---
name: "std::bernoulli_distribution_param_type"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::bernoulli_distribution_param_type"
---

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

## Author

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