Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
random_device::entropy
Collapse the table of content
Expand the table of content

random_device::entropy

Estimates the randomness of the source.

double entropy() const noexcept;

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

For example code, see random_device Class.

Header: <random>

Namespace: std

Show:
© 2015 Microsoft