---
name: "std::gamma_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::gamma_distribution_param_type"
---

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

## NAME

std::gamma\_distribution\< \_RealType \>::param\_type

## SYNOPSIS

`#include <random>`

### Public Types

**typedef** **gamma\_distribution**\< \_RealType \> **distribution\_type**\

### Public Member Functions

**param\_type** (\_RealType **\_\_alpha\_val**, \_RealType **\_\_beta\_val**=\_RealType(1))\
 \_RealType **alpha** () const\
 \_RealType **beta** () const\

### Friends

**class** **gamma\_distribution\< \_RealType \>**\
 bool **operator!=** (const **param\_type** &**\_\_p1**, const **param\_type** &**\_\_p2**)\
 bool **operator==** (const **param\_type** &**\_\_p1**, const **param\_type** &**\_\_p2**)\

## Detailed Description

### template\<typename \_RealType = double\>

struct std::gamma\_distribution\< \_RealType \>::param\_type"Parameter type.

## Author

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