• Adrià Arrufat's avatar
    Add get_random_beta to dlib::rand (#2499) · 7f8731a2
    Adrià Arrufat authored
    
    
    * Add get_random_beta
    
    * simplify beta distribution generation
    
    * add tests
    
    * fix condition and use full names for shape parameters
    
    * remove unneeded include
    
    * match test types to prevent Windows from failing tests
    
    * Revert "remove unneeded include"
    
    This reverts commit 35f55a96e91f4c4340a0bda344c494f1ce68d521.
    
    * Revert "match test types to prevent Windows from failing tests"
    
    This reverts commit a990307066e99cb56e15ae5de63e67e29cc72911.
    
    * Revert "Revert "remove unneeded include""
    
    This reverts commit 59be002c9e8b8a6ac395d87e6bf9d4b57af19d28.
    
    * fix outdated message in DLIB_CASSERT
    
    * relax mpc condition again
    
    * Revert "relax mpc condition again"
    
    This reverts commit 1d208c5dcf1ddc15e09e68e1e2e11145506729ae.
    
    * Loop while both alpha and beta are zero
    
    * Update dlib/rand/rand_kernel_abstract.h
    Co-authored-by: default avatarDavis E. King <davis685@gmail.com>
    7f8731a2
rand_kernel_1.h 10.5 KB