linear_congruential_engine::operator()

Returns a random value.

result_type operator()();

Remarks

The member function generates a new stored_value by applying the recurrence relation to the old value of stored_value.

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

linear_congruential_engine Class