/search.css" rel="stylesheet" type="text/css"/> /search.js">
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
uniform.hpp File Reference
#include <Random123/features/compilerfeatures.h>
#include <limits>

Go to the source code of this file.

Namespaces

 r123
 

Functions

template<typename Ftype , typename Itype >
static Ftype r123::u01 (Itype in)
 Return a uniform real value in (0, 1]. More...
 
template<typename Ftype , typename Itype >
static Ftype r123::uneg11 (Itype in)
 Return a signed value in [-1,1]. More...
 
template<typename Ftype , typename Itype >
static Ftype r123::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 > 
r123::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 > 
r123::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 > 
r123::u01fixedptall (CollType in)
 Apply u01fixedpt to every item in an r123array, returning a std::array. More...