Namespaces
Variants
Views
Actions

std::linear_congruential_engine::linear_congruential_engine

From cppreference.com
< cpp‎ | numeric‎ | random‎ | linear congruential engine
Revision as of 19:46, 31 May 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
 
explicit linear_congruential_engine( result_type value = default_seed );
(1) (since C++11)
template< class Sseq >
explicit linear_congruential_engine( Sseq& s );
(2) (since C++11)

Constructs the pseudo-random number engine.

[edit] 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

[edit] Complexity

[edit] See also

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