Namespaces
Variants
Views
Actions

std::mersenne_twister_engine::seed

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

 
 
 
 
 
void seed( result_type value = default_seed );
(1) (since C++11)
template< class Sseq >
void seed( Sseq& seq );
(2) (since C++11)

Reinitializes the internal state of the random-number engine using new seed value.

Parameters

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

Exceptions

(none)

Complexity