rngcmp: Comparing RNG Settings

Description Usage Arguments Details Value

Description

rng.equal compares the RNG settings associated with two objects.

rng1.equal tests whether two objects have identical initial RNG settings.

Usage

1
2
3
  rng.equal(x, y)

  rng1.equal(x, y)

Arguments

x

objects from which RNG settings are extracted

y

object from which RNG settings are extracted

Details

These functions return TRUE if the RNG settings are identical, and FALSE otherwise. The comparison is made between the hashes returned by RNGdigest.

Value

rng.equal and rng.equal1 return a TRUE or FALSE.


rngtools documentation built on May 2, 2019, 5 p.m.