Skip to content

function gen_random_normal(std::reference_wrapper<random_state>, T, T) random

template <typename T, index_t Dims = 1>
KFR_FUNCTION expression_random_normal<T, Dims, true> gen_random_normal(
    std::reference_wrapper<random_state> state, T sigma = 1, T mu = 0)

Returns expression that produces normally distributed values using a referenced state.

Defined at base/random.hpp:273