absl::discrete_distribution::param

Sets the parameter set of the distribution.

Synopsis

Declared in <absl/random/discrete_distribution.h>

void
param(param_type const& p);

Parameters

NameDescription
pThe new parameter set.