std::linear_congruential_engine::linear_congruential_engine - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::linear_congruential_engine::linear_congruential_engine

From cppreference.com
< cpp‎ | numeric‎ | random‎ | linear congruential engine

[edit template]

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.

| This section is incomplete

### [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

| This section is incomplete

### [edit] See also

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

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/numeric/random/linear_congruential_engine/linear_congruential_engine&oldid=50969"
Category:

- Todo without reason