Share via


random_device::entropy

Estimates the randomness of the source.

double entropy() const noexcept;

Remarks

The member function returns an estimate of the randomness of the source, as measured in bits.

For example code, see random_device Class.

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

random_device Class