Synopsis

Declared in <mp‐units/random.h>

template<Quantity Q>
requires std::floating_point<typename Q::rep>
class piecewise_linear_distribution
    : public std::piecewise_linear_distribution<Q::rep>

Base Classes

Name Description

std::piecewise_linear_distribution<Q::rep>

A piecewise_linear_distribution random number distribution.

Types

Name

Description

param_type

Parameter type.

result_type

The type of the range of the distribution.

Member Functions

Name

Description

__generate

densities

Return a vector of the probability densities of the distribution.

intervals

Return the intervals of the distribution.

max

Returns the least upper bound value of the distribution.

min

Returns the greatest lower bound value of the distribution.

operator()

Generating functions.

param

param overloads

reset

Resets the distribution state.

Created with MrDocs