---
name: "std::negative_binomial_distribution::param_type"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/std::negative_binomial_distribution::param_type"
---

# std::negative\_binomial\_distribution::param\_type(3)

## NAME

std::negative\_binomial\_distribution\< \_IntType \>::param\_type

## SYNOPSIS

\#include \<random\>

### Public Types

typedef negative\_binomial\_distribution\< \_IntType \> **distribution\_type**\

### Public Member Functions

**param\_type** (\_IntType \_\_k, double \_\_p=0.5)\
 \_IntType **k** () const\
 double **p** () const\

### Friends

bool **operator==** (const param\_type &\_\_p1, const param\_type &\_\_p2)\

## Detailed Description

### template\<typename \_IntType = int\>

struct std::negative\_binomial\_distribution\< \_IntType \>::param\_type"Parameter type.

## Author

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