Sandia National Laboratories

# mt19937

Generates random numbers using the Mersenne twister

Specification

- Alias: None

- Arguments: None

Description

The `mt19937` keyword directs Dakota to use the Mersenne twister to generate random numbers. Additional information can be found on wikipedia: http://en.wikipedia.org/wiki/Mersenne_twister.

Default Behavior

`mt19937` is the default random number generator. To specify it explicitly in the Dakota input file, however, it must be specified in conjuction with the `rng` keyword.

Usage Tips

Use of the Mersenne twister random number generator ( `mt19937`) is recommended.

Examples

    method
      sampling
        sample_type lhs
        samples = 10
        seed = 98765
        rng mt19937

## Exceptional service in the national interest

© 2023 National Technology and Engineering Solutions of Sandia, LLC. | Questions & Comments | Privacy & Security

Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering Solutions of Sandia, LLC., a wholly owned subsidiary of Honeywell International, Inc., for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA-0003525.