Dakota Reference Manual: rnum2

| Dakota Reference Manual Version 6.15 Explore and Predict with Confidence

- Main Page
- Related Pages

All Pages
rnum2

Generates pseudo-random numbers using the Pecos package

## Specification

Alias: none

Argument(s): none

## Description

The `rnum2` keyword directs Dakota to use pseudo-random numbers generated by the Pecos package.

Default Behavior

`rnum2` is not used by default. To change this behavior, it must be specified in conjuction with the `rng` keyword.

Usage Tips

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

## Examples

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