Function call operators

Synopses

Declared in <absl/random/poisson_distribution.h>

Generates a random integer.

template<typename URBG>
result_type
operator()(URBG& g);

Generates a random integer using the given parameter set.

template<typename URBG>
poisson_distribution<IntType>::result_type
operator()(
    URBG& g,
    param_type const& p);

Return Value

  • A random integer distributed according to the parameter set.

  • A random integer distributed according to p.

Parameters

Name

Description

g

The uniform random bit generator.

p

The parameter set to use for this call.

Created with MrDocs