# Spec Uniform Pdf
Uniform distribution probability density function over a closed interval [min, max];

Extends | Pdf
All Extended | Pdf
Defined in | <seqan/random.h>
Signature | `template <typename T> class Pdf<Uniform<T> >;`

## Template Parameters

`T` | The number type to use (integer or floating point).

## Member Function Overview

- `Pdf::Pdf(min, max);`
  Constructor for uniform Pdf.

## Interface Metafunction Overview

### Interface Metafunctions Inherited From Pdf

- `Value`

## Member Functions Detail

### `Pdf::Pdf(min, max);`

Constructor for uniform Pdf.

#### Parameters

`min` | The smallest value of the interval, of the Value type of the Pdf.
`max` | The largest value of the interval, of the Value type of the Pdf.

#### Data Races

Thread safety unknown!

#### Dox Sources

    /*!
     * @class UniformPdf Uniform Pdf
     *
     * @extends Pdf
     *
     * @headerfile <seqan/random.h>
     *
     * @brief Uniform distribution probability density function over a closed
     *        interval [min, max];
     *
     * @signature template <typename T> class Pdf<Uniform<T> >;
     *
     * @tparam T The number type to use (integer or floating point).
     *
     * @fn UniformPdf::Pdf
     *
     * @brief Constructor for uniform Pdf.
     *
     * @signature Pdf::Pdf(min, max);
     *
     * @param[in] min The smallest value of the interval, of the Value type of the
     *                Pdf.
     * @param[in] max The largest value of the interval, of the Value type of the
     *                Pdf.
     */