# Class Pdf
Probability Density Function

All Subcl's | BetaPdf, GeometricPdf, LogNormalPdf, NormalPdf, UniformPdf
Defined in | <seqan/random.h>
Signature | `template <typename TSpec> class Pdf;`

## Template Parameters

`TSpec` | Tag for selecting the specialization.

## Interface Metafunction Overview

- `Value<TPdf>::Type`
  Value type of a Pdf.

## Detailed Description

This class is used together with Rng in the function pickRandomNumber. See the SeqAn Randomness Tutorial for more details.

## Interface Metafunctions Detail

### `Value<TPdf>::Type`

Value type of a Pdf.

#### Template Parameters

`TPdf` | The Pdf for the value type.

#### Returns

`Type` | The value type of the Pdf.

#### Dox Sources

    /*!
     * @class Pdf
     *
     * @headerfile <seqan/random.h>
     *
     * @brief Probability Density Function
     *
     * @signature template <typename TSpec> class Pdf;
     *
     * @tparam TSpec Tag for selecting the specialization.
     *
     * This class is used together with @link Rng @endlink in the function @link
     * Rng#pickRandomNumber @endlink. See the <a
     * href="http://seqan.readthedocs.org/en/develop/Tutorial/Randomness.html">SeqAn
     * Randomness Tutorial</a> for more details.
     *
     * @mfn Pdf#Value
     *
     * @brief Value type of a Pdf.
     *
     * @signature Value<TPdf>::Type
     *
     * @tparam TPdf The Pdf for the value type.
     *
     * @return Type The value type of the Pdf.
     */