| 
    Skylark (Sketching Library)
    0.1
    
   
   | 
  
  
  
 
#include <randgen.hpp>
Public Types | |
| typedef Distribution::result_type | value_type | 
| typedef r123::Threefry4x64 | RNG_t | 
| typedef RNG_t::ctr_type | ctr_t | 
| typedef RNG_t::key_type | key_t | 
| typedef r123::MicroURNG< RNG_t > | URNG_t | 
Public Member Functions | |
| random_samples_array_t () | |
| random_samples_array_t (size_t base, size_t size, int seed, Distribution &distribution) | |
| random_samples_array_t (const random_samples_array_t &other) | |
| random_samples_array_t & | operator= (const random_samples_array_t &other) | 
| value_type | operator[] (size_t index) const | 
Static Public Member Functions | |
| static key_t | _seed_to_key (int seed) | 
Random-access array of samples drawn from a distribution. It is templated over the types of each sample value and the distribution.
Definition at line 17 of file randgen.hpp.
| typedef RNG_t::ctr_type skylark::utility::random_samples_array_t< Distribution >::ctr_t | 
Definition at line 27 of file randgen.hpp.
| typedef RNG_t::key_type skylark::utility::random_samples_array_t< Distribution >::key_t | 
Definition at line 28 of file randgen.hpp.
| typedef r123::Threefry4x64 skylark::utility::random_samples_array_t< Distribution >::RNG_t | 
Convenience nicknames for Random123 types
Definition at line 26 of file randgen.hpp.
| typedef r123::MicroURNG<RNG_t> skylark::utility::random_samples_array_t< Distribution >::URNG_t | 
Definition at line 29 of file randgen.hpp.
| typedef Distribution::result_type skylark::utility::random_samples_array_t< Distribution >::value_type | 
Definition at line 21 of file randgen.hpp.
| skylark::utility::random_samples_array_t< Distribution >::random_samples_array_t | ( | ) |  [inline] | 
        
Definition at line 42 of file randgen.hpp.
| skylark::utility::random_samples_array_t< Distribution >::random_samples_array_t | ( | size_t | base, | 
| size_t | size, | ||
| int | seed, | ||
| Distribution & | distribution | ||
| ) |  [inline] | 
        
Random-access array of samples drawn from a distribution.
| [in] | base | Start location within a global stream. | 
| [in] | size | The number of samples provided. | 
| [in] | seed | The seed for the array. | 
| [in] | distribution | Distribution from which samples are drawn. | 
Definition at line 59 of file randgen.hpp.
| skylark::utility::random_samples_array_t< Distribution >::random_samples_array_t | ( | const random_samples_array_t< Distribution > & | other | ) |  [inline] | 
        
Definition at line 76 of file randgen.hpp.
| static key_t skylark::utility::random_samples_array_t< Distribution >::_seed_to_key | ( | int | seed | ) |  [inline, static] | 
        
Definition at line 34 of file randgen.hpp.
| random_samples_array_t& skylark::utility::random_samples_array_t< Distribution >::operator= | ( | const random_samples_array_t< Distribution > & | other | ) |  [inline] | 
        
Definition at line 82 of file randgen.hpp.
| value_type skylark::utility::random_samples_array_t< Distribution >::operator[] | ( | size_t | index | ) |  const [inline] | 
        
Definition at line 98 of file randgen.hpp.
 1.7.6.1