Namespaces
Variants
Views
Actions

std::mersenne_twister_engine::mersenne_twister_engine

From cppreference.com
< cpp‎ | numeric‎ | random‎ | mersenne twister engine
Revision as of 18:18, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
 
explicit mersenne_twister_engine( result_type value = default_seed );
(1) (since C++11)
template< class Sseq >
explicit mersenne_twister_engine( Sseq& s );
(2) (since C++11)

Constructs the pseudo-random number engine.

Parameters

value - seed value to use in the initialization of the internal state
s - seed sequence to use in the initialization of the internal state

Complexity

See also

sets the current state of the engine
(public member function) [edit]