Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Constructs the engine.
explicit linear_congruential_engine(result_type x0 = default_seed);
explicit linear_congruential_engine(seed_seq& seq);
Parameters
x0
The seed value.seq
The object of type seed_seq that supplies the randomized seed.
Remarks
The first constructor constructs an object and initializes it by calling seed(x0). The second constructor constructs an object and initializes it by calling seed(seq).
Requirements
Header: <random>
Namespace: std