Vowpal Wabbit
Public Member Functions | List of all members
rand_state Struct Reference

#include <global_data.h>

Public Member Functions

constexpr rand_state ()
 
 rand_state (uint64_t initial)
 
constexpr uint64_t get_current_state () const noexcept
 
float get_and_update_random ()
 
float get_and_update_gaussian ()
 
float get_random () const
 
void set_random_state (uint64_t initial) noexcept
 

Constructor & Destructor Documentation

constexpr rand_state::rand_state ( )
inline
rand_state::rand_state ( uint64_t  initial)
inline

Member Function Documentation

float rand_state::get_and_update_gaussian ( )
inline
float rand_state::get_and_update_random ( )
inline
constexpr uint64_t rand_state::get_current_state ( ) const
inlinenoexcept
float rand_state::get_random ( ) const
inline
void rand_state::set_random_state ( uint64_t  initial)
inlinenoexcept

The documentation for this struct was generated from the following file: