Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Public Member Functions | List of all members
arrow::Random Class Reference

#include <arrow/util/random.h>

Public Member Functions

 Random (uint32_t s)
 
uint32_t Next ()
 
uint32_t Next32 ()
 
uint64_t Next64 ()
 
uint32_t Uniform (uint32_t n)
 
uint32_t Uniform32 (uint32_t n)
 
uint64_t Uniform64 (uint64_t n)
 
bool OneIn (int n)
 
uint32_t Skewed (int max_log)
 
double Normal (double mean, double std_dev)
 
double NextDoubleFraction ()
 

Constructor & Destructor Documentation

◆ Random()

arrow::Random::Random ( uint32_t  s)
inlineexplicit

Member Function Documentation

◆ Next()

uint32_t arrow::Random::Next ( )
inline

◆ Next32()

uint32_t arrow::Random::Next32 ( )
inline

◆ Next64()

uint64_t arrow::Random::Next64 ( )
inline

◆ NextDoubleFraction()

double arrow::Random::NextDoubleFraction ( )
inline

◆ Normal()

double arrow::Random::Normal ( double  mean,
double  std_dev 
)
inline

◆ OneIn()

bool arrow::Random::OneIn ( int  n)
inline

◆ Skewed()

uint32_t arrow::Random::Skewed ( int  max_log)
inline

◆ Uniform()

uint32_t arrow::Random::Uniform ( uint32_t  n)
inline

◆ Uniform32()

uint32_t arrow::Random::Uniform32 ( uint32_t  n)
inline

◆ Uniform64()

uint64_t arrow::Random::Uniform64 ( uint64_t  n)
inline

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