Share via


random_device::entropy

Estimates the randomness of the source.

double entropy() const;

Remarks

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

Example

For example code, see random_device Class.

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

random_device Class