Project Alice
Loading...
Searching...
No Matches
uniform.hpp File Reference
#include <Random123/features/compilerfeatures.h>
#include <limits>
Include dependency graph for uniform.hpp:

Go to the source code of this file.

Namespaces

namespace  r123
 

Functions

template<typename Ftype , typename Itype >
R123_CUDA_DEVICE R123_STATIC_INLINE Ftype r123::u01 (Itype in)
 Return a uniform real value in (0, 1]. More...
 
template<typename Ftype , typename Itype >
R123_CUDA_DEVICE R123_STATIC_INLINE Ftype r123::uneg11 (Itype in)
 Return a signed value in [-1,1]. More...
 
template<typename Ftype , typename Itype >
R123_CUDA_DEVICE R123_STATIC_INLINE Ftype r123::u01fixedpt (Itype in)
 Return a value in (0,1) chosen from a set of equally spaced fixed-point values. More...