---
name: "std::geometric_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::geometric_distribution_param_type"
---

# std::geometric\_distribution\_param\_type(3cxx)

## NAME

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**)\
 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.

## Author

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