/search.css" rel="stylesheet" type="text/css"/> /search.js">
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions
r123 Namespace Reference

Classes

class  AESNI1xm128i
 
struct  AESNI4x32
 
class  AESNI1xm128i_R
 
class  AESNI4x32_R
 
class  ARS1xm128i_R
 
class  ARS4x32_R
 
struct  float2
 
struct  double2
 
class  MicroURNG
 
struct  ReinterpretCtr
 
struct  Engine
 
class  Philox2x32_R
 
class  Philox2x64_R
 
class  Philox4x32_R
 
class  Philox4x64_R
 
class  Threefry2x32_R
 
class  Threefry2x64_R
 
class  Threefry4x32_R
 
class  Threefry4x64_R
 

Typedefs

typedef ARS1xm128i_R
< ars1xm128i_rounds
ARS1xm128i
 
typedef ARS4x32_R< ars4x32_roundsARS4x32
 

Functions

static void sincospif (float x, float *s, float *c)
 
static void sincospi (double x, double *s, double *c)
 
static float2 boxmuller (uint32_t u0, uint32_t u1)
 
static double2 boxmuller (uint64_t u0, uint64_t u1)
 
template<typename Ftype , typename Itype >
static Ftype u01 (Itype in)
 Return a uniform real value in (0, 1]. More...
 
template<typename Ftype , typename Itype >
static Ftype uneg11 (Itype in)
 Return a signed value in [-1,1]. More...
 
template<typename Ftype , typename Itype >
static Ftype u01fixedpt (Itype in)
 Return a value in (0,1) chosen from a set of equally spaced fixed-point values. More...
 
template<typename Ftype , typename CollType >
static std::array< Ftype,
CollType::static_size > 
u01all (CollType in)
 Apply u01 to every item in an r123array, returning a std::array. More...
 
template<typename Ftype , typename CollType >
static std::array< Ftype,
CollType::static_size > 
uneg11all (CollType in)
 Apply uneg11 to every item in an r123array, returning a std::array. More...
 
template<typename Ftype , typename CollType >
static std::array< Ftype,
CollType::static_size > 
u01fixedptall (CollType in)
 Apply u01fixedpt to every item in an r123array, returning a std::array. More...
 

Detailed Description

Most of the Random123 C++ API is contained in the r123 namespace.

Typedef Documentation

Function Documentation

static float2 r123::boxmuller ( uint32_t  u0,
uint32_t  u1 
)
inlinestatic
static double2 r123::boxmuller ( uint64_t  u0,
uint64_t  u1 
)
inlinestatic
static void r123::sincospi ( double  x,
double *  s,
double *  c 
)
inlinestatic
static void r123::sincospif ( float  x,
float *  s,
float *  c 
)
inlinestatic