Function restoreAlea

  • Initialize a new PRNG from a previously saved state, effectively allowing the previous PRNG to be resumed

    Parameters

    • state: AleaState

      a state object, probably retrieved from an existing PRNG with [[AleaPRNG.getState]]

    Returns AleaPRNG

    an initialized PRNG

Generated using TypeDoc