1

If one doesn't specify a seed for the boost RNG, it uses a default one. The documentation mentions this , but I can't find the actual value, which would be nice to know for testing whether the setting of the seed works as expected. Where can I find it? Is it platform dependent?

1 Answer 1

3

Default seed for Mersenne Twister is 5489u.

Find the other ones here.

lagged_fibonacci | 331u | subtract_with_carry | 19780503u | inversive_congruential | 1 | linear_feedback_shift | 341 | linear_congruential | 1 | mersenne_twister | 5489u | 
Sign up to request clarification or add additional context in comments.

2 Comments

great, exactly what I was looking for!
Nice one with the search link :)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.