Freigeben über


subtract_with_carry_engine::subtract_with_carry_engine

Constructs the engine.

explicit subtract_with_carry_engine(UIntType x0 = default_seed);
subtract_with_carry_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

See Also

Reference

<random>

subtract_with_carry_engine Class

Other Resources

<random> Members