Opened 10 years ago

Closed 10 years ago

#7997 closed Feature Requests (wontfix)

Enhancement to the Mersenne Twister Seeding.

Reported by: Pedro Giffuni <giffunip@…> Owned by: No-Maintainer
Milestone: To Be Determined Component: random
Version: Boost 1.52.0 Severity: Optimization
Keywords: random Cc:

Description

Hello, I am looking at the Mersenne Twister Homepage: http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html

Apparently there can be a problem with slow initialization in the seeding. The new MT code offers an alternative initialization routine that admits an array of arbitrary length as a seed.

This would be an interesting option to have as it would make it easier to use a random device to seed the MT generator.

Change History (2)

comment:1 by viboes, 10 years ago

Component: Nonerandom
Owner: set to No-Maintainer

comment:2 by Steven Watanabe, 10 years ago

Resolution: wontfix
Status: newclosed

Use seed_seq if you want to seed with a fixed length array.

Note: See TracTickets for help on using tickets.