Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: randomgen #13163

Merged
merged 139 commits into from May 28, 2019
Merged

ENH: randomgen #13163

merged 139 commits into from May 28, 2019

Commits on May 20, 2019

  1. INIT: Initial commit with basic structure

    Basic structure of a core PRNG and a generator that consumes the core PRNG
    
    CLN: Remove unneeded code
    
    Remove unnecessary code and add docstrings
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    3102fc6 View commit details
    Browse the repository at this point in the history
  2. ENH: Add support for xoroshiro128

    Clean up splitmix64 to use external functions
    Add xoroshiro128 to show use of additional PRNG
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    fa3bef5 View commit details
    Browse the repository at this point in the history
  3. ENH: Add entropy initialization to RNGS

    Port over random entropy from ng-randomstate
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    d59494c View commit details
    Browse the repository at this point in the history
  4. ENH: Add seeding to generators

    Allow generators to be seeded on creation
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    8942968 View commit details
    Browse the repository at this point in the history
  5. CLN: Simplify xoroshiro state

    Simplify xoroshiro state
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    aa9060c View commit details
    Browse the repository at this point in the history
  6. REF: Add additional state

    Add state to allow 32 bit generation
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    b353f87 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    15cab3c View commit details
    Browse the repository at this point in the history
  8. ENH: Add extra abstraction

    Abstract various components to allow more flexibility in generating
    specific distributions
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    8367231 View commit details
    Browse the repository at this point in the history
  9. ENH: Add float from double and std exponential

    Add float fillng from double
    Add support for log-based exponential
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    d5dc576 View commit details
    Browse the repository at this point in the history
  10. BUG: Fix bug in xoroshiro

    Fix bug which passes reference to state not state
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    f4575d9 View commit details
    Browse the repository at this point in the history
  11. CLN: Fix warning in entropy

    Use secure time function to avoid compiler warning
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    c687b84 View commit details
    Browse the repository at this point in the history
  12. REF: Add types to prng_t

    Add function types directly to prng_t to simplify use
    Clean distributionsto use new syntex
    Remove unused type definitions
    Rename type definitions to me more meaningful
    
    xref #1
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    0d4eae3 View commit details
    Browse the repository at this point in the history
  13. ENH: Add Threefry generator

    Add threefry
    Clean unused definitions from splitmix and xoroshiro
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    27a96bb View commit details
    Browse the repository at this point in the history
  14. ENH: Use Random123 threefry

    Switch to random123 threefry implementation
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    a5f17a5 View commit details
    Browse the repository at this point in the history
  15. CLN: Remove unnecessary code from threefry

    Remove higher iterations from threefre
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    56fd6e7 View commit details
    Browse the repository at this point in the history
  16. ENH: Add pickle support

    Add pickle support for RandomGenerator
    Add pickle support for other core PRNGs
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    93b7edf View commit details
    Browse the repository at this point in the history
  17. DOC: Add list of TODOs

    List contains major next steps
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    d665138 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    892d43f View commit details
    Browse the repository at this point in the history
  19. ENH: Add jump and advance to threefry

    Add jump (2**128) and advance (arbitrary) to threefry
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    ad79fe0 View commit details
    Browse the repository at this point in the history
  20. ENH: Add PCG64

    Add PCG64 generator
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    4b2afc2 View commit details
    Browse the repository at this point in the history
  21. ENH: Add advance and jump to PCG64

    Add advance and jump
    Clean other PRNGs
    bashtage committed May 20, 2019
    Configuration menu
    Copy the full SHA
    6b81fa0 View commit details
    Browse the repository at this point in the history
  22. ENH: Add Philox

    Add philox as a core PRNG
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    e150e1a View commit details
    Browse the repository at this point in the history
  23. CLN: Remove splitmix64 as a visible PRNG

    Retain splitmix64 for internal use
    Default is now xoroshiro128
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    d6d3ac9 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    323616c View commit details
    Browse the repository at this point in the history
  25. REF: Refactor distributions

    Simplify naming schame
    Add ziggurate gauss
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    626a1a0 View commit details
    Browse the repository at this point in the history
  26. ENH: Add std gamma

    Add standard gamma
    Add array fillers
    bashtage authored and mattip committed May 20, 2019
    8 Configuration menu
    Copy the full SHA
    5fe7572 View commit details
    Browse the repository at this point in the history
  27. CLN: Clean random123 generators

    Simplify these generators a small amount
    Define constants
    nhance the demo/benchmark
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    cecd56d View commit details
    Browse the repository at this point in the history
  28. CLN: Fix dsfmt import issues

    Revers DSFMT import changes
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    a071378 View commit details
    Browse the repository at this point in the history
  29. ENH: Enable Python 2.7 compatability

    Enable Python 2.7
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    eab3390 View commit details
    Browse the repository at this point in the history
  30. ENH: Add jump to mt19937 and dsfmt

    Add jump to dsfmt and mt19937
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    c3155db View commit details
    Browse the repository at this point in the history
  31. ENH: Add ctypes interface and examples

    Add prototype ctypes interface to Xoroshiro128
    Add example showing use in Cython
    Add eample showing use in Numba
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    e9e0a8c View commit details
    Browse the repository at this point in the history
  32. CLN: Mix skipped nogils

    Re-enable all nogils
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    0e5ffae View commit details
    Browse the repository at this point in the history
  33. ENH: Add cffi interface

    Add xffi interface for xoroshir128
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    5d274af View commit details
    Browse the repository at this point in the history
  34. ENH: Add example using distributions

    Add example
    Rename _prng_capsule to capsule
    Use common.pxd to gather all information about distirbutionsh
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    2f9b9c0 View commit details
    Browse the repository at this point in the history
  35. ENH: Enable building distributions as a DLL

    Enable using distributions as a DLL
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    fcef7ae View commit details
    Browse the repository at this point in the history
  36. ENH: Port over external functions

    Power over external functionss from randomstate
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    1235545 View commit details
    Browse the repository at this point in the history
  37. ENH: Add bounded intergers

    Add bounded integers
    Refactors distributions headers
    Add benchmark
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    7ca6e62 View commit details
    Browse the repository at this point in the history
  38. ENH: Add support for Philon on 32 bit Windows

    Performance is terrible
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    cfe9e95 View commit details
    Browse the repository at this point in the history
  39. ENH: Add support for ThreeFry32x4

    Add support for ThreeFry32x4 to benchmark
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    390860a View commit details
    Browse the repository at this point in the history
  40. BUG: Enable build to run on 32-bit Linux

    Enable 32-bit Linux support
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    8fa8c2b View commit details
    Browse the repository at this point in the history
  41. ENH: Add PCG32

    Add PCG32 for benchmarking
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    644d883 View commit details
    Browse the repository at this point in the history
  42. BUG: Fix variable declarations in dsfmt

    Fix order for VS2008
    Improve repr
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    e81e93f View commit details
    Browse the repository at this point in the history
  43. ENH: Enable testing on OSX

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    76a31a9 View commit details
    Browse the repository at this point in the history
  44. REF: Drop Box-Muller

    Drop Box-Muller and supported infrastructure
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    c1f4fa0 View commit details
    Browse the repository at this point in the history
  45. REF: Remove binomial_t from prng

    Remvoe binomial_t from each prng_state and use a single implementation
    at the level of a RandomGenerator
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    ee51dcf View commit details
    Browse the repository at this point in the history
  46. ENH: Switch to int64

    Switch to int64 to avoid platform-dependencies for integer values randoms
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    fde7742 View commit details
    Browse the repository at this point in the history
  47. DOC: Start documentation

    Make a start of docs
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    fb98ac5 View commit details
    Browse the repository at this point in the history
  48. REF: Rename from Core PRNG to RandomGen

    Switch canonical name to RandomGen
    Switch use of prng to brng to indicate basic RNG
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    cb24575 View commit details
    Browse the repository at this point in the history
  49. DOC: Update docs

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    c722f44 View commit details
    Browse the repository at this point in the history
  50. TST: Improve travis

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    e69d24c View commit details
    Browse the repository at this point in the history
  51. BUG: Fix failing test

    Correct list of expected methods
    Rename random_sample to random_double to allow random_sample to be used by Python
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    a85ee48 View commit details
    Browse the repository at this point in the history
  52. DOC: Fix location of tagged docs

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    701326e View commit details
    Browse the repository at this point in the history
  53. BLD: Ensure emulated math is used in 32 bit platforms

    Ensure 32 bit platforms emulate
    Fix missing static in pcg
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    9e18b77 View commit details
    Browse the repository at this point in the history
  54. CLN: Remove references to long

    Replace conversion to long with int64
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    3e69d17 View commit details
    Browse the repository at this point in the history
  55. ENH: Add Box-Muller gauss

    Add legacy distributions through new generator
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    489015f View commit details
    Browse the repository at this point in the history
  56. DOC: Update multithreading doc

    Update performance comp
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    8711b32 View commit details
    Browse the repository at this point in the history
  57. CLN: Remove set/get state for system generator

    Remove ability to set or get the state of the default generator
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    018faf7 View commit details
    Browse the repository at this point in the history
  58. TST: Fix tailing test on 32bit platofrms

    Relax check for 32 bit platforms
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    75025d9 View commit details
    Browse the repository at this point in the history
  59. CLN: Fix str for RandomGenerator

    Update __str__ to use class name to solve oop naming issue in LegacyGen
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    4f37499 View commit details
    Browse the repository at this point in the history
  60. DOC: Update legacy docs

    Update documentation about legacy generation
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    7d37f5f View commit details
    Browse the repository at this point in the history
  61. BUG: Fix pickle for LegacyGenerator

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    a2e21e6 View commit details
    Browse the repository at this point in the history
  62. DOC: Spelling changes

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    d13f398 View commit details
    Browse the repository at this point in the history
  63. CLN: Remove redeclared type

    Remove duplicate pcg128_t declaration
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    df1758d View commit details
    Browse the repository at this point in the history
  64. BLD: Enable no-sse2 flag

    Enable no-sse2 flag to be set
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    412e908 View commit details
    Browse the repository at this point in the history
  65. SYNC/CLN: Sync with upstream changes

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    87b52f2 View commit details
    Browse the repository at this point in the history
  66. BLD: Add lm flag for non-windows platforms

    Should be gcc only
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    db87d7d View commit details
    Browse the repository at this point in the history
  67. ENH: Add dSFMT

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    b41949e View commit details
    Browse the repository at this point in the history
  68. ENH: Add out, ziggurat for exponential

    Add out to fill existing arrays
    Add ziggurat for exponential
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    a9cb58d View commit details
    Browse the repository at this point in the history
  69. TST: Add test and benchmark code

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    92a09f3 View commit details
    Browse the repository at this point in the history
  70. ENH: Improve benchmark

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    f029ebb View commit details
    Browse the repository at this point in the history
  71. CLN: Reformat C files

    Reformat C files using clang-format
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    8777c61 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    784315e View commit details
    Browse the repository at this point in the history
  73. BUG: Precent GC of CorePRNG when using CFFI/CTypes

    Keep a copy of cffi/ctypes interface handing over to end users to
    prevent main class from being garbage collected
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    5b262ef View commit details
    Browse the repository at this point in the history
  74. TST: Add tests

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    65ceada View commit details
    Browse the repository at this point in the history
  75. DOC: Update readme

    Update readme
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    3b7b1e4 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    a8882b2 View commit details
    Browse the repository at this point in the history
  77. BUG: Fix returned type

    Return double
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    dc0c84b View commit details
    Browse the repository at this point in the history
  78. DOC: Update docs and building

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    f060614 View commit details
    Browse the repository at this point in the history
  79. ENH: Restore filler

    Swap double filler for old version
    Restore fillers to distributions
    Replace pointer size
    Switch to uintptr_t for 32 bit platforms
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    5d3d955 View commit details
    Browse the repository at this point in the history
  80. TST: Improve testing and build

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    ce30b74 View commit details
    Browse the repository at this point in the history
  81. DOC: Update change-log and docs

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    447e6b3 View commit details
    Browse the repository at this point in the history
  82. BUG: Restore nogil for fillers

    Use nogil for fillers
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    50e7242 View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    799e20b View commit details
    Browse the repository at this point in the history
  84. BUG: Fix absolute_import

    Use full import paths to resolve absolute_import bug
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    80a3fe1 View commit details
    Browse the repository at this point in the history
  85. DOC: Fix doc and example error

    Ensure cython example works
    Add cimport for cython example
    pdebuyl authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    d780f06 View commit details
    Browse the repository at this point in the history
  86. REF: Rename min and max macros

    Use MIN and MAX to avoid issues with c++ compilation
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    fdd029f View commit details
    Browse the repository at this point in the history
  87. MAINT: Sync with NumPy changes

    Sync documentation changes from NumPy for 1.15 release
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    3dba22d View commit details
    Browse the repository at this point in the history
  88. ENH: Allow empty choice

    Allow empty choices to sync with upstream changes
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    f2ace10 View commit details
    Browse the repository at this point in the history
  89. DOC: Provide a better explanation of bounded int generation

    Clarify that the internal generator is closed on [low, high-1] even though
    the external interface is open [low, high)
    
    closes #26
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    d0cb154 View commit details
    Browse the repository at this point in the history
  90. MAINT: Sync with recent upstream changes

    Sync with Numpy 1.15 changes
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    8e6b69f View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    99bf1a0 View commit details
    Browse the repository at this point in the history
  92. ENH: Added an alternative interval generator using Lemire's algorithm.

    The interval generator is used when generating 32-bit bounded random numbers.
    The speedup is 10% to 220% across the various RNGs compared to my pip Numpy.
    Added a param to RandomGenerator.randint(...) to allow one to choose which
      algorithm to use to generate a random number in an interval.
    Fix C errors on VS.
    Setup travis to run fewer environments while testing.
    Restore travis and appveyor settings.
    1) Made the parameter order and randint callees consistent.
    2) Rename use_masked_generator to use_masked.
    3) Added tests for generating uint32 numbers in an interval using the masked
       and lemire algorithms.
    bduvenhage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    8dba0e9 View commit details
    Browse the repository at this point in the history
  93. DOC: Add license files

    Add license files for project and components
    Use raw string to avoid escape warning in regex
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    13d8999 View commit details
    Browse the repository at this point in the history
  94. REF: Add path using umul

    Add umul128 intrinsic support for 64bit windows
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    707371d View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    15bebed View commit details
    Browse the repository at this point in the history
  96. CLN: Add guards to headers

    Add header guards
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    734fbfb View commit details
    Browse the repository at this point in the history
  97. ENH/BUG: Add Xoshiro256starstar generator

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    c4ed60e View commit details
    Browse the repository at this point in the history
  98. MAINT: Sync with upstream changes

    Sync upstream changes in numpy#11613, numpy#11771, and
    numpy#12089
    Update to NumPy 1.12 as the minimum version
    Fix documentation
    Add information about Lemire generator
    Update change log
    Fix docstring for randint
    Refactor benchmark with more options
    Clean code for PEP8 violations
    Improve performance testing
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    9dac6a5 View commit details
    Browse the repository at this point in the history
  99. BUG: Ensure buffer_loc is reset in DSFMT

    Ensure buffer location is reset after reseed or jump to ensure
    that values are produced from the new state and not reused from
    the old.
    Ensure that the fallback path uses the correct number of bytes in Xor*
    Small doc fixes.
    Update dirichlet documentation
    Update beta docstring
    Fix weibull for a=0
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    578889b View commit details
    Browse the repository at this point in the history
  100. BUG: Raise on nan probabilities

    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    896f2e4 View commit details
    Browse the repository at this point in the history
  101. BUILD: move files out of _randomgen

    first cut at building randomgen
    upgrade 'cythonize' and fix absolute imports to relative
    define NPY_NO_DEPRECATED_API and fix other warnings
    enable pgc64 by always using PCG_EMULATED_MATH
    refactor so import randomgen works
    add TODO comments for pcg64 improvements
    fix imports, module name in setup.py; remove _testing
    make cythonize non-recursive, restore examples to proper place
    update to randomgen 7bca296c0b9
    replace mtrand with LegacyGenerator, tweak for compatibility
    port f879ef4 to fix GH10839
    minimized difference between generator.pyx and _legacy.pyx
    fix namespace in doctests, mark results that are random
    update to randomgen commit 95c8cdd1c
    Incorporate testing of edge cases into main tests
    Rename test files to describe their purpose
    Import import locations to reflect numpy paths
    Correct tolerance on float32 tests
    Remove set_printoptions
    Remove complex normal
    Remove future imports
    Pull in BasicRNG source changes from original author
    Small doc fixes
    _mtrand => _rand
    Improve consistency of nan handling
    Prevent nans prducing values from int functions
    add randomgen documentation to the tree
    mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    fa8af41 View commit details
    Browse the repository at this point in the history
  102. BUG: Correct handling of nans

    Improve consistency of nan handling
    Prevent nans prducing values from int functions
    Add tests to ensure guards work
    Synchronize with randomgen
    Remove comments no longer relevant
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    7e8e19f View commit details
    Browse the repository at this point in the history
  103. BENCH: convert bencmarks to asv format

    remove files that were part of the origal repo
    rework randomgen docs to integrate with numpy and fix some links
    remove convenience functions, require explicit call to gen.brng
    move code out of numpy.random.randomgen into numpy.random
    mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    c53b2eb View commit details
    Browse the repository at this point in the history
  104. BUG: __dealloc__ can be called without __init__ in some error modes

    skip doctests that require scipy
    move original mtrand module to _mtrand
    adjust documentation for namespace change
    mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    9578dcf View commit details
    Browse the repository at this point in the history
  105. ENH: Extend multinomial and fix zipf

    Extend multinomial to allow broadcasting
    Fix zipf changes missed in NumPy
    Enable 0 as valid input for hypergeometric
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    0f3dd06 View commit details
    Browse the repository at this point in the history
  106. DOC: Add alias docstrings for sample and ranf

    Add docstring and add to __all__
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    8a3c11d View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    bb7abf2 View commit details
    Browse the repository at this point in the history
  108. MAINT: Simplify return types

    Standardize returns types for Windows and 32-bit platforms on int64
    in choice and randint (default).
    Refactor tomaxint to call randint
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    f11921d View commit details
    Browse the repository at this point in the history
  109. BUG: Fix type in zipf

    Correct type form long to int64
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    0f931b3 View commit details
    Browse the repository at this point in the history
  110. ENH: Improvce choice without replacement

    Improve performance in all cases
    Large improvement with size is small
    
    xref numpy#5299
    xref numpy#2764
    xref numpy#9855
    xref numpy#7810
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    b2f9bea View commit details
    Browse the repository at this point in the history
  111. Configuration menu
    Copy the full SHA
    7a41794 View commit details
    Browse the repository at this point in the history
  112. ENH: Finish hypergeometric 0

    Add changes to alow hypergeometric 0
    Small syncs and cleanups
    Move legacy_distributions.pxd to legacy folder can be deleted
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    edfd313 View commit details
    Browse the repository at this point in the history
  113. Configuration menu
    Copy the full SHA
    b9b9d70 View commit details
    Browse the repository at this point in the history
  114. MAINT: Remove Cython conditionals

    Remove Cython conditional compilation and use preprocessor only
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    2deddc8 View commit details
    Browse the repository at this point in the history
  115. BUG: Protect gamma generation from 0 input

    Add protection for 0 input for gamma random variables
    Add protection in legacy for gamma random variables
    Add protection for 0 input in Weibull
    Add test of 0 protection
    Ensure tests run on legacy generators for bad values are also run on the
    current set of generators
    Use same variable definition in declaration and function
    Sync doc changes to Wald and Noncentral Chi2
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    d531f92 View commit details
    Browse the repository at this point in the history
  116. DOC/ENH: Update docstring and enhance logistic

    Update docstring in _legacy.pyx for match generator.pyx
    Fix docstring in the constaint checker which had ineq rather than eq.
    Enhance logistic to accept 0 scale
    Reorder functions in _legacy to match generator to simplify keeping doc strings
    synchronized.
    Synchronize the docstring in _legacy
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    6e386c0 View commit details
    Browse the repository at this point in the history
  117. Configuration menu
    Copy the full SHA
    8621229 View commit details
    Browse the repository at this point in the history
  118. ENH: Add fast path for randint broadcasting

    Add path that voids object conversion unless essential
    Small doc cleanups related to random_integers
    PEP-8 cleanups
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    4f06779 View commit details
    Browse the repository at this point in the history
  119. BUG: Cast high to Python int to avoid overflow

    Case high to a Python int to avoid overflow from NumPy types
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    ca9c542 View commit details
    Browse the repository at this point in the history
  120. ENH: Add closed generator to randint

    Add closed option to randint to simplify some cases
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    dd77ce3 View commit details
    Browse the repository at this point in the history
  121. MAINT: Implement API changes for randomgen-derived code

    remove numpy.random.gen, BRNG.generator, pcg*, rand, randn
    remove use_mask and Lemire's method, fix benchmarks for PCG removal
    convert brng to bitgen (in C) and bit_generator (in python)
    convert base R{NG,andom.*} to BitGenerator, fix last commit
    randint -> integers, remove rand, randn, random_integers
    RandomGenerator -> Generator, more "basic RNG" -> BitGenerator
    random_sample -> random, jump -> jumped, resync with randomgen
    Remove derived code from entropy
    Port over changes accepted in upstream to protect log(0.0) where relevant
    fix doctests for jumped, better document choice
    Remove Python 2.7 shims
    Use NPY_INLINE to simplify
    Fix performance.py to work
    Renam directory brng to bit_generators
    Fix examples wiht new directory structure
    Clarify relationship to historical RandomState
    Remove references to .generator
    Rename xoshiro256/512starstar
    mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    17e0070 View commit details
    Browse the repository at this point in the history
  122. BUG: Ensure integer-type stream on 32bit

    Ensure integer type is stream compatible on 32 bit
    Fix incorrect clause end
    Add integer-generator tests that check long streams
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    b42a5ca View commit details
    Browse the repository at this point in the history
  123. BLD: Use numpy detection of SSE

    Let numpy detect SSE2
    bashtage authored and mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    720a0a9 View commit details
    Browse the repository at this point in the history
  124. MAINT: remove unused file

    mattip committed May 20, 2019
    Configuration menu
    Copy the full SHA
    e058ae4 View commit details
    Browse the repository at this point in the history
  125. Configuration menu
    Copy the full SHA
    3d19ae9 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2019

  1. merge master into branch

    mattip committed May 22, 2019
    Configuration menu
    Copy the full SHA
    060c669 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2019

  1. Configuration menu
    Copy the full SHA
    4e6a812 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19b48e2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cdb2b0f View commit details
    Browse the repository at this point in the history
  4. ENH: Split poisson_lam_max

    Use type-dependent poisson lam max
    Make private
    Fix backward compat issue in loggam
    bashtage committed May 23, 2019
    Configuration menu
    Copy the full SHA
    2c14e47 View commit details
    Browse the repository at this point in the history
  5. MAINT: Remove test_against_numpy

    Remove test file that is circular when randomgen is in numpy
    bashtage committed May 23, 2019
    Configuration menu
    Copy the full SHA
    457c6c5 View commit details
    Browse the repository at this point in the history
  6. BUG: Change renamed attribute

    Change renamed attribute
    bashtage committed May 23, 2019
    Configuration menu
    Copy the full SHA
    9e5ae61 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2019

  1. DOC: Add __all__ and document lock

    Add docstring for lock
    Use __all__ to discuorage unless attributes from appearing
    bashtage authored and mattip committed May 27, 2019
    Configuration menu
    Copy the full SHA
    7c52c28 View commit details
    Browse the repository at this point in the history
  2. MAINT: Remove remnants of bit generators

    Remove traces of the three removed bit generators
    Add lock to Cython examples
    bashtage authored and mattip committed May 27, 2019
    Configuration menu
    Copy the full SHA
    dabf42b View commit details
    Browse the repository at this point in the history
  3. BLD: Improve setup

    Attempt to avoid defining variables that are incorrect for some platforms
    bashtage authored and mattip committed May 27, 2019
    Configuration menu
    Copy the full SHA
    3db5a77 View commit details
    Browse the repository at this point in the history
  4. Revert "MAINT: Implement API changes for randomgen-derived code"

    This reverts commit 17e0070.
    bashtage authored and mattip committed May 27, 2019
    Configuration menu
    Copy the full SHA
    58c0e72 View commit details
    Browse the repository at this point in the history
  5. STY: Clean up code

    Pep8 fixes
    Remove unused imports
    Fix name error
    bashtage authored and mattip committed May 27, 2019
    Configuration menu
    Copy the full SHA
    23853d6 View commit details
    Browse the repository at this point in the history
  6. PERF: Reorder header for philox (#34)

    * PERF: Reorder header for philox
    
    Reorder header so that support uint128 is always used if avilable, irrespective of platform
    bashtage authored and mattip committed May 27, 2019
    Configuration menu
    Copy the full SHA
    9c261e6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    70d6293 View commit details
    Browse the repository at this point in the history