This topic has not yet been rated - Rate this topic

mersenne_twister_engine::discard

Discards values in the sequence.

void discard(unsigned long long count);
count

The number of values to discard.

This member function effectively calls (*this)() count times and discards each value.

Header: <random>

Namespace: std

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.