• Olexa Bilaniuk's avatar
    PRNG changes: xorshift128+ algorithm, and seeding API. · f454929d
    Olexa Bilaniuk authored
    - Switched to the extremely fast, while simple and high-quality,
    xorshift128+ PRNG algorithm by Sebastiano Vigna in "Further scramblings
    of Marsaglia's xorshift generators. CoRR, abs/1402.6246, 2014" (2^128-1
    period, passes BigCrush tests). Performance improved by 10% over
    random().
    - Added an API to allow seeding with a specified seed, rather than using
    rand() or random(). This allows deterministic, reproducible results in
    tests using our algorithm (although findHomography() does not yet
    support passing an entropy source on its own end).
    f454929d
Name
Last commit
Last update
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.tgitconfig Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...