Skip to content

class expression_random_range<T, Dims, Reference> random

template <typename T, index_t Dims, bool Reference = false>
struct expression_random_range : expression_traits_defaults { … }

typedef value_type

using value_type             = T

Defined at base/random.hpp:164

variable dims

constexpr static size_t dims = Dims

Defined at base/random.hpp:165

function get_shape(const expression_random_range<T, Dims, Reference> &)

constexpr static shape<dims> get_shape(const expression_random_range&) { … }

Defined at base/random.hpp:166

function get_shape()

constexpr static shape<dims> get_shape() { … }

Defined at base/random.hpp:170

variable state

mutable state_holder<random_state, Reference> state

Defined at base/random.hpp:172

variable min

T min

Defined at base/random.hpp:173

variable max

T max

Defined at base/random.hpp:174

function get_elements(const expression_random_range<T, Dims, Reference> &, shape<Dims>, axis_params<VecAxis, N>)

template <size_t N, index_t VecAxis>
friend KFR_INTRINSIC vec<T, N> get_elements(const expression_random_range& self, shape<Dims>,
                                            axis_params<VecAxis, N>)

Defined at base/random.hpp:177

Defined at base/random.hpp:162