KFR

Pseudo-random functions

gen_random_uniform

template<typename T>
inline internal::expression_random_uniform<T> gen_random_uniform(const random_bit_generator &gen)

Returns expression that returns pseudo random values

Source:

template <typename T>
inline internal::expression_random_uniform<T> gen_random_uniform(const random_bit_generator& gen)
template<typename T>
inline internal::expression_random_uniform<T> gen_random_uniform()

Returns expression that returns pseudo random values

Source:

template <typename T>
inline internal::expression_random_uniform<T> gen_random_uniform()

gen_random_range

template<typename T>
inline internal::expression_random_range<T> gen_random_range(const random_bit_generator &gen, T min, T max)

Returns expression that returns pseudo random values of the given range

Source:

template <typename T>
inline internal::expression_random_range<T> gen_random_range(const random_bit_generator& gen, T min, T max)
template<typename T>
inline internal::expression_random_range<T> gen_random_range(T min, T max)

Returns expression that returns pseudo random values of the given range

Source:

template <typename T>
inline internal::expression_random_range<T> gen_random_range(T min, T max)