Skip to content

class expression_random_normal<T, Dims, Reference> random

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

typedef value_type

using value_type             = T

Defined at base/random.hpp:187

variable dims

constexpr static size_t dims = Dims

Defined at base/random.hpp:188

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

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

Defined at base/random.hpp:189

function get_shape()

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

Defined at base/random.hpp:193

variable state

mutable state_holder<random_state, Reference> state

Defined at base/random.hpp:195

variable sigma

T sigma{ 1 }

Defined at base/random.hpp:196

variable mu

T mu{ 0 }

Defined at base/random.hpp:197

function get_elements(const expression_random_normal<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_normal& self, shape<Dims>,
                                            axis_params<VecAxis, N>)

Defined at base/random.hpp:200

Defined at base/random.hpp:185