8000 Chapter 14 in depth look MersenneTwister confusing wording · Issue #414 · crypto101/book · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Chapter 14 in depth look MersenneTwister confusing wording #414
Closed
@tstoertenbecker

Description

@tstoertenbecker

On page 156 it says:

1.An optional initialization function, which produces an initial state from a small random value called a seed.
2.A state generation function, which produces a new state from the old state.
3.An extraction function, also called the tempering function, that produces a random number from the current element of the state (the element pointed at by the index i).
Whenever the extraction function is called, the index to the current integer is incremented. When all of the current elements of the state have been used to produce a number,the state initialization function is called again. The state initialization function is also called right before the first number is

Sh 4D1D ouldn't it say When all of the current elements of the state have been used to produce a number, the state generation function is called again? Or am I misunderstanding something? Anyways thanks for writing the book, has been lots of fun reading it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0